Skip to content

Seedling mortality PAR initialized with wrong variable when using Tree Recruitment Scheme with seedling dynamics #1501

@r-ward

Description

@r-ward

Describe the issue

The initial value for sdlng_mort_par is set to temp_init_veg' rather than init_seedling_par`.

! PARAMETERS:
! Until bc's are pointed to by sites give veg a default temp [K]
real(r8), parameter :: temp_init_veg = 15._r8 + t_water_freeze_k_1atm
real(r8), parameter :: init_seedling_par = 5.0_r8 ! arbitrary initialization for seedling layer [MJ m-2 d-1]
real(r8), parameter :: init_seedling_smp = -26652.0_r8 ! abitrary initialization of smp [mm]

call this%seedling_layer_par24%InitRMean(fixed_24hr, &
init_value=init_seedling_par, init_offset=real(current_tod, r8))
call this%sdlng_mort_par%InitRMean(ema_sdlng_mort_par, &
init_value=temp_init_veg)
call this%sdlng2sap_par%InitRMean(ema_sdlng2sap_par, &
init_value=init_seedling_par)

Relevant log output

FATES tag

sci.1.87.5_api.41.0.0-12-gf2c22336

Host land model tag

ctsm5.3.077

Machine

derecho

Other supported machine name

No response

Additional context

I have fixes for this and couple of additional bugs (issues #1500 , #1499 ), on my branch debug_trs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

❕Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions