Add point extraction utility
Summary
- implement
extract_point_values
helper for netCDF point extractions - expose helper in pollution_extraction package
- add mypy configuration
- test point extraction
- clean up
main.py
Testing
ruff check .
mypy .
pytest -q
https://chatgpt.com/codex/tasks/task_e_6845b4d6a5a0832d9c912fe53aae7f0a
Summary by CodeRabbit
-
New Features
- Introduced a utility for extracting averaged variable values from netCDF datasets at specified geographic points, supporting CSV, shapefile, and GeoJSON input formats.
- Added the ability to filter data temporally based on date columns and configurable time windows.
- Results can be exported to CSV or JSON formats.
-
Documentation
- Added a package-level description for pollution extraction utilities.
-
Tests
- Added tests to verify the correct extraction of point values from netCDF datasets.
-
Chores
- Added configuration for MyPy static type checking.
- Removed unused library imports from the main script.