@loaders.gl/scientific 5.0.0-beta.2 → 5.0.0-beta.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/scientific",
3
- "version": "5.0.0-beta.2",
3
+ "version": "5.0.0-beta.4",
4
4
  "description": "Scientific NumPy arrays and sources for NetCDF, Zarr, GRIB2, HDF5, and VTK",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -101,9 +101,9 @@
101
101
  "build-metadata": "node ../../scripts/build-scientific-metadata.mjs"
102
102
  },
103
103
  "dependencies": {
104
- "@loaders.gl/documents": "5.0.0-beta.2",
105
- "@math.gl/core": "5.0.0-beta.2",
106
- "@math.gl/geospatial": "5.0.0-beta.2",
104
+ "@loaders.gl/documents": "5.0.0-beta.4",
105
+ "@math.gl/core": "5.0.0-beta.4",
106
+ "@math.gl/geospatial": "5.0.0-beta.4",
107
107
  "h5wasm": "^0.10.3",
108
108
  "zarr": "^0.5.0",
109
109
  "zarrita": "~0.7.1"
@@ -130,5 +130,5 @@
130
130
  "cdf",
131
131
  "nc"
132
132
  ],
133
- "gitHead": "d259e5bc74caf8d75e808314b7fef2fa1bd70ff7"
133
+ "gitHead": "c9420f06e870fa353889d55b684e3588d24574c2"
134
134
  }
@@ -118,7 +118,7 @@ function getOMEScale(axes: string[], transformLists: unknown[]): Record<string,
118
118
  throw new Error('OME-NGFF coordinateTransformations must be a list.');
119
119
  }
120
120
  for (const transform of transforms as Array<Record<string, unknown>>) {
121
- if (transform?.type === 'translation') continue;
121
+ if (transform?.type === 'identity' || transform?.type === 'translation') continue;
122
122
  if (transform?.type !== 'scale') {
123
123
  throw new Error(`Unsupported OME-NGFF coordinate transformation ${String(transform?.type)}.`);
124
124
  }