Project

General

Profile

Warning (cdfInqContents) : time variable not found!

Added by Anonymous over 13 years ago

Dear Ralf and All,

I would like to operate my netcdf data using cdo operator. But I got the error massage "Warning (cdfInqContents) : time variable not found!".
I used "ncdump -h test3.nc" to see my netcdf header file and I found that it have no "time" variable in my netcdf file.
How I could fix this problem?. Attached file is my netcdf file.

Could you please help me figure out this error?.

Thank you so much,
-Chakrit

test3.nc (4.67 MB) test3.nc

Replies (4)

RE: Warning (cdfInqContents) : time variable not found! - Added by Ralf Mueller over 13 years ago

Hi,
your file does not contain a time variable, only a time dimension. Someting like this

double time(time) ;
                time:long_name = "time" ;
                time:units = "day since 1978-01-01 12:00:00" ;
                time:calendar = "gregorian" ;

should apear in you data. You might have a look at the CF-Convections for netcdf files, too.

regards
ralf

RE: Warning (cdfInqContents) : time variable not found! - Added by Uwe Schulzweida over 13 years ago

The support for netCDF output from WRF model will be improved in the next CDO release, see #615.
The new CDO release will read your netCDF file without any changes, also if it is not fully conform to the CF netCDF convention

Regards,
Uwe

RE: Warning (cdfInqContents) : time variable not found! - Added by Anonymous over 13 years ago

Thank you Ralf and Uwe so much for your informations. You both alright, my data is WRF output file.
I would like to analyze wrf netcdf output by CDO. Unfortunately, I could not right now. However, I looking for the new CDO release which will read wrfout data file without any changes.

Regards,
Chakrit

    (1-4/4)