Contributing
Thank you for your interest in improving point-collocation!
Set Up a Dev Environment
git clone https://github.com/fish-pace/earthaccess_matchup.git
cd earthaccess_matchup
pip install -e ".[earthaccess,swath,dev]"
Install additional test dependencies required by some test modules (e.g. test_adapters.py needs netcdf4; h5netcdf and dask are used by integration tests):
Run Tests
To include the adapter tests (requires a running netCDF4 installation):
Code Style
The project uses Ruff for linting and formatting:
Type checking with mypy:
Run Documentation Locally
Install docs dependencies:
Serve locally with live reload:
Then open http://127.0.0.1:8000 in your browser.
Build the Docs
Output is written to the site/ directory (excluded from version control).
Submitting a PR
- Fork the repository and create a feature branch.
- Make your changes with tests where appropriate.
- Run
ruff check,mypy, andpytestbefore opening a PR. - Open a pull request against
main.