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

+Enhanced support for novel axes in MOM_io #1369

Merged
merged 1 commit into from
Apr 12, 2021

Commits on Apr 9, 2021

  1. +Enhanced support for novel axes in MOM_io

      Added support for new IO capabilities that are needed by SIS2 to use the MOM6
    framework and infrastructure code, but should also be useful within MOM6
    itself.  These new capabilities include writing global attributes to files,
    using create_file named axes that are not derived from a MOM6 grid type, and new
    options and elements in the vardesc type to support a wider array of axes and to
    provide the position of the grid staggering via an integer position variable
    instead of the short character strings that had been used.
    
      As a part of this commit, there are the new opaques type axis_info and
    attribute_info, and the new routines set_axis_info, delete_axis_info,
    set_attribute_info and delete_attribute_info to facilitate these new
    capabilities, as well as the publicly visible function position_from_horgrid to
    translate the vardesc%hor_grid character strings into the integer position flag
    used elsewhere in the MOM6 and FMS codes.  Within the MOM_io_infra, there is a
    new variant of the overloaded interface write_meta to handle writing global
    attributes. There are also two new optional arguments to create_file and
    reopen_file, and two new optional arguments to var_desc, modify_vardesc, and
    query_vardesc.  All answers and output are bitwise identical.
    Hallberg-NOAA committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    03b997b View commit details
    Browse the repository at this point in the history