Skip to content
Snippets Groups Projects
Verified Commit 5412a2de authored by David Hoese's avatar David Hoese
Browse files

Remove unused site argument in NC creation

parent 26aa30e0
No related branches found
No related tags found
No related merge requests found
......@@ -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__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment