ERA-Interim Reanalysis (Gaussian Grid) to ARL format

Post questions and find resources to convert meteorological data into a format HYSPLIT can read.
Post Reply
fritz
Posts: 1
Joined: January 17th, 2014, 7:16 pm
Registered HYSPLIT User: Yes

ERA-Interim Reanalysis (Gaussian Grid) to ARL format

Post by fritz »

Hello,

I have been unsuccessful at converting ERA-Interim GRIB-1 files containing a reduced Gaussian Grid (N128) to the needed ARL format. I understand that three separate files (3D, 2D, and Invariant) are needed for the conversion, so I downloaded each file accordingly. However, when attempting the conversion, I received the following application error:

108
108
while executing
"exec $exec_dir/grib2arl $arg1 $arg2 $arg3 $arg4 $arg9 $arg5 $arg6 $arg7 $arg8 >STDOUT"
(procedure "xtrct_data" line 55)
invoked from within
"xtrct_data "
invoked from within
".eraarch.bot.save invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tk::ButtonUp" line 23)
invoked from within
"tk::ButtonUp .eraarch.bot.save"
(command bound to event)

This error wasn't much help. So, I did a check with a similar dataset containing a different spatial coordinate system (i.e. Latitude/Longitude) of 0.75deg x 0.75deg acquired from the ECMWF server and was able to successfully convert the GRIB-1 files to the needed ARL format. Thus, I was curious as to why I am unable to convert the ERA-Interim GRIB-1 files to ARL using the N128 Gaussian-Grid? Is Hysplit4 unable to convert data to the ARL format given different spatial coordinate systems (or is it possibly a matter of spatial resolution)?
ariel.stein
Posts: 660
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes

Re: ERA-Interim Reanalysis (Gaussian Grid) to ARL format

Post by ariel.stein »

In your DOS window try the following command:

grib2arl -i3d.grib -y60 -x80 -g3 -p0 -k25 -s2d.grib -cinvariant.grib

where 3d.grib, 2d.grib and invariant.grib are the 3D, 2D, and invariant grib files extracted from the ERA-Interim repository.
kto031
Posts: 25
Joined: February 20th, 2014, 3:05 pm
Registered HYSPLIT User: Yes

Re: ERA-Interim Reanalysis (Gaussian Grid) to ARL format

Post by kto031 »

I am also having problem with the conversion from ERA-interim to ARL.

[ktofte@yslogin5 exec]$ ./grib2arl -i3D.grb -s2D.grb -cinvariate.grb
108

What does error 108 mean?

Help is greatly appreciated!

-Kristine
ariel.stein
Posts: 660
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes

Re: ERA-Interim Reanalysis (Gaussian Grid) to ARL format

Post by ariel.stein »

The program should create a MESSAGE file where you have more information about the error. However, the grib2arl program does not support a gaussian grid. Having said that, it would be very useful for our user community if you can modify the code to be able to deal with Gaussian grids and share it with us.
kto031
Posts: 25
Joined: February 20th, 2014, 3:05 pm
Registered HYSPLIT User: Yes

Re: ERA-Interim Reanalysis (Gaussian Grid) to ARL format

Post by kto031 »

I will give it a try, but for now I used this method: cdo remapbil,r720x360 {ifile} {ofile}

Thank you very much for helping!!

-Kristine
Post Reply

Return to “Conversion programs”