pangeo_fish.helpers.load_model#
- pangeo_fish.helpers.load_model(*, uri: str, tag_log: Dataset, time_slice: slice, bbox: dict[str, tuple[float, float]], chunk_time=24, remote_options=None) Dataset#
Load and prepare a reference model.
- Parameters:
uri (
str) – Path to the data. either an intake catalog (thus ending with.yaml) or a parquet array (thus ending with.parq)tag_log (
xarray.Dataset) – The DST datatime_slice (
slice) – Time slice to sample the model frombbox (
dict) – Spatial boundaries indexed by their coordinates (i.e,longitudeandlatitude) as well as the maximum depth indexed bymax_depth.chunk_time (
int, default:24) – Chunk size for the time dimension
- Returns:
model (
xarray.Dataset) – The subset data