Hindcast Data
Last updated
Last updated
Sofar Ocean provides access to its hindcast data for historical analyses. Hindcast data is historical forecast data that reflects the most accurate prediction Sofar Ocean generated for this time period.
The hindcast endpoint can be used to retrieve historical data at specific geographic locations. It returns data for variables from a specified model at a single latitude and longitude point at a single point in time or within a defined time range.
GET
https://api.sofarocean.com/marine-weather/v1/models/:model_id/hindcast/point
Returns hindcast data for variables from a specified model at a single latitude and longitude point for a defined time range (based on the provided start
and end
query parameters).
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.sofarocean.com/marine-weather/v1/models/:model_id/hindcast/point
Returns hindcast data for variables from a specified model at a single latitude and longitude point for a single point in time.
Valid examples and their corresponding responses are available on the Hindcast Data examples page.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
model_id*
string
The ID of the model from which you want to retrieve hindcast data
token*
string
A valid API token
variableIDs*
array
A comma separated list of variable ID strings which you want to retrieve as part of the forecast data. (Limit 3 IDs.)
A list of valid variable IDs for any given model can be retrieved from the model metadata endpoint.
longitude*
number
The longitude of the requested hindcast point. Can be either positive or negative.
latitude*
number
The latitude of the requested hindcast point. Must be between -90 and 90 degrees.
start
string
end
string
model_id*
string
The ID of the model from which you want to retrieve hindcast data
token*
string
A valid API token
variableIDs*
array
A comma separated list of variable ID strings which you want to retrieve as part of the forecast data. (Limit 3 IDs.)
A list of valid variable IDs for any given model can be retrieved from the model metadata endpoint.
longitude*
number
The longitude of the requested hindcast point. Can be either positive or negative.
latitude*
number
The latitude of the requested hindcast point. Must be between -90 and 90 degrees.
timestamp
string