Repository navigation
v2026.11.1
Summary
Point location in curvilinear grids, and Surface.transform interpolation near missing data and for integer coordinates, are fixed. QueryLayer now finds zarr meshes by default and raises instead of silently returning zeros when no models load. Velocity model values can change for points in widening trapezoidal grid cells and for points on valid nodes or edges next to NaN surface data (e.g. coastal Vs30).
Breaking changes
QueryLayerConfig.model_globsnow defaults to["*.zarr"]instead of["*.vtkhdf"](#90). Meshes are now zarr stores, so the old default matched nothing and every quality came back as zero without any error.QueryLayernow raisesValueErrorwhen no models are found, or when none intersect the layer geometry.- The
nzcvm tree-statscommand and thebenchextra are removed (#93). - Functional layers built with keyword arguments now reject unknown names (#98). They raise
TypeErrorwhere a misspelt parameter used to be silently ignored and kept its default. nzcvm surface convert --spacingrejects zero and negative values, andnzcvm convert-tiff --downsamplerejects values below 1 (#74).convert-tiffnow overwrites an existing output.- The
outandwhereparameters ofModelTree._query_many_rawand themaskfield of the RustQueryCoordinatesbinding are removed (#99). Neither ever worked as documented, andModelTree.query_manyis unaffected.
Bug fixes
StructuredGrid::local_coordinatesalways took the smaller root of the inverse bilinear quadratic (#73). On a trapezoidal cell whose far edge is longer than its near edge, that could be the spurious root. Interior points then came back outside the cell, or as NaN even withclamp=True. The root closest to the unit cell is now chosen. Parallelogram cells are unchanged.Surface.transformreturned NaN for points on valid nodes or edges whenever another corner of their cell was NaN (#94).0 * NaNis still NaN, so query grids aligned with a surface lost whole rows and columns along coastlines, which also switched off the Ely taper there. Corners with zero weight are now left out. Cells without NaN give the same result, apart from the last floating-point bit.Surface.transformcast elevations to the dtype of integer coordinates (#95). Every elevation was truncated toward zero (3.1 → 3), and NaN became-9223372036854775808. Non-float input now returnsfloat64, and plain lists are accepted. Floating-point input is unchanged.
Features
- The package is now MIT-licensed and ships a
CITATION.cfffor Zenodo archiving (#78).
What's Changed
- Bring CI in line with meta-ci-action by @ucgmsim[bot] in #68
- Refresh lockfiles by @ucgmsim[bot] in #67
- Add scheduled Claude AI jobs by @lispandfound in #77
- Test site_database.summarise (Vs30, Z1.0, Z2.5) by @lispandfound in #76
- Describe the mesh layout and zarr storage in the docstrings by @lispandfound in #75
- Pick the in-cell root when inverting a bilinear cell by @lispandfound in #73
- Add CITATION.cff and MIT licence for Zenodo archiving by @lispandfound in #78
- Run the AI issue solver and test improver daily by @lispandfound in #79
- Add tests for resource monitor, dask progress and logging config by @claude[bot] in #84
- Default model_globs to *.zarr and error when no models load by @claude[bot] in #90
- Reject non-positive --spacing and --downsample by @lispandfound in #74
- Remove tree stats module by @lispandfound in #93
- Make the Canterbury fence plot reproducible from output data by @lispandfound in #96
- Return floating elevations from Surface.transform for int coords by @claude[bot] in #95
- Add numerical tests for BackusAveragedLayer by @claude[bot] in #97
- Reject unknown keyword arguments in functional layers by @claude[bot] in #98
- Keep valid nodes and edges beside NaN nodes in Surface.transform by @claude[bot] in #94
- Drop out and where from ModelTree._query_many_raw by @claude[bot] in #99
- Add tests for convert_tomography.data_frame_to_mesh by @claude[bot] in #100
- Switch Criterion benchmarks to meta-ci-action/criterion-bench by @lispandfound in #101
New Contributors
Full Changelog: v2026.10.7...v2026.11.1
Model data
| File | Contents | SHA-256 |
|---|---|---|
| models-v2026.11.1.zip | Basin and tomography models | 3746a58d968c20803364f075e7b2cca267e6780d176ab5469b9baaefdc65da54 |
| sites-v2026.11.1.zip | Site database: profiles, and Vs30, Z1.0 and Z2.5 per station | d7b8b071284be48e1645d6fe45a41c2acfc487c2de72d46a73b270c2bdafdb50 |
| resources.zip | Vs30, DEM and coastline that the models build from | 2df8d67fa087cf30b28f709984d5886271083a302bfa74e8d34f91eab51380c4 |
Built from nzcvm_data@c547c43.