Installation for development

uv sync --group dev
$env:PYTHONPATH = "src"
.\.venv311\Scripts\python -c "import lidarpy; print(lidarpy.__name__)"

Run the fast validation tests

$env:PYTHONPATH = "src"
$env:MPLBACKEND = "Agg"
.\.venv311\Scripts\python -m pytest tests\synthetic tests\retrieval -q -p no:cacheprovider

Build distribution artifacts

$env:UV_PYTHON_INSTALL_DIR = ".uv-python"
$env:UV_CACHE_DIR = ".uv-cache"
$env:UV_PROJECT_ENVIRONMENT = ".venv311"
uv build

On Windows, use local pytest base temp directories. Large RAW conversion tests can generate sizeable NetCDF files and should be run in chunks.