Cruise Variables¶
-
cruise_variables
(cruiseName)¶ Returns a dataframe containing all registered variables (at Simons CMAP) during the specified cruise.
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_variables('SCOPE_Falkor1')
SQL Statement
Here is how to achieve the same results using a direct SQL statement. Please refer to Query for more information.
EXEC uspCruiseVariablesByName 'Cruise Official Name'
Example:
EXEC uspCruiseVariablesByName 'FK180310-1'