Get Vessel States For Date
Retrieve list of vessel states for the entire fleet for a single date.
- class oceanbolt.sdk.data.vessel_states.VesselStatesForDate(client: APIClient)[source]
The
VesselStatesForDate
returns list of VesselStates for the entire fleet for the date specified.
Example
Retrive vessel states for the entire fleet for the 1st of january 2020.
from oceanbolt.sdk.client import APIClient
from oceanbolt.sdk.data.vessel_states import VesselStatesForDate
from datetime import date
base_client = APIClient("<token>")
df = VesselStatesForDate(base_client).get(
date=date(2020, 1, 1),
)
Returns:
Arguments
Response
- class oceanbolt.com.vesselstates_v3.types.VesselStatesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]
Request message for VesselStateService.GetVesselStates and VesselStateService.GetVesselStatesForDate.
- vessel_states
A collection of VesselState objects that is returned by the API.
- Type:
MutableSequence[oceanbolt.com.vesselstates_v3.types.VesselState]
- class oceanbolt.com.vesselstates_v3.types.VesselState(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]
VesselState object
- vessel_name
Name of the vessel.
- Type:
- imo
IMO number of the vessel.
- Type:
- mmsi
MMSI number of the vessel.
- Type:
- timestamp
UTC timestamp for the VesselState.
- Type:
- dwt
DWT of the vessel.
- Type:
- segment
Segment of the vessel.
- Type:
- sub_segment
Sub segment of the vessel.
- Type:
- vessel_type
The vessel type.
- Type:
- zone_id
Database identifier of the zone
- Type:
- zone_name
Name of the zone
- Type:
- port_id
Database identifier of the port
- Type:
- port_name
Name of the port
- Type:
- anchorage_id
Database identifier of the anchorage
- Type:
- anchorage_name
Name of the anchorage
- Type:
- berth_id
Database identifier of the berth
- Type:
- berth_name
Name of the berth
- Type:
- shipyard_id
Database identifier of the shipyard
- Type:
- shipyard_name
Name of the shipyard
- Type:
- related_port_id
Port id of the parent port (for vessels that are in anchorage/berth/shipyard)
- Type:
- related_port_name
Name of the parent port (for vessels that are in anchorage/berth/shipyard)
- Type:
- vessel_status
Status of the vessel
- Type:
- laden_status_model
The laden status of the vessel as determined from the the Oceanbolt Algorithms, taking into account prior berth visits, prior draught changes etc.
- Type:
- laden_status_draught
The laden status according to the current draught as reported by the Master.
- Type:
- destination
Destination as reported by the crew
- Type:
- destination_port_id
Parsed destination port id
- Type:
- destination_port_unlocode
Parsed destination port unlocode
- Type:
- destination_port_name
Parsed destination port name
- Type:
- destination_region
Parsed destination region
- Type:
- destination_country_code
Parsed destination country code
- Type:
- destination_score
Destination score for parsed destination result
- Type:
- predicted_destination_port_id
Predicted destination port id
- Type:
- predicted_destination_port_unlocode
Predicted destination port unlocode
- Type:
- predicted_destination_port_name
Predicted destination port name
- Type:
- predicted_destination_region
Predicted destination region
- Type:
- predicted_destination_country_code
Predicted destination country code
- Type:
- predicted_destination_score
Destination score for predicted destination result
- Type:
- prediction_destination_description
description of how the prediction destination was determined
- Type:
- predicted_arrival
the predicted arrival to the predicted destination port
- Type:
- eta
- Type:
- navigational_status
Navigational status of the vessel
- Type:
- navigational_status_code
Navigational status code of the vessel
- Type:
- port_call_status
- Type:
- commodity_id
Commodity id of the commodity carried
- Type:
- commodity_group
Name of the commodity group carried
- Type:
- commodity_name
Name of the commodity carried
- Type:
- direction
The direction of the vessel
- Type:
- speed_status
Indicating the speed of vessel
- Type:
- last_visited_port_id
Database identifier of the last port visited (regardless of what operation happened in the port)
- Type:
- last_visited_port_name
Name of the last port visited (regardless of what operation happened in the port)
- Type:
- last_ops_port_id
Database identifier of the last port where load or discharge operation occurred
- Type:
- last_ops_port_name
Name of the last port where load or discharge operation occurred
- Type:
- volume_on_board
The estimated amount of volume onboard the vessel
- Type:
- hours_carried_forward
A indicator describing if the given VesselState was recorded directly from AIS, or if it was backfilled and carried forward from the last received observation. The value is zero for observations that are derived directly from a received AIS position, for observations that are carried forward the value will indicate the number of hours the current observations has been carried forward.
- Type: