Skip to content
Snippets Groups Projects
Commit 494f4990 authored by Paolo Veglio's avatar Paolo Veglio
Browse files

modified entrypoint to add debug option

parent 75e61e48
No related branches found
No related tags found
No related merge requests found
Pipeline #47201 failed with stage
in 1 minute and 13 seconds
...@@ -73,9 +73,8 @@ if __name__ == "__main__": ...@@ -73,9 +73,8 @@ if __name__ == "__main__":
# version=_VERSION, # version=_VERSION,
# help="print version and exit", # help="print version and exit",
# ) # )
parser.add_argument( parser.add_argument("-v", "--verbose", action="store_true", help="print verbose information")
"-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() args = parser.parse_args()
...@@ -97,6 +96,7 @@ if __name__ == "__main__": ...@@ -97,6 +96,7 @@ if __name__ == "__main__":
eco_file = args.eco or _eco_file eco_file = args.eco or _eco_file
out_file = args.out or "test_out.nc" out_file = args.out or "test_out.nc"
verbose = args.verbose or False verbose = args.verbose or False
debug = args.debug or False
main( main(
satellite=satellite, satellite=satellite,
...@@ -117,4 +117,5 @@ if __name__ == "__main__": ...@@ -117,4 +117,5 @@ if __name__ == "__main__":
eco_file=eco_file, eco_file=eco_file,
out_file=out_file, out_file=out_file,
verbose=verbose, verbose=verbose,
debug=debug,
) )
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