Add grouping parameters for the 'viirs_sdr' reader #816
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 allows someone to use the
group_files
utility function orMultiScene.from_files
class method with a series of VIIRS SDR files and have them be sorted by orbit and platform. This differs from what would normally be done where onlystart_time
and maybe platform would be used. I made the assumption that most people would want to group orbits together instead of individual granules and I wanted that to work by default. So as an example:Would give you two groups, one for the NOAA-20 files and one for the NPP files. You could also give it two orbits of either one of these platforms. You could get around this by doing something like:
I'm open to discussion of making the start_time version the default and requiring people to use
time_threshold
to get "chunks" of data.flake8 satpy