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
12 stars 4 forks source link

More sophisticated object-oriented AWS data processing #134

Open PennyHow opened 1 year ago

PennyHow commented 1 year ago

Currently the pypromice.process.AWS object holds all of the information and functions for processing data from a level 0 to level 3 standard. The object largely holds processing parameters, which are inputted and passed as object attributes on initialisation, namely:

  1. The station config parameters
  2. The standard variables formatting
  3. The metadata formatting and content

https://github.com/GEUS-Glaciology-and-Climate/pypromice/blob/c5613a942d7e79089865f4f5837313bf6abe3461/src/pypromice/process/aws.py#L26-L65

This object could be more sophisticated, with each sensor represented as an object and therefore a weather station and its data processing represented as a set of sensor objects. In doing so, we could better adapt to different station types and perhaps the pypromice package could be more applicable to other projects and groups.

This is a long-term goal rather than a quick fix, but thought it best to just put it here in order to exchange ideas, document progress etc.