FMS2: open_ASCII_file and open_namelist_file #206
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch re-implements the FMS2 implementations of
open_ASCII_file
andopen_namelist_file
to remove their dependency on FMS1 functions which have been staged for deletion.Note that if a file is opened with
mpp_open
but closed withclose_file_unit
, then it will raise an error infms_io_exit
. This will no longer be an issue after all references tompp_open
have been removed. But in the meantime, we will need to ensure that all unit-basedclose_file
calls were not opened withmpp_open
.There is also a minor patch to
.testing/Makefile
which selects the framework ("infra") source dependency, rather than hard-set to FMS1.