Conversion from GRID1 to ARL

General questions and postings pertaining to the use of HYSPLIT regardless of the platform. For platform specific questions, use the HYSPLIT Platform forums.
Post Reply
fppiguet
Posts: 6
Joined: June 18th, 2018, 9:25 am
Registered HYSPLIT User: Yes

Conversion from GRID1 to ARL

Post by fppiguet » June 20th, 2018, 9:47 am

Hi,
Thank you for hysplit which is a useful tool.
I would like to convert a GRIB1 file into an ARL one. The GRIB1 starts at 12.00 and ends at 12.00 the next day (24h). It has a resolution of 2 km and weights 1.49 Go. It is limited to the ‘control’ part of the file, that is to say to 1 of the 21 fields of the GRIB1. It has not been issued by the NOAA.

I tried different strategies, for instance: ‘convert to ARL/NARR archive’, but the message is ‘Missing file: /users/fppp/hysplit4/narr-a_221_20170426_000_00.grb . . .’ then: ‘Missing file: /users/fppp/hysplit4/narr-a_221_20170426_010_00.grb . . .’ and so on to the 23th hour.

So my questions:
Is it correct to limit the GRIB1 to the field “control” when converting it to ARL?
What would be the correct way to convert such kind of file?

I thank you warmly in advance for your answer.

Frédéric
Attachments
Grib1_first_lines.png
The first lines of the GRIB1 file are:

Fantine
Posts: 63
Joined: November 8th, 2012, 3:41 pm

Re: Conversion from GRID1 to ARL

Post by Fantine » June 21st, 2018, 10:40 am

There are converters for different met data listing on the tutorial page: https://ready.arl.noaa.gov/documents/Tu ... cnvrt.html
Even though some of them (such as NARR, Global lat-lon, and ERA-40) are in GRIB1 format, they have their own converter because variable names, header info, and file arrangements in the data may be different.
You may need to modify a conversion program to make it work with your GRIB1 file. Example converters for GRIB1 files can be found in ~/data2arl/api2arl directory.

fppiguet
Posts: 6
Joined: June 18th, 2018, 9:25 am
Registered HYSPLIT User: Yes

Re: Conversion from GRID1 to ARL

Post by fppiguet » June 27th, 2018, 7:09 am

Many thanks for your reply.
I followed your counsel.
It seems to me that /data2arl/api2arl is convenient to convert GRIB2 into ARL. Conversion from GRIB1 to ARL seems to be found only when following /data2arl/era52arl.
Please, let me know if I am wrong.
Again, thank you very much for your help.
fppiguet

Fantine
Posts: 63
Joined: November 8th, 2012, 3:41 pm

Re: Conversion from GRID1 to ARL

Post by Fantine » June 28th, 2018, 10:18 am

Both api2arl and era52arl are dealing with GRIB format files. It is okay to start with era52arl if you see it fit better.

fppiguet
Posts: 6
Joined: June 18th, 2018, 9:25 am
Registered HYSPLIT User: Yes

Re: Conversion from GRID1 to ARL

Post by fppiguet » July 11th, 2018, 6:20 am

Many thanks

xinxuAdia
Posts: 6
Joined: November 13th, 2018, 5:44 am
Registered HYSPLIT User: No

Re: Conversion from GRID1 to ARL

Post by xinxuAdia » November 13th, 2018, 6:10 am

Hello, have you successfully run the era52arl? I am also testing this conversion tool now but meet some error. Can I ask you one question about it? :D

fppiguet
Posts: 6
Joined: June 18th, 2018, 9:25 am
Registered HYSPLIT User: Yes

Re: Conversion from GRID1 to ARL

Post by fppiguet » November 14th, 2018, 5:45 am

No. Instead of working with Grib, we finally decided to work with gfs0p25 meteo files at: ftp://arlftp.arlhq.noaa.gov/archives/gfs0p25

Post Reply