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

NOAA UFS integration #24

Merged
merged 39 commits into from
Mar 4, 2021
Merged

NOAA UFS integration #24

merged 39 commits into from
Mar 4, 2021

Conversation

rmontuoro
Copy link
Contributor

This PR introduces code under development at NOAA aimed at integrating GOCART into the Unified Forecast System (UFS) weather model. It includes:

  • A NUOPC-based interface implementing a UFS-compliant GOCART model component, in the new ESMF/UFS subdirectory
  • Updates to the build system to build GOCART without Baselibs using standalone libraries, and to compile with 32-bit floating point variables

Note that the provided NUOPC/UFS cap enables MAPL to run under UFS, allowing for a potentially faster integration of components from the GEOS ecosystem into UFS in the future.

rmontuoro and others added 30 commits October 8, 2020 11:39
Implement BUILD_UFS option to selectively build
UFS GOCART.
- initialize, run, and finalize MAPL Cap
- enable single NUOPC run phase
- enable running GOCART2G grid component
- add NUOPC import and export fields
- add NUOPC field diagnostics
- export NUOPC imported tracer as imported
- provide imported grid from NUOPC fields to
  MAPL Cap gridded component, which can be
  passed to GOCART2G gridded component thanks
  to preliminary changes to MAPL
and surface fields, compute unavailable import fields,
export updated tracers, and improve field diagnostics.
API to explicitly complete MAPL fields with unallocated
data. Deallocate temporary arrays.
Properly import fields on interface (edge) levels.
fields. Fill unmapped local levels by replicating values
from closest level of imported fields.
ice precipitation fluxes, along with instantaneous
normalized soil wetness.
ice precipitation flux to GOCART variable.
version, and properly handle MAPL return codes.
@rmontuoro rmontuoro requested a review from a team as a code owner March 1, 2021 18:41
CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Contributor

@tclune tclune left a comment

Choose a reason for hiding this comment

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

Just the one embedded question and request for modifying the 32-bit enforcer.

@tclune
Copy link
Contributor

tclune commented Mar 1, 2021

Yes - in fact was trying to ping you in Teams when I saw your GitHub response. If NOAA is confident they won't use it, GEOS certainly does not need it.

@tclune
Copy link
Contributor

tclune commented Mar 1, 2021

If it is needed in some debugging scenarios, it could/should be converted to pflogger calls.

@WilliamJamieson
Copy link
Contributor

If it is needed in some debugging scenarios, it could/should be converted to pflogger calls.

You are referring to all these "debugging" prints throughout GOCART2G?

@WilliamJamieson
Copy link
Contributor

@rmontuoro we just merged some changes onto develop could you merge these changes onto this branch and check that it still works?

CMakeLists.txt Outdated Show resolved Hide resolved
tclune
tclune previously approved these changes Mar 3, 2021
Copy link
Contributor

@tclune tclune left a comment

Choose a reason for hiding this comment

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

We need to freeze this PR. It is very big and every time a change is made we need to review it again.

CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Contributor

@WilliamJamieson WilliamJamieson left a comment

Choose a reason for hiding this comment

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

The latest commit appears to have resolved all my concerns.

Copy link
Contributor

@gmao-esherman gmao-esherman left a comment

Choose a reason for hiding this comment

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

I have verified this does not break GOCART2G, and is zero-diff.

@tclune tclune merged commit b62e40d into develop Mar 4, 2021
@tclune tclune deleted the feature/rmontuoro/ufs-integration branch March 4, 2021 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants