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

fix bug in ocn2glc_coupling and add blom #484

Merged
merged 6 commits into from
Jul 12, 2024

Conversation

mvertens
Copy link
Collaborator

@mvertens mvertens commented Jul 11, 2024

Description of changes

This adds blom as another ocean component in cime_config.

Specific notes

This adds blom as another ocean component in cime_config and also fixes the query of the logical variable for ocn2glc coupling in esmFldsExchange_cesm.F90.

Contributors other than yourself, if any: None

CMEPS Issues Fixed: No

Are changes expected to change answers? bfb

Any User Interface Changes (namelist or namelist defaults changes)? No

Testing performed

Verified that ocn2glc coupling is working correctly with blom.

@mvertens mvertens requested a review from billsacks July 11, 2024 12:02
Copy link
Member

@billsacks billsacks left a comment

Choose a reason for hiding this comment

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

A couple of questions / minor (I hope) requests below.

<!-- TODO: currently a NUOPC runseqence cannot be generated with the ATM_NCPL < OCN_NCPL - as is the case -->
<!-- with the POP2 C compset run sequence - for now will set these to be the same as MOM6 -->
<value compset="_DATM.*_DICE.*_BLOM">24</value>
<!-- NOTE: urrently a NUOPC runseqence cannot be generated with the ATM_NCPL < OCN_NCPL -->
Copy link
Member

Choose a reason for hiding this comment

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

Minor typo: urrently -> currently

Comment on lines 144 to 179
<entry id="DMS_EMIS_OCN">
<type>logical</type>
<default_value>FALSE</default_value>
<valid_values>TRUE,FALSE</valid_values>
<group>run_coupling</group>
<file>env_run.xml</file>
<desc>Activates DMS fluxes to be sent from ocn to atm </desc>
</entry>

<entry id="BRF_EMIS_OCN">
<type>logical</type>
<default_value>FALSE</default_value>
<valid_values>TRUE,FALSE</valid_values>
<group>run_coupling</group>
<file>env_run.xml</file>
<desc>Activates Bromoform fluxes to be sent from ocn to atm </desc>
</entry>

<entry id="N2O_EMIS_OCN">
<type>logical</type>
<default_value>FALSE</default_value>
<valid_values>TRUE,FALSE</valid_values>
<group>run_coupling</group>
<file>env_run.xml</file>
<desc>Activates N2O fluxes to be sent from ocn to atm </desc>
</entry>

<entry id="NH3_EMIS_OCN">
<type>logical</type>
<default_value>FALSE</default_value>
<valid_values>TRUE,FALSE</valid_values>
<group>run_coupling</group>
<file>env_run.xml</file>
<desc>Activates NH3 fluxes to be sent from ocn to atm </desc>
</entry>

Copy link
Member

Choose a reason for hiding this comment

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

Are these only valid for BLOM currently? If so, I feel this should at least be documented. Ideally they would only be available for BLOM, or there would be an error check to ensure they aren't set for other models, but I suspect that's hard... if it's true that those would be hard to do, then I think it's fine to just add in the description something like "Only available with the BLOM ocean model" or something like that.

@mvertens
Copy link
Collaborator Author

@billsacks - thanks so much for your review. I've addressed the issues you raised.

@mvertens mvertens requested a review from billsacks July 12, 2024 07:33
Copy link
Member

@billsacks billsacks left a comment

Choose a reason for hiding this comment

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

Looks good - thank you!

@mvertens mvertens merged commit ce9cfe2 into ESCOMP:main Jul 12, 2024
1 of 2 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.

2 participants