You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print(f'ERROR: File {ncfname} not found', file=sys.stderr)
sys.exit(1)
Since the inputs for the class come from command line arguments (parsed through argparse in the hres_ic.py), it would be best to move all input argument's sanity check within a "parse_argument" function to:
fail fast (at the beginning of the parent script)
improve testing
clear up code and group similar functionality all in one place
The text was updated successfully, but these errors were encountered:
In the code there are several lines in which sanity check of inputs take place.
For example in the
bounding_box
class:replace_landsurface/src/replace_landsurface_with_ERA5land_IC.py
Lines 59 to 78 in 2dcc1d7
or
replace_landsurface/src/replace_landsurface_with_ERA5land_IC.py
Lines 81 to 85 in 2dcc1d7
Since the inputs for the class come from command line arguments (parsed through
argparse
in the hres_ic.py), it would be best to move all input argument's sanity check within a "parse_argument" function to:The text was updated successfully, but these errors were encountered: