Skip to content

Commit

Permalink
Update create_climo_files.py
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-richling committed Feb 14, 2025
1 parent 0021da6 commit 964fc8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/averaging/create_climo_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ def process_variable(adf, ts_files, syr, eyr, output_file):
cam_climo_data = cam_climo_data.assign_attrs(attrs_dict)

#Output variable climatology to NetCDF-4 file:
print("output_file",output_file)
cam_climo_data.to_netcdf(output_file, format='NETCDF4', encoding=enc)
return 1 # All funcs return something. Could do error checking with this if needed.

Expand Down

0 comments on commit 964fc8d

Please sign in to comment.