Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

monte carlo: get_length #13

@RachaelDMueller

Description

@RachaelDMueller

General Monte Carlo overview plan is here

Function: get_length
Input: month, vessel_type, lat, lon
Select: Use vessel type and month to select shapefile (made by Cam) from set of ~108 shapefiles (12 months x 9 vessel types). Use lat/lon with circle or bounding box to select a set of vessel traffic line segments. Each shapefile will include the following attributes:

  • MMSI (vessel ID)
  • Vessel type (atb, barge, tanker, cargo, cruise, ferry, small passenger, fishing, other)
  • Timestamp
  • Vessel length

For the barge shapefiles: Add oil cargo vs. non-oil cargo
R4: Randomly select ship track from those within a bounding box, weighted by vessel time exposure. Use information from shapefile to define characteristics of that ship track.
Decide whether spill type is fuel or cargo if vessel type is atb, tanker, or oil barge. Use this decision on spill type to select from either tank or non-tank oil capacity and oil type.
Output: vessel length (m), origin/destination for tank traffic only oil type

Metadata

Metadata

Labels

monte-carloThis tasks with this tag are for use in the monte-carlo run

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions