Skip to content

Conversation

@juliohm
Copy link
Member

@juliohm juliohm commented Jul 24, 2025

This transform makes 247 spectral indices from SpectralIndices.jl available for general tables.

@codecov-commenter
Copy link

codecov-commenter commented Jul 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.34%. Comparing base (db15486) to head (cdfa66b).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@juliohm juliohm requested a review from Copilot July 24, 2025 18:42
Copy link

Copilot AI left a 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

@juliohm juliohm requested a review from eliascarv July 24, 2025 18:47
@juliohm juliohm requested a review from eliascarv July 25, 2025 15:24
@juliohm juliohm merged commit 3257781 into master Jul 25, 2025
8 checks passed
@juliohm juliohm deleted the spectral-index branch July 25, 2025 17:09
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.

4 participants