Skip to content

v0.11.3

Choose a tag to compare

@cboettig cboettig released this 26 Oct 17:08
· 62 commits to main since this release
a4d9dba

Fixed

  • Convert splits features that cross the antimeridian when it reprojects to EPSG:4326 (#274). DuckDB's ST_Transform has no dateline split, so a polygon that is continuous in a projected source came out with a ring running the long way round, spanning about 356° of longitude, with its area overstated (PAD-US: 29 features, one of them 28% too large). Features whose reprojected extent is wider than 180° are now split at 180° after reprojection. All other features still go through DuckDB. Layers with features near 180° (Alaska, the Pacific, Fiji/Kiribati) that were built from projected sources should be rebuilt.
  • mdim treats values outside the CF valid range as missing (#278). It applied _FillValue and scale/offset but not valid_min, valid_max or valid_range, which GDAL's multidimensional API leaves to the caller, so out-of-range pixels were hexed as real data. NOAA Coral Reef Watch degree heating weeks on 2026-10-24 had 2,413 pixels above valid_max at Arctic ice edges; over H3 base cell 5 the hex output had 620 cells above the valid maximum of 100 and a maximum of 158.67, and now has none. The range is compared in stored units, before scale and offset, as CF specifies. GDAL's classic netCDF driver, used by the raster path, already did this.
  • The mosaic COG step's local scratch scales with the data, not the grid (#277). preprocess-cog for several --source-url tiles wrote every warped group and the merged intermediate as uncompressed GeoTIFFs, about twice grid pixels × bytes per pixel of local disk however well the source compressed: roughly 1.2 TB for a 30 m global tiled source whose zips total 0.12 GB. Intermediates are now tiled, ZSTD-compressed and sparse. Tiles already in the target CRS on one pixel grid are mosaicked through a VRT instead of warped, which also leaves their pixel values exactly as they were. For integer bands the extra fill codes are collapsed as a lookup table on read (#209), not rewritten in place. The single-source COG step's intermediate is compressed the same way. The COG driver's invalid COPY_SRC_OVERVIEWS option is dropped; the driver already reuses the intermediate's overviews.