Discover Data Products

# Get the token from your Oceans 3.0 profile page
from onc import ONC

onc = ONC("YOUR_TOKEN")

/dataProducts

Get all data products and their individual parameters from Oceans 3.0

onc.getDataProducts()

Get the data product options that are available for a specific data product code

Return all data product options for the dataProductCodeTSSD” (“Time Series Scalar Data”).

params = {
    "dataProductCode": "TSSD",
}
onc.getDataProducts(params)

Get all data product options that are available with a specific file extension

Return all data product options which are available for the extensionpdf”.

params = {
    "extension": "pdf",
}
onc.getDataProducts(params)

Get all data product options available for a specific data product code and specific file extension

Return all data product options which are available for the dataProductCodeTSSD” and extensioncsv”.

params = {
    "dataProductCode": "TSSD",
    "extension": "csv",
}
onc.getDataProducts(params)

Get all data product options which have a certain word in the data product name

Return all data product options which have “scalar” in the name.

params = {
    "dataProductName": "scalar",
}
onc.getDataProducts(params)

Get all data product options that are available at a specific location on ONCs network

Return all data product options that are available at the location with the locationCodeBACAX” (“Barkley Canyon Axis (POD1)”).

params = {
    "locationCode": "BACAX",
}
onc.getDataProducts(params)

Get all data product options that are available for a specific file extension at a specific locationCode

Return all data product options that are available for the extensionmat” at the location with the locationCodeBACAX” (“Barkley Canyon Axis (POD1)”).

params = {
    "extension": "mat",
    "locationCode": "BACAX",
}
onc.getDataProducts(params)

Get all data products and their filter parameter options that are available on a specific deployed device

Return all data product codes available for a device with the deviceCodeNORTEKAQDPRO8398”.

params = {
    "deviceCode": "NORTEKAQDPRO8398",
}
onc.getDataProducts(params)

Get all data product options that are available for a specific device category

Return all data product options which are available for the deviceCategoryCodeADCP150KHZ”.

params = {
    "deviceCategoryCode": "ADCP150KHZ",
}
onc.getDataProducts(params)