LarissaReames-NOAA / MPASSIT

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

Allow empty input ascii files #3

Closed weather4evr closed 1 year ago

weather4evr commented 1 year ago

The code basically assumes there are some 3d history fields and some 2d "patch"-interpolated fields. That was getting in the way of my attempts to use MPASSIT given diag-only MPAS output, so I put in a few lines of code to allow empty input ascii files. Tested and it seems to work.

LarissaReames-NOAA commented 1 year ago

Did a test run on Jet with one of my configurations and everything ran fine. Thanks for the addition!