Skip to content

Latest commit

 

History

History
57 lines (28 loc) · 1.36 KB

pycmap_cruise_ST_bounds.rst

File metadata and controls

57 lines (28 loc) · 1.36 KB

Cruise Spatio-Temporal Bounds

image

image

cruise_bounds(cruiseName)

Returns a dataframe containing the spatio-temporal bounding box accosiated with the specified cruise. Effectively, this method returns a subset of the outputs returned by the cruise_by_name method.

Parameters

cruiseName: string The official cruise name. If applicable, you may also use cruise "nickname" ('Diel', 'Gradients_1' ...). A full list of cruise names can be retrieved using cruise method.

returns

Pandas dataframe.

Example

#!pip install pycmap -q     #uncomment to install pycmap, if necessary

import pycmap

api = pycmap.API(token='<YOUR_API_KEY>')
api.cruise_bounds('KOK1606')

SQL Statement

Here is how to achieve the same results using a direct SQL statement. Please refer to query for more information.

EXEC uspCruiseByName 'KOK1606'