sloop.models.hycom3d.io.parse_scalar_declaration

sloop.models.hycom3d.io.parse_scalar_declaration(line)[source]

Parse a string that declare a scalar

Format: `` 720 ‘idm ‘ = longitudinal array size``

Parameters

line (str) –

Returns

(name, value, description) where value is converted to its numerical form with eval.

Return type

tuple