Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AossCeilo
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MetObs
AossCeilo
Commits
5412a2de
Verified
Commit
5412a2de
authored
11 months ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused site argument in NC creation
parent
26aa30e0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aossceilo/level_b1/nc.py
+2
-6
2 additions, 6 deletions
aossceilo/level_b1/nc.py
with
2 additions
and
6 deletions
aossceilo/level_b1/nc.py
+
2
−
6
View file @
5412a2de
...
...
@@ -18,11 +18,8 @@ def _get_value(var, value):
)
def
create_nc
(
input_files
,
out_files
,
site
=
None
):
def
create_nc
(
input_files
,
out_files
):
"""
Create one or more NetCDF files for given input files.
"""
if
site
is
None
:
site
=
"
aoss_ceilo
"
messages
=
message
.
load_messages
(
map
(
os
.
path
.
realpath
,
input_files
))
# raise FileNotFoundError(f"{messages} No messages were found in the input files")
...
...
@@ -360,10 +357,9 @@ def main():
)
parser
.
add_argument
(
"
input
"
,
type
=
str
,
nargs
=
"
+
"
,
help
=
"
ASCII filepaths
"
)
parser
.
add_argument
(
"
-o
"
,
"
--output-files
"
,
nargs
=
"
+
"
,
help
=
"
output file paths
"
)
parser
.
add_argument
(
"
-s
"
,
"
--site
"
,
help
=
"
site of ascii file
"
)
args
=
parser
.
parse_args
()
return
create_nc
(
args
.
input
,
args
.
output_files
,
site
=
args
.
site
)
return
create_nc
(
args
.
input
,
args
.
output_files
)
if
__name__
==
"
__main__
"
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment