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

Fixes ELM namelist for with active FAN model #6151

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

bishtgautam
Copy link
Contributor

@bishtgautam bishtgautam commented Jan 17, 2024

If use_fan = .true. in user_nl_elm, add settings for the FAN model in lnd_in.

Fixes #6152
[BFB]

If `use_fan = .true.` in `user_nl_elm`, add settings for the FAN model
in `lnd_in`.
@bishtgautam bishtgautam requested a review from bbye January 17, 2024 20:08
Copy link

PR Preview Action v1.4.6
🚀 Deployed preview to https://E3SM-Project.github.io/E3SM/pr-preview/pr-6151/
on branch gh-pages at 2024-01-17 20:09 UTC

if( $nl_flags->{'use_fan'} eq ".true." ) {
my $var = "use_fan";
my $val = $nl->get_value($var);
if( $val eq ".true." ) {
Copy link
Member

Choose a reason for hiding this comment

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

So it was a perl error?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. The information about use_fan was being extracted from the wrong data structure.

@rljacob
Copy link
Member

rljacob commented Jan 17, 2024

Will this change namelists for the fan test?

rljacob added a commit that referenced this pull request Jan 18, 2024
If use_fan = .true. in user_nl_elm, add settings for the FAN model in lnd_in.

Fixes #6152
[BFB]
@rljacob
Copy link
Member

rljacob commented Jan 18, 2024

use_fan = .true. now shows up in the elm-fan test. And that test passes and no longer has a namelist diff.

@rljacob rljacob merged commit 9eba6d6 into master Jan 18, 2024
3 checks passed
@rljacob rljacob deleted the bishtgautam/lnd/fix-fan-setup branch January 18, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ELM FAN test broken
3 participants