From 6d10f814ca34bbe553c97453aef77e065ee40d08 Mon Sep 17 00:00:00 2001 From: shaunwbell Date: Tue, 10 Dec 2024 14:23:09 -0800 Subject: [PATCH] Update ARGOS_service_data_converter.py force checksum --- ARGOS_service_data_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ARGOS_service_data_converter.py b/ARGOS_service_data_converter.py index 7154aa8..fb2fa4f 100755 --- a/ARGOS_service_data_converter.py +++ b/ARGOS_service_data_converter.py @@ -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")