diff --git a/entrypoint.py b/entrypoint.py index 6056712cb04eba5929b2a896f00f3a60555a008c..cd123198d40a75565a4a042775db3dc903ab06a3 100644 --- a/entrypoint.py +++ b/entrypoint.py @@ -73,9 +73,8 @@ if __name__ == "__main__": # version=_VERSION, # help="print version and exit", # ) - parser.add_argument( - "-v", "--verbose", action="store_true", help="print verbose information" - ) + parser.add_argument("-v", "--verbose", action="store_true", help="print verbose information") + parser.add_argument("-d", "--debug", action="store_true", help="activate debug mode") args = parser.parse_args() @@ -97,6 +96,7 @@ if __name__ == "__main__": eco_file = args.eco or _eco_file out_file = args.out or "test_out.nc" verbose = args.verbose or False + debug = args.debug or False main( satellite=satellite, @@ -117,4 +117,5 @@ if __name__ == "__main__": eco_file=eco_file, out_file=out_file, verbose=verbose, + debug=debug, )