Camera.apply_date_range¶
- Camera.apply_date_range()[source]¶
This method filters images by date, setting any whose
observation_dateis not betweenstart_dateandend_dateto False.This method uses the
start_dateandend_dateattributes to create a date range. It then checks theobservation_dateattribute of eachOpNavImagecontained in theimagesto identify which images are in the specified date range. If an image was not taken during the specific date range, then the corresponding index of theimage_masklist is set toFalse.Note
This method must be called after all other filter methods, such as
only_long_on().Note
If either the
start_dateorend_dateattributes are type None, they will not be consideredNote
This method does not turn on any images that are turned off, even if they fall within the date range.
- Return type:
None