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

Enable the mksurfdata_map to generate landuse_timeseries for dynamic urban and lake #1586

Merged
merged 18 commits into from
Apr 25, 2022

Conversation

billsacks
Copy link
Member

@billsacks billsacks commented Dec 29, 2021

Note about this PR

This PR is a continuation of #1579 (from @keerzhang1). I approved that PR in terms of the work needed from @keerzhang1, but there is still some work needed on our end, primarily in the perl code, before it can be completely merged. I have moved the branch to the ESCOMP repository so that further work can happen here, and so that @olyson can open a follow-up PR into this branch. (See also #1579 (comment))

The following description is copied from #1579

Description of changes

This update includes code changes that enable the mksurfdata_map to generate landuse_timeseries with transient urban variables (PCT_URBAN and HASURBAN).

Update (2021-12-21): The changes in #1073 was combined with this PR. Now the code changes enable the mksurfdata_map to generate landuse_timeseries with dynamic urban and lake variables (PCT_URBAN, PCT_LAKE, PCT_URBAN_MAX, and PCT_LAKE_MAX)

Specific notes

For now, the changes in the mksurfdata.pl are hardcoded to simply generate a landuse_timeseries*. txt file containing urban raw data locations that I specified.

Contributors other than yourself, if any: @keerzhang1 @olyson @fang-bowen @Face2sea

CTSM Issues Fixed (include github issue #): #1445

Are answers expected to change (and if so in what way)?
The surface datasets will be different.
Any User Interface Changes (namelist or namelist defaults changes)?
No.
Testing performed, if any:

@billsacks
Copy link
Member Author

(Copying this comment from #1579 (comment) )

@billsacks
Copy link
Member Author

Next steps (moving relevant pieces from discussion in #1579 to here):

  • @olyson will open a separate PR into this branch (i.e., into the dynurb_mksurf_part2 branch), which we can later update to be into the ctsm5.2.mksurfdata branch once this dynurb_mksurf_part2 branch is eventually merged.
  • (Eventually) Erik makes any necessary changes to the perl code and the xml database to allow generation of transient datasets with transient urban & lake
  • We run tools testing on this PR (1586), which should now pass
  • This PR (1586) is merged to ctsm5.2.mksurfdata
  • Keith's PR is updated to the latest version of ctsm5.2.mksurfdata, and has the tools testing run on it
  • Keith's PR is merged to ctsm5.2.mksurfdata

slevis-lmwg added a commit that referenced this pull request Mar 21, 2022
- The code builds and a non-transient case completes:
mpiexec_mpt -p "%g:" -np 288 ./src/mksurfdata < surfdata_1.9x2.5_hist_78pfts_CMIP6_1850_c220316.namelist
- Transient case gives error:
mpiexec_mpt -p "%g:" -np 288 ./src/mksurfdata < surfdata_1.9x2.5_hist_78pfts_CMIP6_1850-1899_c220316.namelist
mksrfdata error: year for urban not equal to year for PFT files

...but I don't, yet, see a mistake in my implementation:
from mksurfdata_map/src/mksurfdat.F90 lines 1117-1130
to mksurfdata_esmf/src/mksurfdat.F90 lines 883-908
@ekluzek ekluzek merged commit 7ba893e into ctsm5.2.mksurfdata Apr 25, 2022
@ekluzek ekluzek deleted the dynurb_mksurf_part2 branch February 10, 2024 19:25
@samsrabin samsrabin added enhancement new capability or improved behavior of existing capability science Enhancement to or bug impacting science labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new capability or improved behavior of existing capability science Enhancement to or bug impacting science
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

5 participants