pipeline.src.flows.beacons
Functions
|
Extract beacon numbers of all vessels from Poseidon. |
|
Maps Posedion beacon status to Monitorfish BeaconStatus and maps the |
|
|
|
|
|
|
Module Contents
- pipeline.src.flows.beacons.extract_beacons() pandas.DataFrame[source]
Extract beacon numbers of all vessels from Poseidon.
- pipeline.src.flows.beacons.transform_beacons(beacons: pandas.DataFrame) pandas.DataFrame[source]
Maps Posedion beacon status to Monitorfish BeaconStatus and maps the 1, 0 and np.nan values in is_coastal to True, False and None respectively.
- Parameters:
beacons (pd.DataFrame) – DataFrame of beacons extracted from Poseidon
- Returns:
- beacons with status mapped to BeaconStatus and is_coastal
mapped to True, False and None.
- Return type:
pd.DataFrame