Creating this to continue a convo with Joe.
Would be cool to add in the csv data from the Irwin Study plot to be used from metloom.
There doesn't sound like a publicly available API or link but we could still make a class to read the csv that is often emailed around when updated. We could also add a variables class to map variables. Here is what I am picturing.
from metloom.pointdata import IrwinPointData
from metloom.variables import IrwinVariables
pnt = IrwinPointData(csv=file)
df = pnt.get_daily_data(start, end, [IrwinVariables.SNOWDEPTH])
The variables are a straightforward mapping of their names to a more useful or readable name. e.g.
in variables.py
class IrwinVariables(VariableBase):
SNOWDEPTH = InstrumentDescription("Sno_Height_M", "SNOWDEPTH")
While this effort wouldnt solve much in the way of getting the data, it would help standardize the use of individual energy balance sites that all seem to do things a scosh different.
Creating this to continue a convo with Joe.
Would be cool to add in the csv data from the Irwin Study plot to be used from metloom.
There doesn't sound like a publicly available API or link but we could still make a class to read the csv that is often emailed around when updated. We could also add a variables class to map variables. Here is what I am picturing.
The variables are a straightforward mapping of their names to a more useful or readable name. e.g.
in variables.py
While this effort wouldnt solve much in the way of getting the data, it would help standardize the use of individual energy balance sites that all seem to do things a scosh different.