@fxi/zartigl 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/zartigl.d.ts CHANGED
@@ -60,6 +60,9 @@ export declare interface Catalog {
60
60
  layers: CatalogEntry[];
61
61
  }
62
62
 
63
+ /** Geographic extent: west, south, east, north, in degrees. */
64
+ declare type CatalogBounds = [number, number, number, number];
65
+
63
66
  export declare interface CatalogEntry {
64
67
  id: string;
65
68
  aliases?: string[];
@@ -86,6 +89,8 @@ declare interface CatalogGeoVideoArchiveSource extends CatalogSourceBase {
86
89
  type: "geovideo";
87
90
  indexUrl: string;
88
91
  manifestUrl?: never;
92
+ /** Extent of the encoded frames, as in the chunk manifests. */
93
+ bounds?: CatalogBounds;
89
94
  }
90
95
 
91
96
  /** One published artifact. */
@@ -93,6 +98,8 @@ declare interface CatalogGeoVideoSource extends CatalogSourceBase {
93
98
  type: "geovideo";
94
99
  manifestUrl: string;
95
100
  indexUrl?: never;
101
+ /** Extent of the encoded frames, as in the manifest. */
102
+ bounds?: CatalogBounds;
96
103
  }
97
104
 
98
105
  declare type CatalogRenderLayerBackend = "vector-zarr" | "scalar-zarr" | "scalar-geovideo" | "vector-geovideo" | "scalar-wmts";
package/dist/zartigl.js CHANGED
@@ -1,4 +1,4 @@
1
- import { m as ae, p as dt, s as mt, a as $e, b as Gt, r as ze, c as Ot, d as ue, e as Nt, f as ft, g as Bt } from "./index-jwaF2X-1.js";
1
+ import { m as ae, p as dt, s as mt, a as $e, b as Gt, r as ze, c as Ot, d as ue, e as Nt, f as ft, g as Bt } from "./index-CwJQCXEo.js";
2
2
  import { T as $t, $ as qt, a0 as Wt, a1 as Xt, s as q, a2 as Ht, q as ge, a3 as Yt, a4 as J, a5 as Se, a6 as O, a as Zt, c as qe, a7 as jt, a8 as pt, Y as Q, Z as ve, a9 as K, aa as Ge, ab as Oe, i as gt, v as We, H as Ae, A as Qt, N as Ce, ac as Kt, D as vt, ad as z, ae as Xe, B as we, af as Jt, ag as ei, ah as ti, w as He, ai as ii, E as ke, I as ai, S as yt, aj as si, F as ri, x as ni, z as oi } from "./geovideo-index-D-BHqpO6.js";
3
3
  import { ak as Ma, X as Pa } from "./geovideo-index-D-BHqpO6.js";
4
4
  import { B as li, C as ci, b as ui, d as hi, e as _t, r as xt, c as di, g as mi } from "./backdrop-BMwRyFI5.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fxi/zartigl",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "MapLibre GL JS visualization for catalog-backed Zarr, WMTS, and GeoVideo data",
5
5
  "repository": {
6
6
  "type": "git",
@@ -61,7 +61,7 @@
61
61
  "geovideo:run": "uv run scripts/geovideo/archive.py run",
62
62
  "geovideo:progress": "uv run scripts/geovideo/archive.py plan --summary",
63
63
  "test:geovideo": "uv run --no-project --with boto3 --with 'fsspec[http]' --with numpy --with requests --with xarray --with 'zarr>=3' python -m unittest discover -s scripts/geovideo -p 'test_*.py'",
64
- "test:to-zarr": "uv run --no-project --with boto3 --with 'dask[array]' --with fsspec --with netcdf4 --with numcodecs --with numpy --with requests --with scipy --with xarray --with 'zarr>=3' sh -c 'python -m unittest discover -s scripts/to_zarr -p \"test_*.py\" && python -m unittest discover -s scripts/to_zarr/noaa/crw_dhw -p \"test_*.py\" && python -m unittest discover -s scripts/to_zarr/noaa/godas -p \"test_*.py\" && python -m unittest discover -s scripts/to_zarr/cams -p \"test_*.py\" && python -m unittest discover -s scripts/to_zarr/jrc/tmf -p \"test_*.py\" && python -m unittest discover -s scripts/to_zarr/usgs/landsat_mndwi -p \"test_*.py\"'",
64
+ "test:to-zarr": "uv run --no-project --with boto3 --with 'dask[array]' --with fsspec --with h5py --with netcdf4 --with numcodecs --with numpy --with pyproj --with requests --with scipy --with xarray --with 'zarr>=3' sh -c 'python -m unittest discover -s scripts/to_zarr -p \"test_*.py\" && python -m unittest discover -s scripts/to_zarr/noaa/crw_dhw -p \"test_*.py\" && python -m unittest discover -s scripts/to_zarr/noaa/godas -p \"test_*.py\" && python -m unittest discover -s scripts/to_zarr/cams -p \"test_*.py\" && python -m unittest discover -s scripts/to_zarr/jrc/tmf -p \"test_*.py\" && python -m unittest discover -s scripts/to_zarr/usgs/landsat_mndwi -p \"test_*.py\" && python -m unittest discover -s scripts/to_zarr/eawag/alplakes_geneva -p \"test_*.py\"'",
65
65
  "geovideo:calibrate": "uv run scripts/geovideo/calibrate.py",
66
66
  "geovideo:calibrate:browser": "uv run scripts/geovideo/browser_calibrate.py",
67
67
  "smoke:sample": "npm run build:lib && node scripts/smoke-sample-point.mjs",