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
GRIB2 to ARL with Eccodes
-
- Posts: 31
- Joined: August 17th, 2018, 12:36 pm
- Registered HYSPLIT User: Yes
-
- Posts: 451
- Joined: November 9th, 2012, 4:23 pm
- Registered HYSPLIT User: Yes
Re: GRIB2 to ARL with Eccodes
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.
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.
-
- Posts: 31
- Joined: August 17th, 2018, 12:36 pm
- Registered HYSPLIT User: Yes
Re: GRIB2 to ARL with Eccodes
Hi,
thank you for your reply.
Where can I find instructions for converting GRIB2 files to ARL using eccodes?
Thanks
Fabio
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
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.
The only difference is that it is compiled to use the eccodes libraries rather than the grib-api libraries.
-
- Posts: 31
- Joined: August 17th, 2018, 12:36 pm
- Registered HYSPLIT User: Yes
Re: GRIB2 to ARL with Eccodes
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
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
-
- Posts: 31
- Joined: August 17th, 2018, 12:36 pm
- Registered HYSPLIT User: Yes
Re: GRIB2 to ARL with Eccodes
Any suggestion?
Thank you
Fabio
Thank you
Fabio
Re: GRIB2 to ARL with Eccodes
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.
It is difficult to trouble shoot compilation issues on other people's systems.
Please check with your system administrator if you are able to.