Skip to content

Adding Irwin SP #111

Description

@micahjohnson150

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions