problem when transfering from grib format to netcdf
Added by Delei Li about 11 years ago
Hi all,
I am trying to transfer a file with grib format to netcdf format, the file is attached. The command I used is: cdo -R -r -f nc copy 2006022000.grb 2006022000.nc
The error is: Error (cdfDefGrid) : Unsupported grid type: lcc. Does anyone know how to solve this problem?
Thanks very much in advance.
Best regards
2006022000.grb (4.96 MB) 2006022000.grb |
Replies (4)
RE: problem when transfering from grib format to netcdf - Added by Jaison-Thomas Ambadan about 11 years ago
try the NCL utility: "ncl_convert2nc 2006022000.grb"
apparently CDO cannot convert your GRIB since the grid type is unsupported (Lambert Conformal projection)
Cheers,
J
RE: problem when transfering from grib format to netcdf - Added by Uwe Schulzweida about 11 years ago
The Lambert Conformal projection can be converted to geographical coordinates on a curvilinear grid:
cdo -f nc setgridtype,curvilinear file.grb file.ncThe NCL utility ncl_convert2nc does the same conversion.
RE: problem when transfering from grib format to netcdf - Added by Delei Li about 11 years ago
Very nice, it works. Thank you very much
Regards,
Delei
Jaison-Thomas Ambadan wrote:
try the NCL utility: "ncl_convert2nc 2006022000.grb"
apparently CDO cannot convert your GRIB since the grid type is unsupported (Lambert Conformal projection)
Cheers,
J
RE: problem when transfering from grib format to netcdf - Added by Delei Li about 11 years ago
It also works, thank you very much.
Regards,
Delei
Uwe Schulzweida wrote:
The Lambert Conformal projection can be converted to geographical coordinates on a curvilinear grid:
[...]The NCL utility ncl_convert2nc does the same conversion.