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

Possible changes for having create_crop_landunit always true #50

Closed
billsacks opened this issue Dec 16, 2017 · 1 comment
Closed

Possible changes for having create_crop_landunit always true #50

billsacks opened this issue Dec 16, 2017 · 1 comment
Labels
closed: wontfix We won't fix this issue, because it would be too difficult and/or isn't important enough to fix enhancement new capability or improved behavior of existing capability
Milestone

Comments

@billsacks
Copy link
Member

billsacks commented Dec 16, 2017

Bill Sacks < [email protected] > - 2016-12-05 15:07:27 -0700
Bugzilla Id: 2385
Bugzilla CC: [email protected], [email protected],

Here are some notes from March 28, 2013, about what I thought would need to change once we were ready to set create_crop_landunit to true always. I'm not sure how much here is still correct, relevant, or necessary. I can dig up my other notes that are referenced here if they would be helpful:

Once dynamic landunits are in place, we can always use create_crop_landunit=true. So far this hasn't been possible, because we need to maintain create_crop_landunit=false when doing transient landcover change (because otherwise changing crop area would imply changing landunit areas, which so far hasn't been allowed).

Here are some things that will need to be done to accomplish this:

  • In mkpftMod: mkpftInit: Change setting of num_natpft & num_cft in the case numpft == numstdpft

    • we will now ALWAYS have num_natpft = numstdpft - numstdcft, and num_cft = numpft - num_natpft.
    • so we can get rid of the conditional that sets num_natpft and num_cft
    • see May 14, 2013 notes in Changing weights specification in surface dataset for diffs needed for this (mkpftMod.F90 changes under "Making surface datasets for running with my new code")

    I'm not sure if we're still allowing the use of raw datasets with just the 16 standard PFTs. I know we're allowing that for the transient pft dataset, but I'm not sure about the static-in-time dataset. But it might be irrelevant... with the above change, we might be handling things the same in the code regardless of the number of PFTs on the dataset, at least with respect to the static-in-time datasets (see below for notes on the transient dataset)

  • Need PCT_CROP to be time-varying on the pftdyn dataset.

    When transient pft info comes from a file with just the 17 pfts (as it currently does), this would be interpreted as: PFTs 0-14 treated as before. Assuming that PFT problem with the bounds of some history fields #16 is always 0%, then PCT_CFT can stay fixed in time (for surface datasets with generic crop: always 100% PFT duplicate definitions of a few functions in CanopyFluxesMod.F90 #15; for surface datasets with specific crops: whatever is determined from the raw data file); PFT duplicate definitions of a few functions in CanopyFluxesMod.F90 #15 will determine PCT_CROP through time.

    To summarize: We'll have the following on the pftdyn dataset:

    • PCT_NATVEG: no time dimension (essentially ignored for transient runs -- that's the whole point of my refactoring)
    • PCT_CROP: varies in time
    • PCT_PFT: varies in time
    • PCT_CFT: no time dimension, at least for now
  • Making sure transient pfts are handled right with respect to crops

    • Make sure that the new formulation creates transient datasets correctly.
      • In particular: it sounds like the transient raw dataset format won't change. So, I think we can interpret the % crop in the transient raw dataset to be the crop landunit area -- and then have the individual crop areas (as % of landunit) stay fixed (see also Surface dataset meeting 6-15-12)

    NOTE: there may be conflicts between this bullet and notes in the previous bullet... need to figure out how exactly we should handle transient pfts now:

    • can we have the case where the static dataset has 24 pfts but transient has 16?
    • If so, confirm how this should be handled
@billsacks billsacks added this to the clm5 milestone Dec 16, 2017
@billsacks billsacks added the enhancement new capability or improved behavior of existing capability label Dec 16, 2017
@billsacks
Copy link
Member Author

I'm closing this old issue: I think much of this has been done, some I don't understand any more, and the first bullet ("In mkpftMod: mkpftInit"), while perhaps not done yet, doesn't seem that important (it's just a minor code cleanup that we can do whenever we're finally able to remove create_crop_landunit=.false. for good).

@billsacks billsacks added the closed: wontfix We won't fix this issue, because it would be too difficult and/or isn't important enough to fix label Nov 7, 2018
slevis-lmwg pushed a commit to slevis-lmwg/ctsm that referenced this issue Aug 1, 2023
Handle CLM_ACCELERATED_SPINUP option differently
samsrabin pushed a commit to samsrabin/CTSM that referenced this issue Apr 19, 2024
### Description of changes
Adds support for NEON tower data in datm.

### Specific notes

Contributors other than yourself, if any:

CMEPS Issues Fixed (include github issue #):

Are there dependencies on other component PRs
 - [X] CIME (list)   Requires branch neon_data_mode (PR ESMCI/cime#3850)
 - [ ] CMEPS (list) 

Are changes expected to change answers?
 - [X] bit for bit
 - [ ] different at roundoff level
 - [ ] more substantial 

Any User Interface Changes (namelist or namelist defaults changes)?
 - [ ] Yes
 - [X] No

Testing performed:
- [X] (required) aux_cdeps
   - machines and compilers: cheyenne intel 
   - details (e.g. failed tests): SMS_Vnuopc_Ld5.TL319_t061.2000_DATM%JRA-1p4-2018_SLND_SICE_SOCN_SROF_SGLC_SWAV_SESP.cheyenne_intel   fails in build with
       Invalid values ['CORE_IAF_JRA_1p4_2018']
- [ ] (optional) CESM prealpha test
   - machines and compilers
   - details (e.g. failed tests):

Hashes used for testing:
- [ ] CIME
  - repository to check out: https://github.com/ESCOMP/CESM.git
  - branch:  master
  - hash:8b48a2e
- [ ] CMEPS
  - repository to check out: https://github.com/ESCOMP/CESM.git
  - branch: master
  - hash: v0.9.0
- [ ] CESM
  - repository to check out: https://github.com/ESCOMP/CESM.git
  - branch: master
  - hash:
jedwards4b added a commit to jedwards4b/ctsm that referenced this issue Jul 5, 2024
jedwards4b added a commit to jedwards4b/ctsm that referenced this issue Jul 5, 2024
ekluzek added a commit to ekluzek/CTSM that referenced this issue Jul 11, 2024
a60032499 Merge tag 'v0.8.2' into tmp-release
75a0337 Bump to 0.8.2
7136066 Merge pull request ESCOMP#54 from ESMCI/fix/tag-not-found
a90de4f update to fetch tag first
a6e43fc Bump to 0.8.1
229ba03 Merge pull request ESCOMP#53 from ESMCI/fix/ssh_access
e9cd2be better fix for issue with ssh access
c624b61 Bump to 0.8.0
6ccf617 Merge pull request ESCOMP#51 from ESMCI/fix/recursive
53fce57 no need to make submodule objects persist
dae1c82 now working with issue ESCOMP#50
ded91fd all tests passing, issue ESCOMP#50 fixed
62a338b all pytests now passing
143abac tests a-d all pass
2b021fd add documentation to submodule.py
72211d2 add the new submodule class
82dd7a4 test_b_update now working
a7d8b4e all pytests passing
5322019 Bump to 0.7.9
1f07cb6 Merge pull request ESCOMP#49 from ESMCI/fix/fxDONOTUSEurl
31ce71b use poetry update to update poetry.lock file
46043f0 add code of conduct (issue ESCOMP#35)
0c3d683 dependabot changes and issue ESCOMP#48
25ccc15de Merge tag 'v0.7.8' into tmp-release
8eae7e3 Bump to 0.7.8
34daa06 Merge pull request ESCOMP#46 from ESMCI/add_optional_keyword
af12c80 fix spelling
7ea36dc remove manage_externals error
2ede182 add optional to status output
4ff1e98de Merge tag 'v0.7.7' into tmp-release
87640ad Bump to 0.7.7
c124dc5 Merge pull request ESCOMP#43 from ESMCI/fix/root_dir
3ff935b update tests
0593149 one more improvement
d95f5d6 fix status issue
c304487 update complex test
a34070b Bump to 0.7.6
9e5d5f7 Merge pull request ESCOMP#40 from ESMCI/fix/change_url
00b7b38 some fixes when modifying url

git-subtree-dir: .lib/git-fleximod
git-subtree-split: a600324993623cba8e663fcbfdb6a0f6832dd802
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: wontfix We won't fix this issue, because it would be too difficult and/or isn't important enough to fix enhancement new capability or improved behavior of existing capability
Projects
None yet
Development

No branches or pull requests

1 participant