67 | | First, the time is defined without ambiguity from the initial time and the nb of records that were read. Second, when we read a flux at the record itau_nm1, we perfectly know to which interval it corresponds. For WFDEI for instance, we know from http://www.eu-watch.org/gfx_content/documents/README-WFDEI%20(v2016).pdf that the record at itau_n holds the average flux over the 3-hourly period that precedes the "time stamp" of itau_n (t0+dt according to the above notations). This is perfectly clear, and perfectly coherent with the first panel of the above graphics, thus with dim2driver. |
| 67 | First, the time is defined without ambiguity from the initial time and the nb of records that were read. Second, when we read a flux at the record itau_n, we perfectly know to which interval it corresponds. For WFDEI for instance, we know from http://www.eu-watch.org/gfx_content/documents/README-WFDEI%20(v2016).pdf that the record at itau_n holds the average flux over the 3-hourly period that precedes the "time stamp" of itau_n (t0+dt according to the above notations). This is perfectly clear, and perfectly coherent with the first panel of the above graphics, thus with dim2driver. |
| 68 | |
| 69 | It further means that, whichever the interpolation we perform, for WFDEI case, the average of the interpolated flux over the 3h that precede t0+dt must equal the value read in record itau_n. It thus implies that any interpolation that does not preserve the mean over [t0,t0+dt] is inappropriate for such a flux. |
| 70 | |
| 71 | Looking at LWdown at the bottom of the 2nd panel above, the mean between [itau_nm1,itau_n]=[t0,t0+dt] is not equal to the value read at itau_n in any of these two cases: (a) uniform values over the green and brown intervals, (b) linear interpolation betwen the centre of the green and the centre of the brown intervals. Maybe another solution is coded, but then, it would be nice to explain it. |