Skip to content

Remove GEE dependency (APR-180)#49

Merged
JacobSampson merged 1 commit into
mainfrom
agent/backend-dev/ab31d076
Jun 7, 2026
Merged

Remove GEE dependency (APR-180)#49
JacobSampson merged 1 commit into
mainfrom
agent/backend-dev/ab31d076

Conversation

@JacobSampson

Copy link
Copy Markdown
Contributor

Summary

Closes APR-180. APR-179 confirmed the STAC path is live in the app; this PR removes the old GEE-based module entirely.

  • Deleted src/onkia/satellite_lst.py (Google Earth Engine module, 623 lines)
  • Deleted tests/test_satellite_lst.py (GEE-specific tests, 404 lines)
  • Moved shared types and utilities (LSTObservation, LSTHistoryPoint, NDCIObservation, LAKE_ACRES, celsius_to_fahrenheit, kelvin_to_celsius, ndci_to_category, lake_radius_m) into satellite_lst_stac.py, removing the cross-module import
  • Updated tests/test_satellite_lst_stac.py to import those types from satellite_lst_stac
  • Removed earthengine-api>=0.1.370 from pyproject.toml and requirements.txt

Test plan

  • All 24 STAC satellite tests pass (tests/test_satellite_lst_stac.py)
  • 218 total tests pass across the suite
  • No remaining import onkia.satellite_lst references (only satellite_lst_stac)
  • No remaining earthengine-api or ee.Initialize references in any Python file

🤖 Generated with Claude Code

Now that APR-179 confirmed the STAC path is live in the app:
- Delete src/onkia/satellite_lst.py (GEE-based satellite module)
- Delete tests/test_satellite_lst.py (tests for the old GEE module)
- Move shared dataclasses, constants, and utility functions (LSTObservation,
  LSTHistoryPoint, NDCIObservation, LAKE_ACRES, celsius_to_fahrenheit, etc.)
  directly into satellite_lst_stac.py, removing the cross-module import
- Update test_satellite_lst_stac.py to import those types from satellite_lst_stac
- Remove earthengine-api>=0.1.370 from pyproject.toml and requirements.txt

All 218 relevant tests pass. Fixes APR-180.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codesandbox

codesandbox Bot commented Jun 7, 2026

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@JacobSampson JacobSampson merged commit 80a71fd into main Jun 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant