![]() |
LandscapeDNDC 1.37.0
|
Climate data are given with \( R_r \) records per day (time = "YYYY-MM-DD/Rr" in the climate input), the simulation runs with \( R_k \) time steps per day. Independent of \( R_r \) and \( R_k \), the models always receive two climate records: the record of the current time step and the record of the current day (daily record). Both are provided by the input library, which aggregates records that are finer than needed and synthesizes (see Climate synthesizer) records and items that are missing. \( R_r \) and \( R_k \) are assumed to be integer multiples of each other; data coarser than daily are not supported.
| Data vs. simulation | Time step record | Daily record |
|---|---|---|
| \( R_r = R_k = 1 \) | data | data |
| \( R_r = 1 < R_k \) | synthesized from the daily record | data |
| \( R_r = R_k > 1 \) | data | aggregated from the \( R_r \) data records of the day |
| \( R_r > R_k \) | aggregated from \( R_r / R_k \) data records | aggregated from the \( R_k \) time step records of the day |
| \( 1 < R_r < R_k \) | synthesized from the daily record | aggregated from the \( R_r \) data records of the day |
Note for \( R_r > R_k > 1 \) (e.g., half-hourly data and hourly time steps): the daily record is aggregated in two steps (data to time step, time step to day). Note for \( 1 < R_r < R_k \) (e.g., 6-hourly data and hourly time steps): the sub-daily course of the data is not used. The data are aggregated to daily records, from which the time step records are synthesized.
After aggregation, daily items that are not given by sub-daily data but can be derived from them are derived (Daily minimum and maximum temperature, Vapour pressure deficit and relative humidity). All items that are still missing in the time step record or in the daily record are then synthesized (Climate synthesizer).
Each item of a climate record has its own aggregation method (CLIMATE_DATAFILTER_LIST):
| Item | Method | Remark |
|---|---|---|
| press | arithmetic mean | |
| grad | arithmetic mean | including zeros, i.e., the daily value is the mean over 24 h |
| lrad | arithmetic mean of non-zero values | zeros are treated as missing values |
| prec | sum | |
| tavg | arithmetic mean | |
| tmax | maximum | of the tmax values of the data records (not of tavg) |
| tmin | minimum | of the tmin values of the data records (not of tavg) |
| rh | arithmetic mean | |
| vpd | arithmetic mean | |
| wind | arithmetic mean |
Missing values (-99.99) are excluded from the aggregation. If all values of an aggregation period are missing, the aggregated value is missing and synthesized afterwards.
Daily global radiation is the mean over the whole day (24 h) including the night. All parts of the model use this definition:
Accordingly, to prepare daily climate data from sub-daily measurements, use the arithmetic mean of the radiation of all time steps of the day including the time steps with zero radiation.
Note: until 2026-11-28, sub-daily global radiation was aggregated with the mean of the non-zero values, i.e., the mean over the daylight hours. For sub-daily climate data, the daily value was therefore too high by 24 h / daylength (annual mean at 51 N: 1.7, more in winter than in summer) and, for the two-step aggregation, depended on the simulation time step. Simulations with daily climate data were not affected.
Daily minimum and maximum temperature are aggregated from the items tmin and tmax of the data records. If sub-daily data do not provide tmin or tmax, the daily minimum or maximum is the minimum or maximum of the sub-daily mean temperatures (tavg) of the day, provided that at least half of the records of the day have a valid tavg.
Otherwise, and for daily data without tmin and tmax, the daily values are synthesized from the daily mean temperature \( T_{avg} \) (in oC):
\[T_{max} = 1.4 \cdot T_{avg}, \quad T_{min} = 0.6 \cdot T_{avg} \qquad (T_{avg} > 0) \]
\[T_{max} = 0.6 \cdot T_{avg}, \quad T_{min} = 1.4 \cdot T_{avg} \qquad (T_{avg} \le 0) \]
The synthesized daily temperature range is thus \( 0.8 \cdot |T_{avg}| \) and vanishes at 0 oC.
Note: until 2026-11-29 the synthesized values were also used for sub-daily data without tmin and tmax, i.e., the sub-daily course of tavg was not used.
Saturation vapour pressure is a nonlinear function of temperature. Therefore, the daily mean of the vapour pressure deficit is not the deficit calculated from the daily means of temperature and relative humidity (at DE_gebesee the latter is 12 % lower). If sub-daily data provide relative humidity but no vapour pressure deficit:
If sub-daily data provide vapour pressure deficit but no relative humidity, relative humidity is derived accordingly.
Note: until 2026-11-29 the daily vapour pressure deficit was calculated from daily mean temperature and daily mean relative humidity, and the deficit of a time step from the resulting vapour pressure of the day (sub-daily relative humidity was not used and the deficit of a time step could be negative).
common/datafilters (filter-average, filter-average-nonzero, filter-sum, filter-minimum, filter-maximum)CLIMATE_DATAFILTER_LIST in scientific/climate/climatetypes.cpp io/data-provider/isynths/shared/isynth-streamdata-read.cpp iproc_isynthesizer_climate_t::precipitation_gaps_, daily items derived from sub-daily data: iproc_isynthesizer_climate_t::daily_from_subdaily_, both in io/data-provider/isynths/isynth-climate.cpp