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

FATES Land use V2 API update #6353

Merged
merged 30 commits into from
Jul 23, 2024

Conversation

glemieux
Copy link
Contributor

@glemieux glemieux commented Apr 17, 2024

This pull request adds the capability to read a landuse x pft mapping file to then be passed to fates.
It also refactors the use_fates_logging namelist option from a switch to a mode select.
This update allows the user to select a harvest mode that provides the mass or area-based land use harvest rates from the LUH2 landuse timeseries dataset.

The fates pull request associated with this update is NGEET/fates#1116

[non-BFB] for FATES

@glemieux glemieux changed the title FATES Land use V2 API update [WIP] FATES Land use V2 API update Apr 17, 2024
Copy link

@samsrabin samsrabin left a comment

Choose a reason for hiding this comment

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

Like I said, all very minor! But I wanted to log them before I forget them.

components/elm/bld/namelist_files/namelist_definition.xml Outdated Show resolved Hide resolved
components/elm/src/main/controlMod.F90 Outdated Show resolved Hide resolved
components/elm/src/main/elm_initializeMod.F90 Outdated Show resolved Hide resolved
components/elm/src/main/elmfates_interfaceMod.F90 Outdated Show resolved Hide resolved
@glemieux
Copy link
Contributor Author

glemieux commented Apr 23, 2024

To do:

  • update default parameter file

@glemieux
Copy link
Contributor Author

Cleaned up the code per @samsrabin review via 8cc7ddc. Still need to check a couple of items.

@rljacob
Copy link
Member

rljacob commented May 30, 2024

Needs a review approval

@rljacob
Copy link
Member

rljacob commented Jun 13, 2024

Waiting on some FATES-side changes and PR #6419

Adds luh2 harvest data read to fates landuse module

This will enables the use of the raw LUH2 harvest data when running with
fates in land use mode + wood harvest mode
@glemieux glemieux force-pushed the lnd/fates-landuse-v2 branch from 0568f12 to 8771e50 Compare June 18, 2024 23:41
@rljacob
Copy link
Member

rljacob commented Jun 27, 2024

update: still waiting on some FATES-side changes

@glemieux glemieux changed the title [WIP] FATES Land use V2 API update FATES Land use V2 API update Jul 11, 2024
@peterdschwartz
Copy link
Contributor

@ckoven @samsrabin Now that this PR is finalized, it needs final review/approval

@glemieux
Copy link
Contributor Author

glemieux commented Jul 17, 2024

Status update: Running e3sm_land_developer tests against the current master commit on perlmutter.

Copy link
Contributor

@ckoven ckoven left a comment

Choose a reason for hiding this comment

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

Thanks @glemieux! This looks good to me.

Copy link

@samsrabin samsrabin left a comment

Choose a reason for hiding this comment

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

Looks great!

@glemieux
Copy link
Contributor Author

glemieux commented Jul 19, 2024

@peterdschwartz regression testing using e3sm_land_developer on perlmutter against the master baseline is B4B for all expected tests. The DIFFs are all associated with fates tests and are expected.

Results: /pscratch/sd/g/glemieux/e3sm-tests/pr6353-eld-nanfix.fates.pm-cpu..E5b67e86c2a-F1982b003

peterdschwartz added a commit that referenced this pull request Jul 22, 2024
This pull request adds the capability to read a landuse x pft mapping file to then be passed to fates.
It also refactors the use_fates_logging namelist option from a switch to a mode select.
This update allows the user to select a harvest mode that provides the mass or area-based
land use harvest rates from the LUH2 landuse timeseries dataset.

The fates pull request associated with this update is NGEET/fates#1116

[non-BFB] for FATES
@peterdschwartz
Copy link
Contributor

merged to next. from the e3sm_developer test suite, expecting diffs in:

  ERS_D_Ld15.f45_g37.IELMFATES.pm-cpu_intel.elm-fates_cold_treedamage (Overall: DIFF) details:
  ERS_Ld20.f45_f45.IELMFATES.pm-cpu_intel.elm-fates (Overall: DIFF) details:
  ERS_Ld30.f45_f45.IELMFATES.pm-cpu_intel.elm-fates_satphen (Overall: DIFF) details:
  SMS_D_Ld20.f45_f45.IELMFATES.pm-cpu_intel.elm-fates_rd (Overall: DIFF) details:
  SMS_Ld20.f45_f45.IELMFATES.pm-cpu_intel.elm-fates_eca (Overall: DIFF) details:
  SMS_Ld5_PS.f19_g16.IELMFATES.pm-cpu_intel.elm-fates_cold (Overall: DIFF) details:

@peterdschwartz peterdschwartz added the non-BFB PR makes roundoff changes to answers. label Jul 22, 2024
@peterdschwartz peterdschwartz merged commit 377b2d3 into E3SM-Project:master Jul 23, 2024
21 checks passed
@peterdschwartz
Copy link
Contributor

Merged to master. Some machines had issues so there will be a few DIFFs to bless tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FATES Land non-BFB PR makes roundoff changes to answers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants