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.
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 |
eliascarv
reviewed
Jul 25, 2025
eliascarv
reviewed
Jul 25, 2025
Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com>
eliascarv
approved these changes
Jul 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This transform makes 247 spectral indices from SpectralIndices.jl available for general tables.