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

Work with regional surface datasets (v2) #24

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

samsrabin
Copy link

@samsrabin samsrabin commented Sep 10, 2024

Supersedes #22, which was based on a very out-of-date version of main.

This PR makes it so that the FATES land-use tool is compatible with regrid_target_file being a surface dataset generated by the CTSM subset_data script. These are different from the usual surface datasets because:

  • They already have lat and lon variables, although the associated dimensions are still lsmlat and lsmlon.
  • In addition to the dimensions lsmlat and lsmlon, there are also coordinates with those names.

Needs to be tested for compatibility with the usual kind of surface dataset. But as far as regional surface datasets, it works for my South America domain (cutoff at southern edge is intentional):

luh2 file:
screenshot_1154

lupft file :
screenshot_1153

Remaining tasks

  • Check that regional luh2 file looks okay.
  • Check that runs forced with the regional outputs actually work.
  • Check that outputs (luh2 and lupft) are unchanged when using normal surface datasets as regrid_target_file.

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.

1 participant