{
  "place_id": "NMS:NMSAS",
  "dataset_id": "cmems_altimetry",
  "variable": "tob",
  "categorical": false,
  "start_date": "2022-06-01",
  "end_date": "2025-05-18",
  "start_datetime": "2022-06-01T12:00:00Z",
  "end_datetime": "2025-05-18T12:00:00Z",
  "record_start": "2022-06-01",
  "lobes": 1,
  "mask_cells": 492,
  "axes": [
    {
      "bbox": [
        -171.1409031,
        -15.3861496,
        -167.2835263,
        -10.9975996
      ],
      "lon": [
        -171.16667,
        -171.08333,
        -171,
        -170.91667,
        -170.83333,
        -170.75,
        -170.66667,
        -170.58333,
        -170.5,
        -170.41667,
        -170.33333,
        -170.25,
        -170.16667,
        -170.08333,
        -170,
        -169.91667,
        -169.83333,
        -169.75,
        -169.66667,
        -169.58333,
        -169.5,
        -169.41667,
        -169.33333,
        -169.25,
        -169.16667,
        -169.08333,
        -169,
        -168.91667,
        -168.83333,
        -168.75,
        -168.66667,
        -168.58333,
        -168.5,
        -168.41667,
        -168.33333,
        -168.25,
        -168.16667,
        -168.08333,
        -168,
        -167.91667,
        -167.83333,
        -167.75,
        -167.66667,
        -167.58333,
        -167.5,
        -167.41667,
        -167.33333,
        -167.25
      ],
      "lat": [
        -15.416664,
        -15.333328,
        -15.25,
        -15.166664,
        -15.083328,
        -15,
        -14.916664,
        -14.833328,
        -14.75,
        -14.666664,
        -14.583328,
        -14.5,
        -14.416664,
        -14.333328,
        -14.25,
        -14.166664,
        -14.083328,
        -14,
        -13.916664,
        -13.833328,
        -13.75,
        -13.666664,
        -13.583328,
        -13.5,
        -13.416664,
        -13.333328,
        -13.25,
        -13.166664,
        -13.083328,
        -13,
        -12.916664,
        -12.833328,
        -12.75,
        -12.666664,
        -12.583328,
        -12.5,
        -12.416664,
        -12.333328,
        -12.25,
        -12.166664,
        -12.083328,
        -12,
        -11.916664,
        -11.833328,
        -11.75,
        -11.666664,
        -11.583328,
        -11.5,
        -11.416664,
        -11.333328,
        -11.25,
        -11.166664,
        -11.083328,
        -11
      ]
    }
  ],
  "griddap_urls": [
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_altimetry.parquet?tob%5B(2022-06-01T12:00:00Z):1:(2022-12-28T12:00:00Z)%5D%5B(-15.416664):1:(-11)%5D%5B(-171.16667):1:(-167.25)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_altimetry.parquet?tob%5B(2022-12-29T12:00:00Z):1:(2023-07-27T12:00:00Z)%5D%5B(-15.416664):1:(-11)%5D%5B(-171.16667):1:(-167.25)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_altimetry.parquet?tob%5B(2023-07-28T12:00:00Z):1:(2024-02-23T12:00:00Z)%5D%5B(-15.416664):1:(-11)%5D%5B(-171.16667):1:(-167.25)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_altimetry.parquet?tob%5B(2024-02-24T12:00:00Z):1:(2024-09-21T12:00:00Z)%5D%5B(-15.416664):1:(-11)%5D%5B(-171.16667):1:(-167.25)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_altimetry.parquet?tob%5B(2024-09-22T12:00:00Z):1:(2025-04-20T12:00:00Z)%5D%5B(-15.416664):1:(-11)%5D%5B(-171.16667):1:(-167.25)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_altimetry.parquet?tob%5B(2025-04-21T12:00:00Z):1:(2025-05-18T12:00:00Z)%5D%5B(-15.416664):1:(-11)%5D%5B(-171.16667):1:(-167.25)%5D"
  ],
  "griddap_url_templates": [
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_altimetry.parquet?tob%5B({t0}):1:({t1})%5D%5B(-15.416664):1:(-11)%5D%5B(-171.16667):1:(-167.25)%5D"
  ],
  "griddap_chunks": [
    [
      "2022-06-01T12:00:00Z",
      "2022-12-28T12:00:00Z"
    ],
    [
      "2022-12-29T12:00:00Z",
      "2023-07-27T12:00:00Z"
    ],
    [
      "2023-07-28T12:00:00Z",
      "2024-02-23T12:00:00Z"
    ],
    [
      "2024-02-24T12:00:00Z",
      "2024-09-21T12:00:00Z"
    ],
    [
      "2024-09-22T12:00:00Z",
      "2025-04-20T12:00:00Z"
    ],
    [
      "2025-04-21T12:00:00Z",
      "2025-05-18T12:00:00Z"
    ]
  ],
  "griddap_requests": 6,
  "rows": 464,
  "bytes": 18770,
  "generated": "2026-10-22T14:37:39Z",
  "erddap_base": "https://erddap.oceanmetrics.io/erddap",
  "erddap_version": "2.31.1",
  "sql": "-- daily key statistics for one place from an ERDDAP griddap slab.\n--   s.\"tob\"  the value expression over the slab alias `s` (e.g. s.\"CRW_SST\", or\n--             (s.\"analysed_sst\" - 273.15) to convert Kelvin to Celsius)\n--   (SELECT DISTINCT * FROM read_parquet([<one griddap slab per lobe for the chunk>]))  the registered griddap file (parquet) or view\n--   mask  the mask table: latitude, longitude, weight (0,1]\n-- the join is an exact equality on ROUND(x, 3): the ERDDAP axis is float32 in the parquet and float64\n-- in the JS mask, so 21.375 arrives as 21.374999... on one side; rounding to the grid's 3 decimals\n-- (0.05 spacing) makes the two match without a tolerance join.\nSELECT\n  -- utc day; via epoch_ms because duckdb-wasm ships without icu, so TIMESTAMPTZ::DATE is unimplemented there\n  make_timestamp(epoch_ms(s.\"time\") * 1000)::DATE   AS date,\n  count(s.\"tob\")                                  AS n,\n  avg(s.\"tob\")                                    AS mean,\n  sum(s.\"tob\" * m.weight) / sum(m.weight)         AS mean_wt,\n  stddev_samp(s.\"tob\")                            AS sd,\n  min(s.\"tob\")                                    AS min,\n  max(s.\"tob\")                                    AS max,\n  quantile_cont(s.\"tob\", 0.10)                    AS p10,\n  quantile_cont(s.\"tob\", 0.90)                    AS p90,\n  sum(m.weight)                                     AS weight_sum\nFROM (SELECT DISTINCT * FROM read_parquet([<one griddap slab per lobe for the chunk>])) s\nJOIN mask m\n  ON  ROUND(s.latitude::DOUBLE,  3) = ROUND(m.latitude::DOUBLE,  3)\n  AND ROUND(s.longitude::DOUBLE, 3) = ROUND(m.longitude::DOUBLE, 3)\nWHERE s.\"tob\" IS NOT NULL\nGROUP BY 1\nORDER BY 1"
}
