shoot.profiles.download.Download.from_ds#
- classmethod Download.from_ds(ds, root_path, max_depth=1000)[source]#
Create Download instance from a dataset’s spatiotemporal extent
- Parameters:
ds (xarray.Dataset) – Dataset with lat, lon, and time coordinates.
root_path (str) – Root directory for caching downloaded data.
max_depth (float, default 1000) – Maximum depth (m) for profile data.
- Returns:
New Download instance with data fetched for the dataset’s extent.
- Return type: