C function Rsx_nc4_put_vara_double returned error

Dear all,

I am running a model with multiple data from Global Climate models and i am facing the fellowing error for some models. Error in ncvar_put(output.nc, varname, vals = rv, start = c(1, 1, i0), : C function Rsx_nc4_put_vara_double returned error

I have tried to change the grid type to lonlat and re write the netcdf in R but i am getting the same error.
i am not sure whats going on and its been days.

netcdf Models {
dimensions:
        time = UNLIMITED ; // (730 currently)
        lon = 192 ;
        bnds = 2 ;
        lat = 144 ;
variables:
        double time(time) ;
                time:standard_name = "time" ;
                time:long_name = "time" ;
                time:units = "days since 1981-1-1 00:00:00" ;
                time:calendar = "proleptic_gregorian" ;
                time:axis = "T" ;
        double lon(lon) ;
                lon:standard_name = "longitude" ;
                lon:long_name = "Longitude" ;
                lon:units = "degrees_east" ;
                lon:axis = "X" ;
                lon:bounds = "lon_bnds" ;
        double lon_bnds(lon, bnds) ;
        double lat(lat) ;
                lat:standard_name = "latitude" ;
                lat:long_name = "Latitude" ;
                lat:units = "degrees_north" ;
                lat:axis = "Y" ;
                lat:bounds = "lat_bnds" ;
        double lat_bnds(lat, bnds) ;
        float pr(time, lat, lon) ;
                pr:standard_name = "precipitation_flux" ;
                pr:long_name = "Precipitation" ;
                pr:units = "kg m-2 s-1" ;
                pr:_FillValue = 1.e+20f ;
                pr:missing_value = 1.e+20f ;
                pr:comment = "includes both liquid and solid phases" ;
                pr:cell_methods = "area: time: mean" ;
                pr:cell_measures = "area: areacella" ;
                pr:history = "2019-11-09T02:20:30Z altered by CMOR: replaced missing value flag (-1.07374e+09) with standard missing value (1e+20)." ;

Best regards,

Solomon

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.