Skip to content

Commit 291a158

Browse files
committed
Rename GRAINC_AT hist vars to HARVORGANC_AT to fix LREPRSTRUCT tests.
1 parent 4ee9e6e commit 291a158

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

cime_config/testdefs/testmods_dirs/clm/crop/user_nl_clm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ hist_fincl3 += 'FROOTC_AT_EMERGENCE_PERHARV', 'FROOTC_AT_ANTHESIS_PERHARV', 'FRO
1818
hist_fincl3 += 'LIVECROOTC_AT_EMERGENCE_PERHARV', 'LIVECROOTC_AT_ANTHESIS_PERHARV', 'LIVECROOTC_AT_MATURITY_PERHARV'
1919
hist_fincl3 += 'LIVESTEMC_AT_EMERGENCE_PERHARV', 'LIVESTEMC_AT_ANTHESIS_PERHARV', 'LIVESTEMC_AT_MATURITY_PERHARV'
2020
hist_fincl3 += 'LEAFC_AT_EMERGENCE_PERHARV', 'LEAFC_AT_ANTHESIS_PERHARV', 'LEAFC_AT_MATURITY_PERHARV'
21-
hist_fincl3 += 'GRAINC_AT_EMERGENCE_PERHARV', 'GRAINC_AT_ANTHESIS_PERHARV', 'GRAINC_AT_MATURITY_PERHARV'
21+
hist_fincl3 += 'HARVORGANC_AT_EMERGENCE_PERHARV', 'HARVORGANC_AT_ANTHESIS_PERHARV', 'HARVORGANC_AT_MATURITY_PERHARV'
2222
hist_nhtfrq = -24,-8,-24
2323
hist_mfilt = 1,1,1
2424
hist_type1d_pertape(3) = 'PFTS'

src/biogeochem/CropType.F90

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -481,18 +481,18 @@ subroutine InitHistory(this, bounds)
481481
ptr_patch=this%leafc_maturity_thisyr_patch, default='inactive')
482482

483483
this%grainc_emergence_thisyr_patch(begp:endp,:) = spval
484-
call hist_addfld2d (fname='GRAINC_AT_EMERGENCE_PERHARV', units='gC/m^2', type2d='mxharvests', &
485-
avgflag='I', long_name='Grain C at emergence for each harvest this year; should only be output annually', &
484+
call hist_addfld2d (fname='HARVORGANC_AT_EMERGENCE_PERHARV', units='gC/m^2', type2d='mxharvests', &
485+
avgflag='I', long_name='Harvestable organ (grain) C at emergence for each harvest this year; should only be output annually', &
486486
ptr_patch=this%grainc_emergence_thisyr_patch, default='inactive')
487487

488488
this%grainc_anthesis_thisyr_patch(begp:endp,:) = spval
489-
call hist_addfld2d (fname='GRAINC_AT_ANTHESIS_PERHARV', units='gC/m^2', type2d='mxharvests', &
490-
avgflag='I', long_name='Grain C at anthesis for each harvest this year; should only be output annually', &
489+
call hist_addfld2d (fname='HARVORGANC_AT_ANTHESIS_PERHARV', units='gC/m^2', type2d='mxharvests', &
490+
avgflag='I', long_name='Harvestable organ (grain) C at anthesis for each harvest this year; should only be output annually', &
491491
ptr_patch=this%grainc_anthesis_thisyr_patch, default='inactive')
492492

493493
this%grainc_maturity_thisyr_patch(begp:endp,:) = spval
494-
call hist_addfld2d (fname='GRAINC_AT_MATURITY_PERHARV', units='gC/m^2', type2d='mxharvests', &
495-
avgflag='I', long_name='Grain C at maturity for each harvest this year; should only be output annually', &
494+
call hist_addfld2d (fname='HARVORGANC_AT_MATURITY_PERHARV', units='gC/m^2', type2d='mxharvests', &
495+
avgflag='I', long_name='Harvestable organ (grain) C at maturity for each harvest this year; should only be output annually', &
496496
ptr_patch=this%grainc_maturity_thisyr_patch, default='inactive')
497497

498498
this%sowing_reason_thisyr_patch(begp:endp,:) = spval

0 commit comments

Comments
 (0)