Contributing
We welcome contributions. To get started, clone the repository and install the test dependency group. Building from source requires a Rust toolchain for the topozarr-core kernel (in core/):
Run the tests:
Run the conformance tests against the GeoZarr spec (requires the conformance group):
The kernel exports its coarsening methods as topozarr_core.METHODS. create_pyramid(method=...) validates against this list, so if topozarr is paired with a kernel that's missing a method, it fails when building the plan rather than partway through a write. A test keeps the CoarseningMethod alias in sync with the list.
Lint and format the code:
To regenerate the demo datasets on S3 (requires AWS credentials), install the tutorial extra and run the build script:
License
This code is licensed under the MIT License. See the LICENSE file for details.
About
CarbonPlan is a nonprofit organization that uses data and science for climate action. Find out more at carbonplan.org or get in touch by opening an issue or emailing us.