Variables
Last updated
Last updated
The primary organizational component for all Marine Weather data is referred to as a "variable." Variables can be thought of as the term used to classify all types (e.g. "hindcast," "forecast") of a particular data point. Sofar Ocean uses consistent variable names across all of its Marine Weather API endpoints. Each variable consists of the following four attributes:
variableName The canonical name used to identify the variable across all Marine Weather API endpoints
variableID
A human readable identifier in the format {modelName}-{variableName}
physicalUnit The unit of measurement that the variable's values are represented in
values An array of predictions or measurements of the variable for a specified moments in time. The structure and contents of this attribute will depend on which data endpoint was used to retrieve data for this variable
Variable |
---|
Variable |
---|
Variable |
---|
significantWaveHeight
meanDirection
meanDirectionalSpread
meanPeriod
peakFrequency
peakDirection
significantWaveHeightWindWaves
meanDirectionWindWaves
meanDirectionalSpreadWindWaves
peakPeriodWindWaves
significantWaveHeightFirstSwell
meanDirectionFirstSwell
meanDirectionalSpreadFirstSwell
peakPeriodFirstSwell
significantWaveHeightSecondSwell
meanDirectionSecondSwell
meanDirectionalSpreadSecondSwell
peakPeriodSecondSwell
significantWaveHeightThirdSwell
meanDirectionThirdSwell
meanDirectionalSpreadThirdSwell
peakPeriodThirdSwell
windVelocity10MeterEastward
windVelocity10MeterNorthward
surfaceCurrentVelocityEastward
surfaceCurrentVelocityNorthward
seaSurfaceTemperature
salinity