Closed jasonebox closed 1 year ago
Rain gauge is not supported in current code. Thank you for sharing the implementation. As for corrected
vs uncorrected
, see related issue #46
Big-picture implementation and architecture question (@PennyHow ). The code above has,
sensor_levels=['L','U']
if ((site=='SWC')or(site=='NUK_U')):
sensor_levels=['L']
Is this the type of thing we want in the code, or want in the config file?
This is the current implementation of the undercatch correction in pypromice.
Which is executed depending on the boom - the upper boom, for example: https://github.com/GEUS-Glaciology-and-Climate/pypromice/blob/2331c02e1e121648c06dd054d370f0b99a6a8f6d/src/pypromice/L1toL2.py#L117-L119
So @jasonebox's sensor level flag is not needed in pypromice - precipitation will be processed from a boom specified by the variable name i.e. precip_u
or precip_l
. And this is defined the station config file (.toml), under the column names. In cases where a station has two booms, precipitation observations are therefore corrected with the appropriate boom variables. As SWC
is a one-boom station, precipitation observations are automatically defined as variable precip_u
, and therefore corrected with the necessary "upper" boom (i.e. the only boom) variables.
does present code handle rain, i.e. for QAS_U new station (there are two stations at QAS_U since 2020 or 2019), NUK_U, and the new GCN sites: SDM, NSE, SDL, NAU, CEN as of 2021 field work
here's Python that applies correction after Yang, D., Ishida, S., Goodison, B. E., and Gunther, T.: Bias correction of daily precipitation measurements for Greenland, https://doi.org/10.1029/1998jd200110, 1999.
suggest outputting corrected and uncorrected instantaneous values from which users can compute accumulated precipitation