[ncl-talk] reading ECMWF grib2 files

Jaromir Jakacki jjakacki at iopan.gda.pl
Sun Feb 28 15:27:19 MST 2016


Hi,
I do not have answer for this question - so sorry for that - i do not 
any experience with ncl. But i would like to create grib2 file from 
netcdf. Is it possible to do it using ncl?
thanks,
Jaromir




On 28/02/16 11:10, R Phani wrote:
> The file prate_ecmwrf_2000_2015_reforecast_04-02_720hrs_0.5x0.5.grb has been placed on the ucar ftp server.
>
> ncl_convert2nc also doesn't work with this file.
>
> ------------
> $ ncl_convert2nc prate_ecmwrf_2000_2015_reforecast_04-02_720hrs_0.5x0.5.grb
> Processing file: prate_ecmwrf_2000_2015_reforecast_04-02_720hrs_0.5x0.5.grb...
>   Copyright (C) 1995-2013 - All Rights Reserved
>   University Corporation for Atmospheric Research
>   NCAR Command Language Version 6.1.2
>   The use of this software is governed by a License Agreement.
>   See http://www.ncl.ucar.edu/ for more details.
> getpdstemplate: PDS Template 4.61 not defined.
> warning:Error unpacking GRIB record section 4.
> fatal:Could not open (prate_ecmwrf_2000_2015_reforecast_04-02_720hrs_0.5x0.5.grb)
> Segmentation fault (core dumped)
> -------------
>
> Why ncl_convert2nc fails for ECMWF grb2 files?
>
> Phani.
>
> ----- Original Message -----
> From: "R Phani" <rphani at tropmet.res.in>
> To: "NCL" <ncl-talk at ucar.edu>
> Sent: Saturday, February 27, 2016 11:06:57 AM
> Subject: reading ECMWF grib2 files
>
> Hi,
>
> I am having problems in opening the S2S ECMWF files with NCL.
>
> $ module load GNU-ncl/6.3.0
> $ ncl
>   Copyright (C) 1995-2015 - All Rights Reserved
>   University Corporation for Atmospheric Research
>   NCAR Command Language Version 6.3.0
>   The use of this software is governed by a License Agreement.
>   See http://www.ncl.ucar.edu/ for more details.
> ncl 0> f=addfile("S2S/prate_ecmwrf_2000_2015_reforecast_04-02_720hrs_0.5x0.5.grb","r")
> getpdstemplate: PDS Template 4.61 not defined.
> warning:Error unpacking GRIB record section 4.
> ncl 1> quit
> $ module load GNU-ncl/6.2.0
> $ ncl
>   Copyright (C) 1995-2014 - All Rights Reserved
>   University Corporation for Atmospheric Research
>   NCAR Command Language Version 6.2.0
>   The use of this software is governed by a License Agreement.
>   See http://www.ncl.ucar.edu/ for more details.
> ncl 0> f=addfile("S2S/prate_ecmwrf_2000_2015_reforecast_04-02_720hrs_0.5x0.5.grb","r")
> getpdstemplate: PDS Template 4.61 not defined.
> warning:Error unpacking GRIB record section 4.
> fatal:Could not open (S2S/prate_ecmwrf_2000_2015_reforecast_04-02_720hrs_0.5x0.5.grb)
>
>
> How to get/install PDS Template 4.61?
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk



More information about the ncl-talk mailing list