8/8 Add bounded forward filling for satellite indices - #45
Open
Timothy-W-Hilton wants to merge 1 commit into
Open
8/8 Add bounded forward filling for satellite indices#45Timothy-W-Hilton wants to merge 1 commit into
Timothy-W-Hilton wants to merge 1 commit into
Conversation
Provide an opt-in per-pixel forward-fill method for EVI, LSWI, or caller-selected satellite indices after timestamp merging. Preserve leading and over-age gaps as missing through an optional observation-age limit, and add regression coverage for independent pixel histories and bounded carry-forward behavior. Runs much faster than LOWESS.
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.
Add bounded forward filling for satellite indices
Summary
Add an optional preprocessor method for per-pixel forward filling of satellite indices such as EVI and LSWI across satellite images. It is intended for applications that choose a bounded use-most-recent-valid-observation policy for cloud-obscured or otherwise missing observations.
Behavior
vprm_preprocessor.forward_fill_satellite_indices():max_age_dayslimit;NaN.The method must be called after
sort_and_merge_by_timestamp(), which stores image time as elapsed days from the first image, and before calculations that derive VPRM statistics from the satellite indices.Example
Calling the method is optional: existing workflows retain their current missing-data behavior unless they explicitly opt in.
Validation
1 passed.