Re: Error getting variable from NNRP data

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Mon Sep 09 2013 - 12:29:14 MDT

Hi Cecille,
In version 6.1.0, the '_10' suffix was removed from GRIB1 variable names. The suffix was unnecessary and its removal was forced by the fact that some variables were being unnaturally split in two separate variables because only some of the time steps have the attribute that caused the '_10' to be added. You will need to edit the script to remove the '_10' from the name.

Here is the description of the change from the "what's new" doc for 6.1.0:

GRIB1 changes
Time range indicator 10, which indicates that time parameter P1 occupies 2 bytes, is now treated the same as time range indicator 0 for the purposes of generating the forecast time dimension. This means that GRIB1 variable names that used to have '_10' appended no longer will. And, in a very small number of cases, two forecast time dimensions may be concatenated into a single dimension that is the union of the two.

We always try to avoid even small backwards-incompatible changes, but sometimes it cannot be helped.

On Sep 9, 2013, at 9:24 AM, Cecille Villanueva <> wrote:

> Hello,
> I am trying to rerun a script that used to work perfectly before but now is giving me an error when trying to get a variable from an NNRP data file. The error that I get is
> (0) file=pgb.f0077053000.grb
> fatal:["Execute.c":5773]:variable (TMP_2_ISBL_10) is not in file (f)
> fatal:["Execute.c":7743]:Execute: Error occurred at or near line 43 in file meanfields.ncl
> The NNRP dataset has not changed since the ncl script was run when it used to work. I have attached the ncl script. Please let me know if you need me to provide the NNRP data file.
> Thanks,
> Cecille
> <meanfields.ncl>
>> ********************************************************
>> Cecille M. Villanueva Birriel
>> Ph.D. Candidate
>> Cloud Microphysics Research Group
>> Purdue University
>> Department of Earth, Atmospheric, & Planetary Sciences
>> 550 Stadium Mall Drive, West Lafayette, IN 47907-2051
>> email:
>> ********************************************************
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Mon Sep 9 12:29:26 2013

This archive was generated by hypermail 2.1.8 : Mon Sep 16 2013 - 13:43:52 MDT