I want to convert my .nc (tas_Amon_HadGEM2-ES_historical_r1i1p1_185912-188411) into grib data
Added by jyoti lodha over 6 years ago
Hi
I am getting a error while converting .nc file to grib file. :
I have issued the following command :
jyoti@jyoti-HP-Pavilion-Notebook:/usr/share/doc/cdo/jyo$ *cdo -b 16 -f grb copy india.nc file.grb
*my error is__
!!! grib_set_string( grib_handle* h, "cfName", "air_temperature") !!!
Warning (gribapiDefParam) : grib_api: No match for cfName=air_temperature
GRIB_API ERROR : concept: no match for shortName=tas
!!! grib_set_string( grib_handle* h, "shortName", "tas") !!!
Warning (gribapiDefParam) : grib_api: No match for shortName=tas
cdo copy: Processed 255000 values from 1 variable over 600 timesteps ( 0.19s )
Kindly please help me to solve it. I have attached my file india.nc
error_netcdf_grib.png (416 KB) error_netcdf_grib.png | error screenshot | ||
india.nc (1010 KB) india.nc | netcdf file |
Replies (31)
RE: I want to convert my .nc (tas_Amon_HadGEM2-ES_historical_r1i1p1_185912-188411) into grib data - Added by jyoti lodha over 6 years ago
I think we should use this: cdo -b 16 -f grb2 copy -chname,tas,t india.nc file.grb2
RE: I want to convert my .nc (tas_Amon_HadGEM2-ES_historical_r1i1p1_185912-188411) into grib data - Added by Ralf Mueller over 6 years ago
sry, I cannot comment on that error. I dont see any DRS-type used in the file (using grib_dump
) and dont know, what software you are using for opening the file.
RE: I want to convert my .nc (tas_Amon_HadGEM2-ES_historical_r1i1p1_185912-188411) into grib data - Added by jyoti lodha over 6 years ago
I am using Panoply software to open this file, ones u please convert it by using this command: cdo -b 16 -f grb2 copy -chname,tas,t india.nc file.grb2 . It might open and will be helpful.
RE: I want to convert my .nc (tas_Amon_HadGEM2-ES_historical_r1i1p1_185912-188411) into grib data - Added by Ralf Mueller over 6 years ago
ok, no problem
looks like this
i-b16.grb2 (603 KB) i-b16.grb2 | |||
Temperature_surface.png (122 KB) Temperature_surface.png |
RE: I want to convert my .nc (tas_Amon_HadGEM2-ES_historical_r1i1p1_185912-188411) into grib data - Added by jyoti lodha over 6 years ago
Thanks for the reply, I am glad that u took a lot of pain in solving my problem , I will work on it further ,if I get stuck I will ask u later. Thanks again.
- « Previous
- 1
- 2
- Next »