diff --git a/ARGOS_service_data_converter.py b/ARGOS_service_data_converter.py index 3a8b05c..ab1d6c8 100755 --- a/ARGOS_service_data_converter.py +++ b/ARGOS_service_data_converter.py @@ -466,10 +466,10 @@ def pandas2netcdf(df=None, ofile="data.nc",isxa=True): xdf = df.rename(columns={'year_doy_hhmm':'time'}).to_xarray() try: - df['checksum'] = df['checksum'].astype(bool) + df['checksum'] = df['checksum'].astype("bool") except: pass - + #rename variables and add attributes drop_missing = True