Skip to content

Commit

Permalink
Update ARGOS_service_data_converter.py
Browse files Browse the repository at this point in the history
force checksum
  • Loading branch information
shaunwbell committed Dec 10, 2024
1 parent b722fa3 commit 6d10f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ARGOS_service_data_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def pandas2netcdf(df=None, ofile="data.nc",isxa=True):

xdf.to_netcdf(ofile,
format='NETCDF3_CLASSIC',
encoding={'time':{'units':'days since 1900-01-01'}})
encoding={'time':{'units':'days since 1900-01-01'},'checksum':{"dtype":"bool"}})
else:
df["time"] = [
date2num(x[1], "hours since 1900-01-01T00:00:00Z")
Expand Down

0 comments on commit 6d10f81

Please sign in to comment.