From 1b976ed268d3575971b6e5249f68e752927e7dea Mon Sep 17 00:00:00 2001 From: Ryan Abernathey Date: Wed, 18 Nov 2020 16:50:23 -0500 Subject: [PATCH] Update README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 87865edc..dddd9451 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,12 @@ Spec for the structure required by ReferenceFileSystem: { "key0": "data", "key1": { - ["protocol://target_url", 100, 200] + ["protocol://target_url", 100, 100] } } ``` -where "key0" includes data as-is (stored as text), and "key1" refers to the given remote URL, the set of bytes -between the given start-stop values (start is inclusive, end is not, as is typical for python). +where "key0" includes data as-is (stored as text), and "key1" refers to the given remote URL, the offset within the file (in bytes), and the length of the data item (in bytes). For example, zarr data might be stored like @@ -24,6 +23,6 @@ For example, zarr data might be stored like ".zattrs": "{\n \"Conventions\": \"UGRID-0.9.0\n\"}, "x/.zattrs": "{\n \"_ARRAY_DIMENSIONS\": [\n \"node\"\n ...", "x/.zarray": "{\n \"chunks\": [\n 9228245\n ],\n \"compressor\": null,\n \"dtype\": \"