-
-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hello,
Would it be feasible to support kerchunk-output as a data source?
As far as I understand, Kerchunk is a tool that provides a JSON-formatted breakdown of byte offsets of a NetCDF v4 file.
To illustrate, here's an example of a Kerchunk-generated JSON file.
Though I'm not very familiar with the technical aspects of Zarr directories or Kerchunk, I can see some similarities between the two. But it doesn't look like the Kerchunked JSON would be equivalent from a client/JavaScript perspective of a Zarr directly if I were to point to it, for example:
<Map>
<Raster
colormap={colormap}
clim={[-20, 30]}
source="https://mnemosyne.somisana.ac.za/somisana/algoa-bay/5-day-forecast/202307/20230712-hourly-avg-t3.kerchunk.json"
variable={'temperature'}
dimensions={['depth', 'y', 'x', 'time']}
selector={{ depth: 200, time: 120 }}
/>
</Map>Please let me know if this is already supported, or if not, whether this would be a simple/complex task. The benefit of supporting Kerchunk output rather than Zarrs directly is that it would save us around 1TB of space per year (assuming Zarrs are of a similar size to NetCDF v4 files) as we also need to store NetCDF files.