File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,16 @@ def make_bcs_ease(config):
2929 return
3030
3131 grid_type = config ['grid_type' ]
32+ resolution = config ['resolution' ]
33+ GRIDNAME = grid_type + '_' + resolution
34+
3235 if 'EASEv' not in grid_type :
3336 print (" " )
3437 print ("******************************************************************" )
3538 print ("ERROR: " + GRIDNAME + " is not an EASE grid. " )
3639 print ("******************************************************************" )
3740 return
3841
39- resolution = config ['resolution' ]
40-
4142 # if resolution is M01 in EASEv1 or EASEv2, do not execute
4243 # Instead, exist and print an on-screen message to the user
4344 if resolution == "M01" :
@@ -50,7 +51,6 @@ def make_bcs_ease(config):
5051 print (" " )
5152 return
5253
53- GRIDNAME = grid_type + '_' + resolution
5454 now = datetime .now ()
5555 tmp_dir = now .strftime ("%Y%m%d%H%M%S" )
5656 tmp_dir = f"{ resolution } _{ tmp_dir } "
You can’t perform that action at this time.
0 commit comments