h3-lowpoints commited on
Commit
110026e
·
verified ·
1 Parent(s): 5fca7be

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +59 -57
  2. index.json +0 -0
  3. packs.bin +2 -2
README.md CHANGED
@@ -1,57 +1,59 @@
1
- ---
2
- license: cc-by-4.0
3
- pretty_name: h3-lowpoints explorer data
4
- tags:
5
- - geospatial
6
- - h3
7
- - hydrology
8
- - flooding
9
- - united-states
10
- ---
11
-
12
- # h3-lowpoints explorer data
13
-
14
- The data the [h3-lowpoints](https://github.com/UJJAWAL-01/h3-lowpoints) explorer web app reads in
15
- the browser: every closed depression on land in the lower 48 US states, packed by area so a page
16
- can load one place at a time, plus the NOAA Atlas 14 tables that say how rare a storm is.
17
-
18
- Built from the national depression dataset, version 0.3
19
- ([doi.org/10.5281/zenodo.23731345](https://doi.org/10.5281/zenodo.23731345)), with the h3-lowpoints
20
- library 0.5.0. Nothing here is new analysis: it is the published dataset rearranged for browsers.
21
- The same files are archived on Zenodo: [doi.org/10.5281/zenodo.23824290](https://doi.org/10.5281/zenodo.23824290).
22
-
23
- ## Files
24
-
25
- | File | Size | What |
26
- |---|---|---|
27
- | `packs.bin` | 1.1 GB | 4,576 packs, one per H3 resolution-4 region, each gzipped: the region's depressions (catchment area, curve number, the fill curve from their measured levels, spill link, drained or landlocked), their H3 resolution-10 cells, and the water reaching them from neighbouring regions for storms of 0 to 1,000 mm |
28
- | `index.json` | 0.2 MB | where each pack starts in `packs.bin` and how long it is |
29
- | `rarity.bin` | 0.25 GB | NOAA Atlas 14 rainfall depths for storms of 1 to 48 hours and return periods of 1 to 1,000 years, per H3 resolution-7 cell, one gzipped block per region |
30
- | `rarity_index.json` | 0.2 MB | where each block starts |
31
-
32
- Read a pack with one HTTP range request (`bytes=offset-(offset+length-1)` from `index.json`),
33
- gunzip it, and parse it as described in
34
- [`app/src/pack.js`](https://github.com/UJJAWAL-01/h3-lowpoints/blob/main/app/src/pack.js). The
35
- tools that build these files are in
36
- [`app/tools/`](https://github.com/UJJAWAL-01/h3-lowpoints/tree/main/app/tools).
37
-
38
- ## Checks
39
-
40
- The app's simulator, run on these packs in Node and in Chrome, equals the h3-lowpoints library to
41
- rounding (largest relative difference 1e-15) in 36 test cases. Storing the data compactly and
42
- precomputing the water from neighbouring regions changes the water held per depression by a
43
- median of under 1e-5 relative; a few depressions per region, below a region boundary, can be off by
44
- more at some storm depths (the worst seen, 56%). Rarity read from these tables is within 7% of
45
- Atlas 14 at the exact point for 95% of places. Atlas 14 does not cover Washington and Oregon.
46
-
47
- ## Limits
48
-
49
- Everything in the national dataset's limits applies: 30 m terrain, storm drains and pumps not
50
- included, storms treated as totals. These data describe where water can collect, not a flood
51
- forecast or warning.
52
-
53
- ## Licence and credit
54
-
55
- CC BY 4.0. Creator: Ujjawal Patel. Sources: USGS 3DEP elevation, ESA WorldCover, Annual NLCD 2024,
56
- USDA gNATSGO, NOAA Atlas 14 (via the national dataset and the library). Please cite the national dataset
57
- (10.5281/zenodo.23731345) or these files (10.5281/zenodo.23824290).
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: h3-lowpoints explorer data
4
+ tags:
5
+ - geospatial
6
+ - h3
7
+ - hydrology
8
+ - flooding
9
+ - united-states
10
+ ---
11
+
12
+ # h3-lowpoints explorer data
13
+
14
+ The data the [h3-lowpoints](https://github.com/UJJAWAL-01/h3-lowpoints) explorer web app reads in
15
+ the browser: every closed depression on land in the lower 48 US states, packed by area so a page
16
+ can load one place at a time, plus the NOAA Atlas 14 tables that say how rare a storm is.
17
+
18
+ Built from the national depression dataset, version 0.3
19
+ ([doi.org/10.5281/zenodo.23731345](https://doi.org/10.5281/zenodo.23731345)), with the h3-lowpoints
20
+ library 0.5.0. Nothing here is new analysis: it is the published dataset rearranged for browsers.
21
+ The same files are archived on Zenodo: [doi.org/10.5281/zenodo.23824290](https://doi.org/10.5281/zenodo.23824290).
22
+
23
+ ## Files
24
+
25
+ | File | Size | What |
26
+ |---|---|---|
27
+ | `packs.bin` | 1.2 GB | 4,576 packs (format 2), one per H3 resolution-4 region, each gzipped: the region's depressions (catchment area, curve number, the fill curve from their measured levels, spill link, drained or landlocked), their H3 resolution-10 cells, and the water reaching them from neighbouring regions for storms of 0 to 1,000 mm |
28
+ | `index.json` | 0.2 MB | where each pack starts in `packs.bin` and how long it is |
29
+
30
+ **Format 2 (November 2026)** adds, for every depression, `target_id` (the dataset id of the depression it overflows into, 0 when the water leaves the data) and `target_region` (that depression's H3 resolution-4 region), so overflow paths can be followed across packs. Every format-1 field is unchanged (checked byte for byte in all 4,576 packs).
31
+ | `rarity.bin` | 0.25 GB | NOAA Atlas 14 rainfall depths for storms of 1 to 48 hours and return periods of 1 to 1,000 years, per H3 resolution-7 cell, one gzipped block per region |
32
+ | `rarity_index.json` | 0.2 MB | where each block starts |
33
+
34
+ Read a pack with one HTTP range request (`bytes=offset-(offset+length-1)` from `index.json`),
35
+ gunzip it, and parse it as described in
36
+ [`app/src/pack.js`](https://github.com/UJJAWAL-01/h3-lowpoints/blob/main/app/src/pack.js). The
37
+ tools that build these files are in
38
+ [`app/tools/`](https://github.com/UJJAWAL-01/h3-lowpoints/tree/main/app/tools).
39
+
40
+ ## Checks
41
+
42
+ The app's simulator, run on these packs in Node and in Chrome, equals the h3-lowpoints library to
43
+ rounding (largest relative difference 1e-15) in 36 test cases. Storing the data compactly and
44
+ precomputing the water from neighbouring regions changes the water held per depression by a
45
+ median of under 1e-5 relative; a few depressions per region, below a region boundary, can be off by
46
+ more at some storm depths (the worst seen, 56%). Rarity read from these tables is within 7% of
47
+ Atlas 14 at the exact point for 95% of places. Atlas 14 does not cover Washington and Oregon.
48
+
49
+ ## Limits
50
+
51
+ Everything in the national dataset's limits applies: 30 m terrain, storm drains and pumps not
52
+ included, storms treated as totals. These data describe where water can collect, not a flood
53
+ forecast or warning.
54
+
55
+ ## Licence and credit
56
+
57
+ CC BY 4.0. Creator: Ujjawal Patel. Sources: USGS 3DEP elevation, ESA WorldCover, Annual NLCD 2024,
58
+ USDA gNATSGO, NOAA Atlas 14 (via the national dataset and the library). Please cite the national dataset
59
+ (10.5281/zenodo.23731345) or these files (10.5281/zenodo.23824290).
index.json CHANGED
The diff for this file is too large to render. See raw diff
 
packs.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2ad455e0b736ac359d6eda44d0d39c2d8abdce22b32929992dcd99af9cbf0269
3
- size 1135178969
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:970d189eed3e8987866ab4c9947343e8f6d155644697f25cfbd92aa1f1d5d22d
3
+ size 1161545614