Project

General

Profile

How to suppress conversion of the time axis variable?

Added by Takeshi Enomoto almost 5 years ago

I would like to suppress the conversion of the time axis variable with cdo select.

Specifically, JMA operational global forecast (converted with ncl_convert2c, grib_to_netcdf didn't work) has the following time axis.

        int forecast_time0(forecast_time0) ;
                forecast_time0:units = "hours" ;
                forecast_time0:long_name = "Forecast offset from initial time" ;

When I select variables (cdo select,name=...), forecast_time0 is divided by 24.
    double forecast_time0(forecast_time0) ;
        forecast_time0:standard_name = "time" ;
        forecast_time0:long_name = "Forecast offset from initial time" ;
        forecast_time0:units = "hours" ;
        forecast_time0:calendar = "proleptic_gregorian" ;
        forecast_time0:axis = "T" ;

A possible work around would be to multiply forecast_time0 by 24.


Replies (1)

    (1-1/1)