Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add better error handling to read_var_sizes
Add better error handling to read_var_sizes when a missing file or missing variable is provided as an argument. Without this change the model fails with a segmentation fault on line 768 of MOM_io.F90 if a bad file or variable name is provided. With this change, a useful error message is returned. All answers are bitwise identical in all cases that worked previously.
- Loading branch information