Segfaults when verifying ECMWF data #2449
-
Hi all, GSL has recently gotten access to some realtime ECMWF grids, and are trying to integrate them into our global model verification. We plan on verifying the GFS, ECMWF, and the GSL in-house models against both the GFS analysis and the ECMWF analysis using GridStat (we've been already verifying the GFS and GSL in-house models against the GFS analysis for years). At this point I'm trying to add the step to verify the ECMWF forecasts against the GFS analysis, regridding both to the NCEP G002 grid. However, I keep getting segfaults around the regridding step, and I can't figure out why. The log for my test case (verbosity set to 10) is on Hera at This is with METplus 5.1.0 and MET 11.1.0. When you have a moment, could you take a look and let me know if you see anything obviously wrong with the way I have set things up? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @mollybsmith-noaa, I see you're getting a segfault when processing GRIB2 ECMWF data. Thanks for pointing me to that sample data on hera. I did pull the ECMWF file you specified and am able to replicate the segfault on my laptop, using only the
However, if I first process that file through wgrib2, essentially just reading it in and then back out again, then MET processes it without error:
This indicates that there's some issue in how the ECMWF GRIB2 data (in hera:/home/role.amb-verif/GSL_verif-global/verif/g2g_reprocess/ECMWF/realtime/20231205-06z/ecmwf_2023120506_012.grib2) is encoded. It is curious that wgrib2 reads the data without complaint but MET does not. I do note the following warning being printed by the GRIB2C library, to which MET links:
Doing some Googling, I strongly suspect it's related to this issue noted for the NCL software:
So preprocessing using |
Beta Was this translation helpful? Give feedback.
Hi @mollybsmith-noaa, I see you're getting a segfault when processing GRIB2 ECMWF data. Thanks for pointing me to that sample data on hera.
I did pull the ECMWF file you specified and am able to replicate the segfault on my laptop, using only the
plot_data_plane
tool.However, if I first process that file through wgrib2, essentially just reading it in and then back out again, then MET processes it without error: