Repository navigation
Is it possible to tranform input URIs for the json output? #309
|
Hi - new to Kerchunk and fsspec! I want to use kerchunk to create json files that are mapped 1:1 with NetCDF files. This seems straightforward. On the input side I want to use an internal URI (i.e. I know that I can run a replace on the json, but is there a better way? |
Answered by
martindurant
Feb 28, 2023
Replies: 1 comment
|
A replace seems perfectly reasonable to me! |
0 replies
Answer selected by
zachsa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A replace seems perfectly reasonable to me!
The basic mapping looks like {virtual_path: [real_path, offset, size]} or {virtual_path: [real_path]), so you could do the same with a comprehension.