Add support to subset files in time for stats analysis#792
Open
Add support to subset files in time for stats analysis#792
Conversation
Updated filtering conditions to use 'Localtime' for date range checks.
Added entry for temporal subsetting in raiderCombine.py and other updates.
jlmaurer
reviewed
Jan 15, 2026
| raider_folder: Path | ||
| gnss_folder: Path | ||
| raider_folder: List[Path] | ||
| gnss_folder: List[Path] |
Collaborator
There was a problem hiding this comment.
@sssangha could this be Union[List[Path], Path]?
Collaborator
Author
There was a problem hiding this comment.
I made the logic more consistent overall in the code, but the logic is as follows:
- Support wildcard/multiple path input in the parser
- Split into a list discrete individual paths and push them through as individual paths through the downstream function.
I verified the outputs I get now vs before this little clean-up are consistent though, so the files are being pushed through as we'd expect.
Collaborator
Author
There was a problem hiding this comment.
Hello @jlmaurer , following up. I worked this out and enforced consistency in the workflow. Please let me know what you think. Thanks
Updated the environment.yml file to include 'geopandas' and 'pyogrio' as dependencies, and modified the update command to use the '--prune' option.
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.
Added support within the
raiderCombine.pypipeline to support temporal subsetting, which is introduced as a new option--timeinterval.If a valid argument is provided, temporal sampling is performed in 2 phases:
--timeintervalin order to not lose valid observations due to time zone changes.--timeintervalonce 'Localtime' has been computedScreenshots (if appropriate):
Type of change
Checklist: