error in era52arl

Post questions and find resources to convert meteorological data into a format HYSPLIT can read.
Post Reply
Posts: 3
Joined: January 18th, 2020, 1:41 pm
Registered HYSPLIT User: No

error in era52arl

Post by chegch »


I've got this Segmentation fault error for one month and still struggling with this..
I'm on physical linux machine (HPC). The data is also downloaded by using hysplit_metdata. The hysplit is the pre-compiled centos version, and I installed eccodes successfully.

The error message is below:

Code: Select all

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7F137AB5F697
#1  0x7F137AB5FCDE
#2  0x7F137A4AD27F
#3  0x7F137B300F77
#4  0x7F137B304244
#5  0x405DD5 in MAIN__ at era52arl.f:648
Segmentation fault
It seems the line 648 in era52arl.f is not working properly, which is

Code: Select all

call grib_get(igrib(i),'gridType',project)
I'm not sure why this happened, does the gridType not exist in the data? How do I check this, also I'm not sure if the error comes from the data I downloaded or just from the hysplit setting or environments. So I attached the example data in here: ... P_wla?dl=0

Many thanks for you help!

Posts: 240
Joined: February 8th, 2016, 12:56 pm
Registered HYSPLIT User: Yes

Re: error in era52arl

Post by alicec »

Try using the grib_dump utility with eccodes to see what is in your grib file.

Also please make sure you are using the latest version of the era52arl.

Post Reply