We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42d3f20 commit 2a692a7Copy full SHA for 2a692a7
components/utils/data.js
@@ -264,7 +264,13 @@ export const getVariableLevelInfo = async (
264
['X', 'Y']
265
.map((axis) => arrays[cfAxes[name][axis]])
266
// TODO: handle chunked spatial coordinates
267
- .map((arr, i) => arr.get_chunk([0], { headers: headers[name] }))
+ .map((arr, i) =>
268
+ arr
269
+ .get_chunk([0], { headers: headers[name] })
270
+ .then((c) =>
271
+ ndarray(Float32Array.from(c.data, Number), arr.chunk_shape)
272
+ )
273
274
)
275
276
const axes = ['X', 'Y'].reduce((accum, key, i) => {
0 commit comments