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

fire-hydro bug fix #665

Merged
merged 2 commits into from
Jul 2, 2020
Merged

Conversation

xuchongang
Copy link
Contributor

This pull request fixed a bug that prevent the simultaneous run of hydro and fire (#654)

Collaborators:

@JunyanDing @jkshuman @ckoven

Expectation of Answer Changes:

This will allow the model to run both hydro and fire models.

Checklist:

  • My change requires a change to the documentation.
  • I have updated the in-code documentation .AND. (the technical note .OR. the wiki) accordingly.
  • [ x] I have read the CONTRIBUTING document.
  • FATES PASS/FAIL regression tests were run
  • If answers were expected to change, evaluation was performed and provided

Test Results:

The model run successfully for ELM(FATES).

CTSM (or) E3SM (specify which) test hash-tag:

CTSM (or) E3SM (specify which) baseline hash-tag:

FATES baseline hash-tag:

Test Output:

@@ -141,7 +141,7 @@ subroutine fire_danger_index ( currentSite, bc_in)
d_NI = 0.0_r8
currentSite%acc_NI = 0.0_r8
else
yipsolon = (SF_val_fdi_a* temp_in_C)/(SF_val_fdi_b+ temp_in_C)+log(rh/100.0_r8)
yipsolon = (SF_val_fdi_a* temp_in_C)/(SF_val_fdi_b+ temp_in_C)+log(max(1.0_r8,rh)/100.0_r8)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm surprised that this was necessary. RH<1 is incredibly dry, almost impossible. How low are the values seen here?

@glemieux glemieux self-assigned this Jul 2, 2020
@rgknox
Copy link
Contributor

rgknox commented Jul 2, 2020

Tests on cheyenne look good. All b4b except for some fire related diagnostics on a long test (which should theoretically be different given the changes).
/glade/scratch/rgknox/clmed-tests/fates-sci.1.38.1_api.11.2.0-clm5.0.30-Ce33b4658-Fe7f0ca5a.fates.cheyenne.intel
/glade/scratch/rgknox/clmed-tests/fates-sci.1.38.1_api.11.2.0-clm5.0.30-Ce33b4658-Fe7f0ca5a.fates.cheyenne.gnu

@glemieux glemieux merged commit 68bc434 into NGEET:master Jul 2, 2020
@glemieux glemieux linked an issue Jul 2, 2020 that may be closed by this pull request
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.

Problem with run Hydro and fire together
3 participants