WeatherRoutingTool package
Subpackages
- WeatherRoutingTool.algorithms package
- Submodules
- WeatherRoutingTool.algorithms.data_utils module
- WeatherRoutingTool.algorithms.genetic module
- WeatherRoutingTool.algorithms.genetic.crossover module
- WeatherRoutingTool.algorithms.genetic.population module
- WeatherRoutingTool.algorithms.genetic.mutation module
- WeatherRoutingTool.algorithms.genetic.patcher module
- WeatherRoutingTool.algorithms.genetic.repair module
- WeatherRoutingTool.algorithms.genetic.mcdm module
- WeatherRoutingTool.algorithms.genetic.utils module
- WeatherRoutingTool.algorithms.isobased module
- WeatherRoutingTool.algorithms.isochrone module
- WeatherRoutingTool.algorithms.isofuel module
- WeatherRoutingTool.algorithms.routingalg module
- WeatherRoutingTool.algorithms.routingalg_factory module
- Module contents
- WeatherRoutingTool.constraints package
- WeatherRoutingTool.ship package
- Submodules
- WeatherRoutingTool.ship.ship module
- WeatherRoutingTool.ship.ship_factory module
- WeatherRoutingTool.ship.shipparams module
ShipParamsShipParams.air_temperatureShipParams.define_courses()ShipParams.expand_axis_for_intermediate()ShipParams.flip()ShipParams.fuel_rateShipParams.fuel_typeShipParams.get_air_temperature()ShipParams.get_element()ShipParams.get_fuel_rate()ShipParams.get_fuel_type()ShipParams.get_message()ShipParams.get_power()ShipParams.get_pressure()ShipParams.get_rcalm()ShipParams.get_reduced_2D_object()ShipParams.get_rpm()ShipParams.get_rroughness()ShipParams.get_rshallow()ShipParams.get_rwaves()ShipParams.get_rwind()ShipParams.get_salinity()ShipParams.get_single_object()ShipParams.get_speed()ShipParams.get_status()ShipParams.get_u_currents()ShipParams.get_u_wind_speed()ShipParams.get_v_currents()ShipParams.get_v_wind_speed()ShipParams.get_water_temperature()ShipParams.get_wave_direction()ShipParams.get_wave_height()ShipParams.get_wave_period()ShipParams.messageShipParams.powerShipParams.pressureShipParams.print()ShipParams.print_shape()ShipParams.r_calmShipParams.r_roughnessShipParams.r_shallowShipParams.r_wavesShipParams.r_windShipParams.rpmShipParams.salinityShipParams.select()ShipParams.set_air_temperature()ShipParams.set_default_array()ShipParams.set_default_array_1D()ShipParams.set_fuel_rate()ShipParams.set_message()ShipParams.set_power()ShipParams.set_pressure()ShipParams.set_rcalm()ShipParams.set_rpm()ShipParams.set_rroughness()ShipParams.set_rshallow()ShipParams.set_rwaves()ShipParams.set_rwind()ShipParams.set_salinity()ShipParams.set_speed()ShipParams.set_status()ShipParams.set_u_currents()ShipParams.set_u_wind_speed()ShipParams.set_v_currents()ShipParams.set_v_wind_speed()ShipParams.set_water_temperature()ShipParams.set_wave_direction()ShipParams.set_wave_height()ShipParams.set_wave_period()ShipParams.speedShipParams.statusShipParams.u_currentsShipParams.u_wind_speedShipParams.v_currentsShipParams.v_wind_speedShipParams.water_temperatureShipParams.wave_directionShipParams.wave_heightShipParams.wave_period
- Module contents
- WeatherRoutingTool.utils package
- Submodules
- WeatherRoutingTool.utils.formatting module
- WeatherRoutingTool.utils.graphics module
create_map()create_maps()generate_basemap()get_accumulated_dist()get_colour()get_figure_path()get_gcr_points()get_hist_values_from_boundaries()get_hist_values_from_widths()get_linestyle()get_marker()get_route_lc()get_standard()get_standard_fig()merge_figs()plot_barbs()plot_gcr()plot_genetic_algorithm_initial_population()plot_legend()rebin()set_graphics_standards()write_graph_to_csv()
- WeatherRoutingTool.utils.maps module
- WeatherRoutingTool.utils.unit_conversion module
- Module contents
Submodules
WeatherRoutingTool.config module
WeatherRoutingTool.execute_routing module
WeatherRoutingTool.routeparams module
- class WeatherRoutingTool.routeparams.RouteParams(count, start, finish, gcr, route_type, time, lats_per_step, lons_per_step, course_per_step, dists_per_step, starttime_per_step, ship_params_per_step)[source]
Bases:
objectThis is a Container class for route parameters. Parameters are assumed to be constant for every route segment (= distance from one coordinate pair to the following). The parameters for each routing step are tied to the start point of each route segment. Since the number of routing steps is by one smaller than the number of coordinate pairs, the arrays of this container class exhibit different lengths:
Type 1: count + 1: dists_per_step, ship_params_per_step, courses_per_step
Type 2: count + 2: lats_per_step, lons_per_step, starttime_per_step
When the RouteParams object is written to json file, the full arrays of type 2 are written. The corresponding values from the arrays of type 1 are set to -99 for the last coordinate pair.
- count: int
- course_per_step: tuple
- dists_per_step: tuple
- finish: tuple
- gcr: tuple
- static get_per_waypoint_coords(route_lons: ndarray, route_lats: ndarray, start_time: datetime, bs: Quantity)[source]
- lats_per_step: tuple
- lons_per_step: tuple
- route_type: str
- ship_params_per_step: ShipParams
- start: tuple
- starttime_per_step: tuple
- time: timedelta