Closed Ivanderkelen closed 3 months ago
@kobebryant432 maybe something for you to take a look at? (not urgent as workaround is present)
This is a quick fix - would you prefer the solution work for:
period=2009 #or
period=[2009]
or both?
both would allow the user optimal flexibility. Thanks!
Describe the bug I a single year is used as input into the input manager, an error occurs.
ds = manager.load_data("ERA5",["tas"], period=[1995],freq="daily",region=region)
Expected behavior Allow for the input manager to handle a single year
Environment (super) computer - hortense Branch - dev Conda environment - valenspy_dev Other relevant environment information:
Minimal Reproducible Example
Additional context Current workaround: using two times the same year works:
ds = manager.load_data("ERA5",["tas"], period=[1995, 1995],freq="daily",region='europe')