Skip to content
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

+Add optional unscale argument to MOM_write_field #668

Merged

Conversation

Hallberg-NOAA
Copy link
Member

Added an optional unscale argument to 10 routines under the overloaded MOM_write_field() interface, mirroring the recent additions of unscale arguments to the various chksum routines. These new unscale arguments are synonymous with the existing optional scale arguments to these routines, and if both are provided, the new unscale arguments take precedence.

A total of 26 MOM_write_field() calls in save_restart(), write_depth_list(), write_Hybgen_coord_file(), write_vertgrid_file() and write_ocean_geometry_file() were modified to replace a scale argument with the new unscale argument.

All answers are bitwise identical, but there are new optional arguments to 10 publicly visible routines.

  Added an optional unscale argument to 10 routines under the overloaded
MOM_write_field interface, mirroring the recent additions of unscale arguments
to the various chksum routines.  These new unscale arguments are synonymous with
the existing optional scale arguments to these routines, and if both are
provided, the new unscale arguments take precedence.

  A total of 26 MOM_write_field calls in save_restart, write_depth_list,
write_Hybgen_coord_file, write_vertgrid_file and write_ocean_geometry_file were
modified to replace a scale argument with the new unscale argument.

  All answers are bitwise identical, but there are new optional arguments to 10
publicly visible routines.
@Hallberg-NOAA Hallberg-NOAA changed the title +Add optional unscale arguments to MOM_write_field +Add optional unscale argument to MOM_write_field Jun 7, 2024
Copy link
Member

@marshallward marshallward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as #666

@marshallward
Copy link
Member

@marshallward marshallward merged commit 2f2b790 into NOAA-GFDL:dev/gfdl Jul 10, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants