Using the data from fisheries.noaa.gov, this PR extends AIS_categories.csv. In addition to handling the ids > 1000, there are two changes:
The 'Port Tender' category is mapped to the simplified 'Passenger' category.
'Anti-pollution equipment' is mapped to a new, simplified 'Industrial' category.
I've just noticed if the diff that remapping 'Port Tender' removes simplified id 13 so I'll fix that now. Then I'll update the relevant notebooks at which point this PR can be merged.
Looks good, thanks. Be sure to call int() on the Vessel Type before looking it up, as some files have that field as a float (.0), and it might be parsed as string.
Using the data from fisheries.noaa.gov, this PR extends
AIS_categories.csv
. In addition to handling the ids > 1000, there are two changes:I've just noticed if the diff that remapping 'Port Tender' removes simplified id 13 so I'll fix that now. Then I'll update the relevant notebooks at which point this PR can be merged.