ecmwf / ecpoint-calibrate

Interactive GUI (developed in Python) for calibration and conditional verification of numerical weather prediction model outputs.
GNU General Public License v3.0
21 stars 8 forks source link

Allow to have accumulated predictors with instantaneous predictand #113

Closed EstiGascon closed 3 years ago

EstiGascon commented 3 years ago

Currently, it is not possible, but it would be good to have an option of accumulated predictor for an instantaneous predictand in which we can indicate the starting time and end time of the accumulation period (i.e. if our predictand is instantaneous 2m temperature, include the local solar time of the previous 6 hours as a predictor, or the precipitation in the last 3 hours before the valid time). This aspect is really important for the local solar time, as currently we are doing this computation manually out of the calibration software.

FatimaPillosu commented 3 years ago

Hi @EstiGascon , is this relevant for many variables or is this valid only for the examples that you gave? If it is only valid for a few cases, maybe it would be better to add only specific computations to stop users computing things that might make not much sense. Cheers, Fatima

EstiGascon commented 3 years ago

Hi @FatimaPillosu,

Currently, we would need it only for the computation of solar-radiation, but it could be important in the future for other accumulated variables as precipitation (please, let me discuss it with Tim first). It would be enough, for now, to include as an option the computation of 24h solar radiation (in the previous 24 hours of the valid time, for example) and that's all.

FatimaPillosu commented 3 years ago

Let's see what Tim suggests. It is just a matter to see whether it is valuable to invest time in doing something more flexible or not. But in principle, it is a good idea. So the problem is to think whether there could be many other accumulated parameters that could be relevant for the post-processing of not accumulated predictands.

FatimaPillosu commented 3 years ago

Hi, I've been thinking about this issue and because I think this might overcomplicate the computations section (do we want to accumulate over what period? It is not specified because the predictand is instantaneous), I think is best if this is a predictor that is pre-computed separately and considered later on in the software as instantaneous. Thus, I will close this issue. but if someone has anything else to say about, please feel free to repone the issue. Cheers, Fatima