conrad-blucher-institute / CDL-Broadcast

0 stars 0 forks source link

Interpolate between measurements and predictions #3

Open abeasley1722 opened 4 hours ago

abeasley1722 commented 4 hours ago

This postprocessing class is used for semaphore predictions. Say we have 3 models for an area, one predicts 12 hours, another predicts 24 hours, and the last predicts 48 hours. We need to grab one prediction from each model. plus the actual at nowtime and interpolate between them. Actual --- 12 hr --- 24 hr --- 48 hr.

If it is a prediction that has to do with water level then we will have to convert both the actual(NOAA) and the predictions to surge ,linear interpolate between them., and then convert the interpolated data back to waterlevel. This is a request from Dr.Tissot.

Either handle both of these options inside this one class and add an argument that will differ the version needed or split them.

I have pseudocode on how the version that requires surge will be handled inside the branch