This repo is a living document for me to learn about working with geospatial data in python. It started as a simple attempt to read some ERA5 (ECMWF's climate data reanalysis) data, but has additionally involved into hodgepodge of experimenting with structuring python projects under uv, using marimo for notebooks, learning about useful libraries for geospatial data analysis like xarray, dask, and cartopy, and generally exploring geospatial.
Finally, it's also a test of using Google Antigravity as an IDE.
- Guides
- My Writeups
Install dependencies and setup prek:
uv sync --dev
uv run prek install -fRun marimo notebooks:
uv run marimo edit notebooks/data_access_patterns.pyRun scripts:
uv run download-era5 # Download ERA5 data
uv run explore-era5 # Explore ERA5 dataRun tests:
uv run pytest tests/This project uses prek for pre-commit checks with with a very astral-y code quality setup of ruff and ty. See .pre-commit-config.yaml for details.
You can run the full suite of checks manually at any time:
# Run all prek hooks
uv run prek run --all-files
# Or run individual tools
uv run ruff check .
uv run ty check