53 | | * '''the old driver (src_driver/dim2driver)''', which assumes that scalar variables (Tair,Qair,Psurf,Wind) are instantaneous values at the timestamp, while flux variables (Rainf,Snowf, SWdown, LWdown) are mean values over the interval ending at the timestamp. This driver also requires that the first value of the annual files corresponds to 00UTC+dt_forcing (for instance 03UTC for a 3hourly forcing), and that the last value is for Dec 31st at 24UTC = 00UTC on Jan 1st of the following year. It also requires that all variables are averaged over the forcing time step and placed on the central time of the averaging period. |
| 53 | * '''the old driver (src_driver/dim2driver)''', which assumes that scalar variables (Tair,Qair,Psurf,Wind) are instantaneous values at the timestamp, while flux variables (Rainf,Snowf, SWdown, LWdown) are mean values over the interval ending at the timestamp. This driver also requires that the first value of the annual files corresponds to 00UTC+dt_forcing (for instance 03UTC for a 3hourly forcing), and that the last value is for Dec 31st at 24UTC = 00UTC on Jan 1st of the following year. |
58 | | (c) '''Adding the cell_method attribute to files'''. |
59 | | It is a good practice to add the cell_method attribute to each of the forcing variable in order to document how they relate to the time axis. This attribute will say if the variable represents a point in time (instantaneous) or averages an interval (). Furthermore it can inform how the time interval over which the variable is valid relates to the discrete points in time the axis provides. |
60 | | The general form of the attribute follows the CF convention and is "cell_method = axname : method(position)" where the folowing values can be inserted : |
61 | | * '''axname : ''' |
62 | | * '''method :''' |
63 | | * '''position :''' |
| 58 | (c) '''Adding the cell_methods attribute to files'''. |
| 59 | It is a good practice to add the cell_methods attribute to each of the forcing variable in order to document how they relate to the time axis and their representativity in time. This attribute will say if the variable represents a point in time (instantaneous) or averages over an interval (mean). Furthermore it can inform how the time interval over which the variable is valid relates to the discrete points in time the axis provides. |
| 60 | The general form of the attribute follows the CF convention and is "cell_methods = axname : method(position)" where the folowing values can be inserted : |
| 61 | * '''axname : ''' The name of the time axis within the file that is valid for the current variable |
| 62 | * '''method :''' instantaneous, mean |
| 63 | * '''position :''' start, centre, end |
| 64 | Obviously for an instantaneous variable, the position information is not relevant as it is only the point in time provided by the axis which matters. On the other hand, for an average, it is essential to know if the point in time provided by the axis is at the beginning, middle or end of the interval used for computing the mean. |
| 65 | More details and examples are provided in this document : https://forge.ipsl.jussieu.fr/orchidee/wiki/Branches/Driver_Improvements. |