flight_collection module
Collection of Data to Science flights associated with a project.
Source code in d2spy/models/flight_collection.py
filter_by_date(start_date, end_date)
¶
Returns collection of flights within the acquisition date range.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
start_date
|
date
|
Starting date for the flight acquisition date range. |
required |
end_date
|
date
|
Ending date for the flight acquisition date range. |
required |
Returns:
Name | Type | Description |
---|---|---|
FlightCollection |
FlightCollection
|
Collection of flights within the acquisition date range. |
Source code in d2spy/models/flight_collection.py
filter_by_sensor(sensor, exact=False)
¶
Returns collection of flights with specified sensor.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
sensor
|
str
|
Sensor of interest. |
required |
exact
|
bool
|
Must be exact match. Defaults to False. |
False
|
Returns:
Name | Type | Description |
---|---|---|
FlightCollection |
FlightCollection
|
Collection of flights with matching sensor. |