ships_parser

tropycal.utils.ships_parser(content)[source]

Parses SHIPS text data into multiple sorted dictionaries.

Parameters

content (str) – SHIPS file content.

Returns

dict – Dictionary containing parsed SHIPS data.

Notes

This function is referenced internally when creating SHIPS objects, but can also be used as a standalone function.