Skip to content

Risk type: band/dimension_mismatch

These 3 cases exercise the band/dimension_mismatch failure mode. Run your function against all of them to check how it behaves.

Use GeoCase in your tests

Install the complete set of vector, raster, and NetCDF dependencies:

pip install "geocase[all]"

View GeoCase on PyPI.

Case Category Format Geometry
CF Time Units and Non-Conventional Dimension Order netcdf NetCDF --
Polygon Z (GeoPackage) vector GPKG Polygon
Polygon Z (WKB) vector WKB Polygon