-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve custom forcing #9
Comments
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: |
Awesome, thanks! |
- Refactor forcing_file attribute to camel_txt_file -> as essentially its now a txt file of specific class which the from_camels functions is run on in model startup urrently the the selection of dates for camels forcing is exclusive, change to be inclusive: ds = ds.isel(time=(ds['time'].values > start) & ((ds['time'].values < end))) - now is inclusive
Tested to work with Makkink forcing.
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 (eWaterCycle/ewatercycle#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'tThe text was updated successfully, but these errors were encountered: