-
Notifications
You must be signed in to change notification settings - Fork 318
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
Make certain history fields descriptive that have been labeled by number since #1340 #1413
Merged
Merged
Changes from 6 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
f179d0a
Make history fields descriptive instead of labeling by number
slevis-lmwg 304f16c
Make more history fields descriptive instead of labeling by number
slevis-lmwg 5c0ef4f
Rename i_[pro,rec,avl]_som --> i_[pas,slo,act]_som
slevis-lmwg 3b73e57
Minor update to comments about soil organic matter (SOM)
slevis-lmwg a34d2c5
Minor comment update
slevis-lmwg 85bf70f
Update fincl and fexcl lists to new history field names
slevis-lmwg 34c26e7
First draft of updated ChangeLog
slevis-lmwg d2a72fc
Merge tag 'ctsm5.1.dev044' into 1392_starting_from_1400
slevis-lmwg 22d4162
Updating master_list_fie.rst (official documentation not rebuilt, yet)
slevis-lmwg 2757a89
Merge tag 'ctsm5.1.dev045' into 1392_starting_from_1400
slevis-lmwg 0b84f8b
Small correction to ChangeLog
slevis-lmwg 65a85c9
Correction in respose to code review
slevis-lmwg 5bf6ae3
Additional correction in response to review
slevis-lmwg 070c06c
Merge tag 'ctsm5.1.dev047' into 1392_starting_from_1400
slevis-lmwg 8c3570a
Updated ChangeLog
slevis-lmwg 5176e76
Update change files
ekluzek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -782,7 +782,6 @@ subroutine InitHistory(this, bounds, carbon_type) | |
! | ||
! !LOCAL VARIABLES: | ||
integer :: k,l,ii,jj | ||
character(1) :: k_str | ||
character(8) :: vr_suffix | ||
character(10) :: active | ||
integer :: begp,endp | ||
|
@@ -2894,11 +2893,10 @@ subroutine InitHistory(this, bounds, carbon_type) | |
ptr_patch=this%dwt_slash_cflux_patch, default='inactive') | ||
|
||
do k = i_litr_min, i_litr_max | ||
write(k_str,'(I1)') k ! convert 1-digit integer to string | ||
this%dwt_frootc_to_litr_c_col(begc:endc,:,k) = spval | ||
data2dptr => this%dwt_frootc_to_litr_c_col(begc:endc,:,k) | ||
fieldname = 'DWT_FROOTC_TO_LITR_'//k_str//'_C' | ||
longname = 'fine root to litter_'//k_str//' due to landcover change' | ||
fieldname = 'DWT_FROOTC_TO_'//trim(decomp_cascade_con%decomp_pool_name_history(k))//'_C' | ||
longname = 'fine root to '//trim(decomp_cascade_con%decomp_pool_name_long(k))//' due to landcover change' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here and elsewhere I have now removed the hardwired strings "LITR_" and "litter" and placed them in |
||
call hist_addfld_decomp (fname=fieldname, units='gC/m^2/s', type2d='levdcmp', & | ||
avgflag='A', long_name=longname, & | ||
ptr_col=data2dptr, default='inactive') | ||
|
@@ -3073,11 +3071,10 @@ subroutine InitHistory(this, bounds, carbon_type) | |
ptr_patch=this%dwt_slash_cflux_patch, default='inactive') | ||
|
||
do k = i_litr_min, i_litr_max | ||
write(k_str,'(I1)') k ! convert 1-digit integer to string | ||
this%dwt_frootc_to_litr_c_col(begc:endc,:,k) = spval | ||
data2dptr => this%dwt_frootc_to_litr_c_col(begc:endc,:,k) | ||
fieldname = 'C13_DWT_FROOTC_TO_LITR_'//k_str//'_C' | ||
longname = 'C13 fine root to litter_'//k_str//' due to landcover change' | ||
fieldname = 'C13_DWT_FROOTC_TO_'//trim(decomp_cascade_con%decomp_pool_name_history(k))//'_C' | ||
longname = 'C13 fine root to '//trim(decomp_cascade_con%decomp_pool_name_long(k))//' due to landcover change' | ||
call hist_addfld_decomp (fname=fieldname, units='gC/m^2/s', type2d='levdcmp', & | ||
avgflag='A', long_name=longname, & | ||
ptr_col=data2dptr, default='inactive') | ||
|
@@ -3234,11 +3231,10 @@ subroutine InitHistory(this, bounds, carbon_type) | |
ptr_patch=this%dwt_slash_cflux_patch, default='inactive') | ||
|
||
do k = i_litr_min, i_litr_max | ||
write(k_str,'(I1)') k ! convert 1-digit integer to string | ||
this%dwt_frootc_to_litr_c_col(begc:endc,:,k) = spval | ||
data2dptr => this%dwt_frootc_to_litr_c_col(begc:endc,:,k) | ||
fieldname = 'C14_DWT_FROOTC_TO_LITR_'//k_str//'_C' | ||
longname = 'C14 fine root to litter_'//k_str//' due to landcover change' | ||
fieldname = 'C14_DWT_FROOTC_TO_'//trim(decomp_cascade_con%decomp_pool_name_history(k))//'_C' | ||
longname = 'C14 fine root to '//trim(decomp_cascade_con%decomp_pool_name_long(k))//' due to landcover change' | ||
call hist_addfld_decomp (fname=fieldname, units='gC/m^2/s', type2d='levdcmp', & | ||
avgflag='A', long_name=longname, & | ||
ptr_col=data2dptr, default='inactive') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cheyenne test-suite now OK (with the changes to this file).
Izumi test-suite was already OK before.
Now only
doc/source/users_guide/setting-up-and-running-a-case/master_list_file.rst
(i.e. the documentation) is inconsistent.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as with other files, SOIL1C needs to be ACT_SOM