Repository navigation
v0.12.0
cng-datasets 0.12.0 moves to DuckDB 2.0.0, drops ibis, and writes rows in spatial order. It also fixes several build failures and a column lost from chunked builds, and adds annual raster series and measured pod sizing. The full entries are in CHANGELOG.md.
Upgrade notes
- DuckDB 2.0.0 is pinned exactly (#280). Remote Parquet scans on Ceph were 1.7–3× faster. Connections set
geometry_always_xy, andST_Area_Spheroidnow reads (lon, lat). v0.12.1 will move to 2.0.1 when it ships. - ibis is no longer a dependency (#291).
- Rows are written in Hilbert order and
_cng_fidis numbered along the curve (#276). A county join went from 13.1 s to 2.5 s.--no-spatial-orderkeeps source order. - COGs from
preprocess-cogare sparse (SPARSE_OK, #251). GDAL, rasterio, tifffile and geotiff.js 3.0 or later read them unchanged. geotiff.js 1.x/2.x (OpenLayers before 10.9, georaster) cannot. - The per-feature cell guard default is now 1 billion, up from 134 million (#125).
CNG_MAX_CELLS_PER_FEATUREstill overrides it.
Fixed
- Chunked builds keep their
h0column (#305).merge-chunksdropped the parts' ownh0column, so every--chunk-resolutionbuild published files without it. A hive read hid this. - A complete fan-out that found no data now succeeds (#299). It used to fail at
merge-chunks. - Antimeridian cells are read unwrapped in the source's own longitude frame (#295). This fixes a slow h0, and a silent loss of every cell in -180..-170 for sources stored in another frame.
New and changed
raster-workflow --yearsbuilds an annual series as one collection, with per-year COGs andhex/year=<year>/h0=<cell>/(#172).- The vector polyfill cuts large polygon parts into pieces, with exactly the same output (#125). A 200k-vertex polygon at res 7 went from 565 s to 17.7 s.
- Raster hex skips parts of a sparse source that hold no data, using the GeoTIFF's tile index (#251). Global Mangrove Watch h0 40 at res 10 went from 282 M to 82 M cells.
- The vector polyfill reads polygon parts as WKB (#166).
- Armada jobs past NRP's pod size limit (16 cpu / 32Gi) are refused when the workflow is generated (#183).
merge-chunksreports what each chunk's pod measured using, and prints--hex-memory,--hex-cpuand--hex-workersfor the next build (#183).