KIT-HYD / bridget

Evapotranspiration toolbox
https://KIT-HYD.github.io/bridget
0 stars 0 forks source link

[1] Add Eddy-footprint scaffold #8

Closed mmaelicke closed 4 years ago

mmaelicke commented 4 years ago

The first task will be to layout the function for the Eddy covariance footprint calculation. I already defined a top-level footprint function to the bridget.eddy submodule. This function should at the end be used to calculate footprints.

It should be used like:

from bridget.eddy import footprint

# pass data as 1D arrays
fp = footprint(data_array1, data_array2, [...], method='fancyname')

# pass *all* data as pandas.Dataframe
fp = footprint(eddy=eddy_df, method='fancyname')

Internally, footprint will just check the method parameter and call fancymethod1 or fancymethod2 and pass the data.

@AlexDo1: To close this issue, we need the functions needed implemented with correct arguments. So you need to evaluate, which columns are actually used und implement it like that. The calculation is not yet needed.

mmaelicke commented 4 years ago

I guess this is done.