-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MOM6: +Document MOM_io routines #1301
Conversation
Removed module use statements for unused subroutines from MOM_io of for the entire netcdf module. All answers are bitwise identical.
Added explicit interfaces to field_size, check_nml_error, open_namelist_file, write_version_number and get_filename_appendix to MOM_io.F90. Added explicit interfaces to write_metadata, get_file_times, get_axis_data and get_file_times as well as the newly named routines check_namelist_error, check_namelist_error, write_version, get_field_size to MOM_io_infra.F90. MOM_read_data was expanded to work with regions of 2D fields. MOM_grid_initialize and MOM_restart were altered to use the new interfaces, and support for non-domain-decomposed 2-d, 3-d and 4-d arrays was dropped from the MOM_restart module. All answers are bitwise identical, but there are some expanded capabilities.
Modified the module use statements for netcdf to explicitly list the routines and constants that are used. Also added comments documenting the purpose of the encoding constants that MOM_io makes available. Also added a missing NF90_close call to Surface_Bands_by_data_override. All answers are bitwise identical.
Codecov Report
@@ Coverage Diff @@
## dev/gfdl #1301 +/- ##
============================================
+ Coverage 45.91% 45.93% +0.01%
============================================
Files 233 233
Lines 71995 72052 +57
============================================
+ Hits 33058 33094 +36
- Misses 38937 38958 +21
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/11948 completed and passed
This PR includes a commits that completes the documentation of the interfaces
for all routines that are accessed via MOM_io.F90 and MOM_io_infra.F90. There
are some localized changes to I/O interfaces to better fit with their use in
MOM6. All answers and output files are bitwise identical. The commits in this
PR include: