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

Landuse data tool #1107

Closed
wants to merge 63 commits into from
Closed

Conversation

glemieux
Copy link
Contributor

@glemieux glemieux commented Oct 26, 2023

Tool chain for creating the landuse x pft static input and the luh2 timesseries datasets

Description:

This PR creates a top-level landusedata python package to the fates tool directory. This tool has been developed with a project package structure. It includes unit tests for the tool functions using the pytest package. The tool includes subcommands to generate either the luh2 timeseries dataset or landuse x pft static data map. It accomplishes this by refactoring the luh2 data tool introduced in #1032 into the package and adding new functionality to generate the landuse x pft map.

Collaborators:

@ckoven

Expectation of Answer Changes:

None as this is new tooling

Checklist

If this is your first time contributing, please read the CONTRIBUTING document.

All checklist items must be checked to enable merging this pull request:

Contributor

  • The in-code documentation has been updated with descriptive comments
  • The documentation has been assessed to determine if updates are necessary

Integrator

  • FATES PASS/FAIL regression tests were run
  • Evaluation of test results for answer changes was performed and results provided

Documentation

Test Results:

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

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

FATES baseline hash-tag:

Test Output:

Fix "too much canopy" error for SP mode runs

This corrects a typo in which the wrong patch was being sourced for
patch area correction.  It also includes a correction to history long names.
This adds the renormalization and its test as well as a check on the
data type conversion and lat/lon update to the CLM5 data
This is largely complete.  That said, it could use having
the previous luh2 dataset functions refactored and rolled into
this one, including adding new unit tests for the old luh2 code.
@glemieux glemieux added PR status: Not Ready The author is signaling that this PR is a work in progress and not ready for integration. type: tools This PR adds or updates support tools. No regression testing necessary. labels Oct 26, 2023
@glemieux
Copy link
Contributor Author

glemieux commented Nov 2, 2023

@ckoven ckoven mentioned this pull request Nov 10, 2023
4 tasks
Hydraulic failure mortality turned off for frozen soils

Hydraulic failure mortality is turned off when any soil layer is below
-2 degrees C. This should prevent high mortality of vegetation at high
latitudes.
@glemieux glemieux changed the title Landuse x PFT static data tool Landuse data tool Jan 11, 2024
@glemieux glemieux removed the PR status: Not Ready The author is signaling that this PR is a work in progress and not ready for integration. label Jan 19, 2024
This needs to be rewritten as well in a future commit
@glemieux
Copy link
Contributor Author

Closing this out as I've moved it to https://github.com/NGEET/tools-fates-landusedata

@glemieux glemieux closed this Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: tools This PR adds or updates support tools. No regression testing necessary.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant