Page 1 of 1

GRIB2 to ARL with Eccodes

Posted: March 25th, 2019, 7:25 pm
by Fabio.Dioguardi
Hi,

is it possible to convert GRIB2 files to ARL using Eccodes instead of grib-api?
I would like to use the GFS 0.25 degrees 1-hourly data. I am aware of this: ftp://arlftp.arlhq.noaa.gov/archives/gfs0p25/. However, I think this is 3-hourly and refers to the 00z run only, unless I am wrong.

Thanks
Regards
Fabio

Re: GRIB2 to ARL with Eccodes

Posted: April 1st, 2019, 8:43 am
by barbara.stunder
Yes, hysplit was changed with repository version 911 to use ecCodes.

The GFS 0.25 is 3-hourly. It contains the 0 and 3-hour forecasts from each cycle: 00z, 06z, 12z, and 18z, unless any of the cycles are missing, and then it contains only 00z cycle output. With the next HYSPLIT upgrade at NCEP, possibly in Summer 2019, the 3-hourly GFS 0.25 files will be created operationally, and so there should be nearly no missing cycles.

Re: GRIB2 to ARL with Eccodes

Posted: April 3rd, 2019, 6:03 am
by Fabio.Dioguardi
Hi,

thank you for your reply.
Where can I find instructions for converting GRIB2 files to ARL using eccodes?

Thanks
Fabio

Re: GRIB2 to ARL with Eccodes

Posted: April 8th, 2019, 9:36 am
by alicec
The new version of api2arl uses eccodes. However the functionality of api2arl has not changed.
The only difference is that it is compiled to use the eccodes libraries rather than the grib-api libraries.

Re: GRIB2 to ARL with Eccodes

Posted: April 15th, 2019, 5:05 am
by Fabio.Dioguardi
Hi,

I am using the Linux version, which does not seem to have a pre-compiled api2arl. So I am trying to compile using "Makefile" in the folder /hysplit_ubuntu/data2arl/api2arl. I have amended the "top_builddir" variable in the Makefile script so to link my local installation of eccodes. However, when running make, I receive this error message:

[vulcanomod@bgskwcluster1 api2arl]$ make
gfortran -I/home/vulcanomod/eccodes/include -g -O2 -fconvert=big-endian -frecord-marker=4 -ffree-form -c -o api2arl_v4.o api2arl_v4.f
f951: Fatal Error: Reading module ‘eccodes’ at line 1 column 2: Unexpected EOF
compilation terminated.
make: *** [api2arl_v4.o] Error 1


Not sure what it is...

Thanks
Fabio

Re: GRIB2 to ARL with Eccodes

Posted: May 23rd, 2019, 5:33 am
by Fabio.Dioguardi
Any suggestion?

Thank you
Fabio

Re: GRIB2 to ARL with Eccodes

Posted: May 23rd, 2019, 11:40 am
by alicec
One thing to check is that your eccodes compilation used the same fortran compiler as the HYSPLIT distribution.
It is difficult to trouble shoot compilation issues on other people's systems.
Please check with your system administrator if you are able to.