Page 1 of 1

con2grib failed

Posted: August 11th, 2021, 3:12 am
by x.sun
Hi there,

When I tried to convert cdump to grib1 format using con2grib.exe I got this error after some successful steps:
...
Completed grib record: 19 1 20 18
Pollutant: C137
Level: 1 0
Number of points: 3025
Record bytes: 11050
Decimal exponent: 5
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7fc3c9f022ed in ???
#1 0x7fc3c9f01503 in ???
#2 0x7fc3c957f03f in ???
#3 0x562a7391c596 in sbytesc_
at /home/sunxm/LIBS/w3lib-2.2.0/gbytes_char.f:98
#4 0x562a7391bf81 in w3fi58_
at /home/sunxm/LIBS/w3lib-2.2.0/w3fi58.f:104
#5 0x562a7391b1db in w3fi75_
at /home/sunxm/LIBS/w3lib-2.2.0/w3fi75.f:409
#6 0x562a73917f90 in w3fi72_
at /home/sunxm/LIBS/w3lib-2.2.0/w3fi72.f:334
#7 0x562a73913476 in con2grib
at /mnt/c/hysplit.v5.1.0/source/con2grib.f:796
#8 0x562a73915064 in main
at /mnt/c/hysplit.v5.1.0/source/con2grib.f:937
Segmentation fault

The simulation uses WRF output produced ARL file. Confirmed the error is not related to resolution or domain size.

Another thing is when I use ERA5 produced ARL to run instead while keeping the rest setup identical, the cdump produced can be converted by con2grib.exe without a problem.

Has anyone come across the same?

Sun