LarissaReames-NOAA / MPASSIT

Fortran program to interpolate MPAS data to structured grids
GNU General Public License v3.0
7 stars 13 forks source link

MPASSIT crashes with unhelpful segfault with either interp_* option is true but the corresponding file is empty #21

Open LarissaReames-NOAA opened 3 months ago

LarissaReames-NOAA commented 3 months ago

If interp_diag is true but diaglist is empty, the code fails on the first FieldBundleRegridStore call with unhelpful ESMC errors. Put in checks in initial reading of *list files to make sure that this isn't the case and provide useful errors if it is.