Skip to content

Commit

Permalink
Correct a variable name that came in with a merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
slevis-lmwg committed Nov 12, 2024
1 parent e578ae7 commit bd51b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ctsm/crop_calendars/generate_gdds_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def import_and_process_1yr(
log(logger, " Importing accumulated GDDs...")
clm_gdd_var = "GDDACCUM"
myVars = [clm_gdd_var, "GDDHARV"]
patterns = [f"*h2.{thisYear-1}-01*.nc", f"*h2.{thisYear-1}-01*.nc.base"]
patterns = [f"*h2.{this_year-1}-01*.nc", f"*h2.{this_year-1}-01*.nc.base"]
for p in patterns:
pattern = os.path.join(indir, p)
h2_files = glob.glob(pattern)
Expand Down

0 comments on commit bd51b8c

Please sign in to comment.