[ncl-talk] reading ECMWF grib2 files

R Phani rphani at tropmet.res.in
Sun Feb 28 03:10:16 MST 2016


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?


More information about the ncl-talk mailing list