GEUS-Glaciology-and-Climate / pypromice

Process AWS data from L0 (raw logger) through Lx (end user)
https://pypromice.readthedocs.io
GNU General Public License v2.0
14 stars 4 forks source link

Correction of dsr and usr filters out daily transmission #243

Open BaptisteVandecrux opened 5 months ago

BaptisteVandecrux commented 5 months ago

There's a range check on dsr and usr that removes "invalid" data: https://github.com/GEUS-Glaciology-and-Climate/pypromice/blob/6ad589338a08194e5140cceb211b336899ac22de/src/pypromice/process/L1toL2.py#L159-L163

The problem is that for stations that:

These daily values are lower than the hourly values and are removed from dsr_cor an usr_cor.

This range-check should therefore be done only on hourly values.