File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
python/ctsm/crop_calendars Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -280,13 +280,13 @@ def import_and_process_1yr(
280280 chunks = None
281281
282282 # Get h1 file (list)
283- h1_pattern = os .path .join (indir , "*h1a .*.nc" )
283+ h1_pattern = os .path .join (indir , "*h1i .*.nc" )
284284 h1_filelist = glob .glob (h1_pattern )
285285 if not h1_filelist :
286- h1_pattern = os .path .join (indir , "*h1a .*.nc.base" )
286+ h1_pattern = os .path .join (indir , "*h1i .*.nc.base" )
287287 h1_filelist = glob .glob (h1_pattern )
288288 if not h1_filelist :
289- error (logger , "No files found matching pattern '*h1a .*.nc(.base)'" )
289+ error (logger , "No files found matching pattern '*h1i .*.nc(.base)'" )
290290
291291 # Get list of crops to include
292292 if skip_crops is not None :
@@ -566,7 +566,7 @@ def import_and_process_1yr(
566566 log (logger , " Importing accumulated GDDs..." )
567567 clm_gdd_var = "GDDACCUM"
568568 my_vars = [clm_gdd_var , "GDDHARV" ]
569- patterns = [f"*h2a .{ this_year - 1 } -01*.nc" , f"*h2a .{ this_year - 1 } -01*.nc.base" ]
569+ patterns = [f"*h2i .{ this_year - 1 } -01*.nc" , f"*h2i .{ this_year - 1 } -01*.nc.base" ]
570570 for pat in patterns :
571571 pattern = os .path .join (indir , pat )
572572 h2_files = glob .glob (pattern )
You can’t perform that action at this time.
0 commit comments