MCPcopy Create free account
hub / github.com/carbonplan/maps / createV3ArrayMetadata

Function createV3ArrayMetadata

src/zarr-store.test.js:70–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68})
69
70const createV3ArrayMetadata = () => ({
71 attributes: {
72 _ARRAY_DIMENSIONS: ['time', 'y', 'x'],
73 },
74 shape: [2, 256, 256],
75 chunk_grid: {
76 configuration: {
77 chunk_shape: [1, 256, 256],
78 },
79 },
80 codecs: [{ name: 'gzip' }],
81 fill_value: 0,
82 data_type: '<f4',
83})
84
85const registerChunk = (url, values) => {
86 const handler = jest.fn((chunkIndices, callback) => {

Callers 1

zarr-store.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected