[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #IOX-617519]: Question sur IDV



Bonjour,

The issue here is there are GRIB records from multiple reference dates/times in
those files resulting in more than one time coordinate. The IDV Field Selector
does not handle multiple time coordinates. Older versions of the IDV (<= 5.0)
ignored multiple time coordinates in collections of GRIB records with different
reference times being stored in a single file, and only showed records from the
first reference date/time it encountered. Therefore, in IDV <= 5.0, it worked
somewhat by accident.

The GRIB files have three reference times:

20180115T0000, 20180115T0600, and 20180115T1200.

In order to get the IDV to work with these data, you will need to split out the
records into three GRIB files - one for each reference time. This can be done
using the command line program grib_filter from ecCodes
(https://software.ecmwf.int/wiki/display/ECC/GRIB+tools). grib_filter from
ecCodes can be installed with the conda package management system, by the way.

For example, here is what I did:

1. Create a directory to hold the data.

2. Create a rule file (e.g., call it "rule") with the following line:

write "./split_data/[centre]_[dataDate]_[dataTime].grib[editionNumber]";

3. Create a subdirectory called split_data.

4. Run the following command:

grib_filter rule PA_EURAT01_1801181020767666.KEYu1ud12dvv3Dud0UOAd0f.grib 
PA_EURAT01_1801181026767671.KEYu1vBfA2vvDdud0ADff21.grib 

This will result in three GRIB files (one for each reference time).

The directory structure will look something like this when finished:

 .
|-- PA_EURAT01_1801181020767666.KEYu1ud12dvv3Dud0UOAd0f.grib
|-- PA_EURAT01_1801181026767671.KEYu1vBfA2vvDdud0ADff21.grib
|-- rule
`-- split_data
    |-- lfpw_20180115_0000.grib1
    |-- lfpw_20180115_0600.grib1
    `-- lfpw_20180115_1200.grib1


The IDV will open and work with any of the three files created by grib_filter.

I've attached a zip file of this directory as an example.

Many thanks to our Unidata colleague Sean Arms for helping us with this issue.

Cordialement,

Unidata IDV Support

> Bonjour,
> 
> Le "upload" sur Support Upload a échoué : message="An error has
> occurred: 550 5.1.1 <address@hidden>: Recipient address
> rejected: User unknown in local recipient table"
> 
> Voici les fichiers grib qui nous posent problème sur IDV V5.2, suite à
> ticket n°IOX-617519.
> 
> Cordialement


Ticket Details
===================
Ticket ID: IOX-617519
Department: Support IDV
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.

Attachment: grib.zip
Description: Zip archive