Page 1 of 1

ERA-Interim Reanalysis (Gaussian Grid) to ARL format

Posted: January 17th, 2014, 8:03 pm
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)?

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

Posted: January 22nd, 2014, 1:29 pm
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.

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

Posted: April 27th, 2015, 6:11 pm
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

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

Posted: April 28th, 2015, 9:49 am
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.

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

Posted: April 29th, 2015, 2:21 am
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