Open Daafip opened 9 months ago
Hi David, the eWaterCycle forcing should be finished and available soon.
You will get a forcing object, from which you can access the variables as such: forcing["pr"]
which will return the xr.DataArray containing precip. (Makkink) potential evaporation will also be added.
Awesome, thanks!
Tested to work with Makkink forcing. Currently still slightly ''dev' though, should be impoved to be more eWaterCycle like:
ERA5_forcing = ewatercycle.forcing.sources["LumpedMakkinkForcing"].load(forcingLocation)
Look at making more intuitive: want to keep flexible but simple: either define:
forcing.txt
,forcing.nc
moved to bulletpoint to #18 (https://github.com/eWaterCycle/ewatercycle/pull/393)
forcing_file
attribute tocamel_txt_file
-> as essentially its now a txt file of specific class which thefrom_camels
functions is run on in model startupds = ds.isel(time=(ds['time'].values > start) & ((ds['time'].values < end)))
from_nc
function to check user supplied datasets for correct dates and variable rather than leaving this for the model to do: docker tracebacks arent most usefulfrom ewatercycle.forcing import HBVforcing
should work, but currently doesn't