Hindcast Data

Overview

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.

Endpoint

Retrieve hindcast data for time range at a geographic location

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).

Path Parameters

Name
Type
Description

model_id*

string

The ID of the model from which you want to retrieve hindcast data

Query Parameters

Name
Type
Description

token*

string

variableIDs*

array

A comma separated list of variable ID strings which you want to retrieve as part of the forecast data. (Limit 3 IDs.)

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

Retrieve hindcast data for a single point in time at a geographic location

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.

Path Parameters

Name
Type
Description

model_id*

string

The ID of the model from which you want to retrieve hindcast data

Query Parameters

Name
Type
Description

token*

string

variableIDs*

array

A comma separated list of variable ID strings which you want to retrieve as part of the forecast data. (Limit 3 IDs.)

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

Examples

Valid examples and their corresponding responses are available on the Hindcast Data examples page.

Last updated