diff --git a/ARGOS_service_data_converter.py b/ARGOS_service_data_converter.py index b86b6f8..dfdfb2c 100755 --- a/ARGOS_service_data_converter.py +++ b/ARGOS_service_data_converter.py @@ -483,7 +483,7 @@ def pandas2netcdf(df=None, ofile="data.nc",isxa=True): #xarray casting issue? for var in xdf.variables: if xdf[var].dtype == 'float64': - xdf[var] = xdf[var].astype('float') + xdf[var] = xdf[var].astype('int') #global attributes xdf.attrs["CREATION_DATE"] = datetime.now(timezone.utc).strftime("%B %d, %Y %H:%M UTC")