-
Notifications
You must be signed in to change notification settings - Fork 15
Add SpectralIndex transform #300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #300 +/- ##
==========================================
+ Coverage 98.30% 98.34% +0.03%
==========================================
Files 49 50 +1
Lines 1416 1450 +34
==========================================
+ Hits 1392 1426 +34
Misses 24 24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new SpectralIndex transform that enables computation of 247 spectral indices from SpectralIndices.jl for general tables. The transform allows users to compute various vegetation, water, and other spectral indices with flexible column name mapping.
- Implements SpectralIndex transform with support for 247 spectral indices
- Adds flexible band mapping through keyword arguments
- Includes comprehensive error handling and helpful error messages
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/transforms/spectralindex.jl | Core implementation of SpectralIndex transform with band mapping and computation logic |
| src/TableTransforms.jl | Adds SpectralIndices dependency and exports new transform and utility functions |
| src/transforms.jl | Includes new spectralindex.jl file in module |
| test/transforms/spectralindex.jl | Comprehensive test suite covering standard/non-standard column names and error cases |
| test/transforms.jl | Adds spectralindex.jl to test file list |
| docs/src/transforms.md | Adds documentation section for SpectralIndex transform |
Co-authored-by: Elias Carvalho <[email protected]>
This transform makes 247 spectral indices from SpectralIndices.jl available for general tables.