-
Notifications
You must be signed in to change notification settings - Fork 234
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
initialize cpl_scalar field in nuopc cap #1639
initialize cpl_scalar field in nuopc cap #1639
Conversation
initialize cpl_scalar field when created
…n-20240531 update to main 20240729 commit (gfdl-to-main-2024-05-31)
…n-20240824 update to main 20240824
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.
COAPS approves.
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.
As far as I know, GEOS doesn't even compile this file, so...
GEOS approves.
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.
GFDL approves
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.
NCAR approves.
@kshedstrom I guess this PR bypassed your radar, can you review it ? |
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.
Sorry, yes, it's been one of those weeks. Yes, I approve, not affecting code I use at all.
this mini PR add the initialization of cpl_scalar filed in nuopc cap.
In UFS, it was reported that "Non-CSG components do not use or set the scalar index for NTile. In certain cases, the scalar field value for this index has been found to be non-zero (NaN in debug compiles). " See detail at UFS issue (ufs-community/ufs-weather-model#2369 and ufs-community/ufs-weather-model#2338).
non-CSG= non Cubic Spherical Grid which refers to ocean, ice and wave models in UFS
Thansk for @alperaltuntas for pre-checking of the code change.