目录
Robert Hallberg

+Diag_mediator enhancements from ice shelf version

Added diag_mediator capabilities that had been developed and used in the SIS2 and MOM_ice_shelf versions of the diag mediator, in preparation for some of these separate versions to be combined into a single version. This includes adding an overload to the register_scalar_field() interface so that scalars can be registered with or without providing a null axis, retaining the existing interface while adding the one that is widely used with the ice shelf code. The previous routine register_scalar_field() is now register_scalar_field_CS(), but it has the same public interface.

This commit also adds the new public interface MOM_diag_send_complete() that calls the FMS routine that flushes the IO buffers. Although this call can be too expensive for production runs, it can be very useful for debugging.

Internally, register_diag_field() now checks for standard axes for 2-d fields, analogously to what was previously done for 3-d fields, thereby avoiding the allocation of a separate axis group for each 2-d diagnostic. This has been the case for ice-shelf code for some time, and it will save memory will giving identical results.

The testing for incompatible mask and array sizes was consolidated into a single call each in post_data_2d_low() and post_data_3d_low(), paving the way for adding the option of masking static fields.

All solutions are bitwise identical and diagnostic output (including metadata) is identical to what was previously output, but there are two new public interfaces.

9天前12013次提交

Read The Docs Status codecov

MOM6

This is the MOM6 source code.

Where to find information

Start at the MOM6-examples wiki which has installation instructions.

Source code documentation is hosted on read the docs.

What files are what

The top level directory structure groups source code and input files as follow:

File/directory Purpose
LICENSE.md A copy of the Gnu lesser general public license, version 3.
README.md This file with basic pointers to more information.
src/ Contains the source code for MOM6 that is always compiled.
config_src/ Contains optional source code depending on mode and configuration such as dynamic-memory versus static, ocean-only versus coupled.
pkg/ Contains third party (non-MOM6 or FMS) code that is compiled into MOM6.
docs/ Workspace for generated documentation. See docs/README.md
.testing/ Contains the verification test suite. See .testing/README.md
ac/ Contains the autoconf build configuration files. See ac/README.md

Quick start guide

To quickly get started and build an ocean-only MOM6 executable, see the autoconf README.

For setting up an experiment, or building an executable for coupled modeling, consult the MOM6-examples wiki.

Disclaimer

The United States Department of Commerce (DOC) GitHub project code is provided on an “as is” basis and the user assumes responsibility for its use. DOC has relinquished control of the information and no longer has responsibility to protect the integrity, confidentiality, or availability of the information. Any claims against the Department of Commerce stemming from the use of its GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States Government.

This project code is made available through GitHub but is managed by NOAA-GFDL at https://gitlab.gfdl.noaa.gov.

关于

海洋环流模式,用于海洋动力、热盐结构及气候相关海洋过程模拟。

141.4 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号