Skip to content

Commit

Permalink
interpolate_gdds.py: Syntax fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsrabin committed Jul 25, 2024
1 parent 4ab30a5 commit aeb4182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ctsm/crop_calendars/interpolate_gdds.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def interpolate_gdds(args):
if "lat" not in ds_in[var].dims and "lon" not in ds_in[var].dims:
print(f"Skipping variable {var} with dimensions {ds_in[var].dims}")
continue
if not re.compile("^" + args.variable_prefix).match(var)
if not re.compile("^" + args.variable_prefix).match(var):
print(f"Unexpected variable {var} on input file. Skipping.")
continue
if args.dry_run:
Expand Down

0 comments on commit aeb4182

Please sign in to comment.