For setting all time-dependent forcing fields.
Compute forcing fields for the current date and correction terms for horizontal diffusion
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ModelState_t), | intent(inout) | :: | state | |||
| integer, | intent(in) | :: | imode | Mode -> 0 = initialization step, 1 = daily update |
||
| type(Datetime_t), | intent(in) | :: | model_datetime | |||
| real(kind=p), | intent(in) | :: | tyear | The fraction of the current year elapsed |
Compute reference lapse rate as a function of latitude and date
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=p), | intent(inout) | :: | gamlat(il) | The reference lapse rate |