This repo is for the handling and processing of automated weather station (AWS) and discharge data, primarily for operational near-real-time processing of data from the Watson catchment monitoring programme.
AWS processing procedures are adopted from pypromice, with specific station handling and discharge data processing developed here.
level_3
(L3
) AWS and discharge data is produced from the original L0 raw
data and station transmissions, L0 tx
, with the following steps.
-
L0
: Original, untouched data -
L1
:
- Arrays reformatted
- Time offset applied
- dH values calculated
- Pressure offset applied
- All data files combined into one
L2
:
- Water level calculated
- Air temperature interpolated and smoothed
L3
:
- Diver-only discharge calculated
- Temperature-and-diver discharge calculated
- Cumulative discharge calculated
L0
data can be provided in the following forms:
raw
.mon
barometer file format.csv
barometer file format.csv
/.txt
file format, for the DMI air temperature files
tx
:.txt
L0tx
transmission file format, fetched using the pypromicetx
module.
water.py
holds all the processing steps and workflow for producing level_3
discharge data. It can be ran from a CLI as follows:
$ python3 water.py