-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The client splits long time selection into multiple chunk requests. When none of the chunk requests select any data the final concatenation fails:
Traceback (most recent call last):
File ".../lib/python3.10/site-packages/xarray/structure/concat.py", line 254, in concat
first_obj, objs = utils.peek_at(objs)
File ".../lib/python3.10/site-packages/xarray/core/utils.py", line 250, in peek_at
peek = next(gen)
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File ".../test.py", line 43, in <module>
data = data.as_xarray()
File ".../VirES-Python-Client/src/viresclient/_data_handling.py", line 833, in as_xarray
ds = xarray.concat(ds_list, dim=self._time_variable)
File ".../lib/python3.10/site-packages/xarray/structure/concat.py", line 256, in concat
raise ValueError("must supply at least one object to concatenate") from err
ValueError: must supply at least one object to concatenate
(full paths were redacted)
xarray 2025.4.0
viresclient 0.14.1
Metadata
Metadata
Assignees
Labels
No labels