Discover Data Availability for Data Products
# Get the token from your Oceans 3.0 profile page
from onc import ONC
onc = ONC("YOUR_TOKEN")
/dataAvailability/dataproducts
Get data availability from a specific location and a device category
Return which data products are available with deviceCategoryCode “BPR” at location Barkley Upper Slope ( locationCode:”NCBC”).
params = {
"deviceCategoryCode": "BPR",
"locationCode": "NCBC",
}
onc.getDataAvailability(params)
Get data availability from a specific device with a specific extension
Return which data products are available with deviceCode “BPR_BC” and extension “raw”
params = {
"deviceCode": "BPR_BC",
"extension": "raw",
}
onc.getDataAvailability(params)