{
  "place_id": "NMS:PMNM",
  "dataset_id": "cmems_salinity",
  "variable": "so",
  "categorical": false,
  "start_date": "2022-06-16",
  "end_date": "2025-02-15",
  "start_datetime": "2022-06-16T00:00:00Z",
  "end_datetime": "2025-02-15T00:00:00Z",
  "record_start": "2022-06-16",
  "lobes": 2,
  "mask_cells": 20031,
  "axes": [
    {
      "bbox": [
        -180,
        19.2345784,
        -161.01730609999998,
        31.7978642
      ],
      "lon": [
        -180,
        -179.91667,
        -179.83333,
        -179.75,
        -179.66667,
        -179.58333,
        -179.5,
        -179.41667,
        -179.33333,
        -179.25,
        -179.16667,
        -179.08333,
        -179,
        -178.91667,
        -178.83333,
        -178.75,
        -178.66667,
        -178.58333,
        -178.5,
        -178.41667,
        -178.33333,
        -178.25,
        -178.16667,
        -178.08333,
        -178,
        -177.91667,
        -177.83333,
        -177.75,
        -177.66667,
        -177.58333,
        -177.5,
        -177.41667,
        -177.33333,
        -177.25,
        -177.16667,
        -177.08333,
        -177,
        -176.91667,
        -176.83333,
        -176.75,
        -176.66667,
        -176.58333,
        -176.5,
        -176.41667,
        -176.33333,
        -176.25,
        -176.16667,
        -176.08333,
        -176,
        -175.91667,
        -175.83333,
        -175.75,
        -175.66667,
        -175.58333,
        -175.5,
        -175.41667,
        -175.33333,
        -175.25,
        -175.16667,
        -175.08333,
        -175,
        -174.91667,
        -174.83333,
        -174.75,
        -174.66667,
        -174.58333,
        -174.5,
        -174.41667,
        -174.33333,
        -174.25,
        -174.16667,
        -174.08333,
        -174,
        -173.91667,
        -173.83333,
        -173.75,
        -173.66667,
        -173.58333,
        -173.5,
        -173.41667,
        -173.33333,
        -173.25,
        -173.16667,
        -173.08333,
        -173,
        -172.91667,
        -172.83333,
        -172.75,
        -172.66667,
        -172.58333,
        -172.5,
        -172.41667,
        -172.33333,
        -172.25,
        -172.16667,
        -172.08333,
        -172,
        -171.91667,
        -171.83333,
        -171.75,
        -171.66667,
        -171.58333,
        -171.5,
        -171.41667,
        -171.33333,
        -171.25,
        -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,
        -167.16667,
        -167.08333,
        -167,
        -166.91667,
        -166.83333,
        -166.75,
        -166.66667,
        -166.58333,
        -166.5,
        -166.41667,
        -166.33333,
        -166.25,
        -166.16667,
        -166.08333,
        -166,
        -165.91667,
        -165.83333,
        -165.75,
        -165.66667,
        -165.58333,
        -165.5,
        -165.41667,
        -165.33333,
        -165.25,
        -165.16667,
        -165.08333,
        -165,
        -164.91667,
        -164.83333,
        -164.75,
        -164.66667,
        -164.58333,
        -164.5,
        -164.41667,
        -164.33333,
        -164.25,
        -164.16667,
        -164.08333,
        -164,
        -163.91667,
        -163.83333,
        -163.75,
        -163.66667,
        -163.58333,
        -163.5,
        -163.41667,
        -163.33333,
        -163.25,
        -163.16667,
        -163.08333,
        -163,
        -162.91667,
        -162.83333,
        -162.75,
        -162.66667,
        -162.58333,
        -162.5,
        -162.41667,
        -162.33333,
        -162.25,
        -162.16667,
        -162.08333,
        -162,
        -161.91667,
        -161.83333,
        -161.75,
        -161.66667,
        -161.58333,
        -161.5,
        -161.41667,
        -161.33333,
        -161.25,
        -161.16667,
        -161.08333,
        -161
      ],
      "lat": [
        19.25,
        19.333336,
        19.416672,
        19.5,
        19.583336,
        19.666672,
        19.75,
        19.833336,
        19.916672,
        20,
        20.083336,
        20.166672,
        20.25,
        20.333336,
        20.416672,
        20.5,
        20.583336,
        20.666672,
        20.75,
        20.833336,
        20.916672,
        21,
        21.083336,
        21.166672,
        21.25,
        21.333336,
        21.416672,
        21.5,
        21.583336,
        21.666672,
        21.75,
        21.833336,
        21.916672,
        22,
        22.083336,
        22.166672,
        22.25,
        22.333336,
        22.416672,
        22.5,
        22.583336,
        22.666672,
        22.75,
        22.833336,
        22.916672,
        23,
        23.083336,
        23.166672,
        23.25,
        23.333336,
        23.416672,
        23.5,
        23.583336,
        23.666672,
        23.75,
        23.833336,
        23.916672,
        24,
        24.083336,
        24.166672,
        24.25,
        24.333336,
        24.416672,
        24.5,
        24.583336,
        24.666672,
        24.75,
        24.833336,
        24.916672,
        25,
        25.083336,
        25.166672,
        25.25,
        25.333336,
        25.416672,
        25.5,
        25.583336,
        25.666672,
        25.75,
        25.833336,
        25.916672,
        26,
        26.083336,
        26.166672,
        26.25,
        26.333336,
        26.416672,
        26.5,
        26.583336,
        26.666672,
        26.75,
        26.833336,
        26.916672,
        27,
        27.083336,
        27.166672,
        27.25,
        27.333336,
        27.416672,
        27.5,
        27.583336,
        27.666672,
        27.75,
        27.833336,
        27.916672,
        28,
        28.083336,
        28.166672,
        28.25,
        28.333336,
        28.416672,
        28.5,
        28.583336,
        28.666672,
        28.75,
        28.833336,
        28.916672,
        29,
        29.083336,
        29.166672,
        29.25,
        29.333336,
        29.416672,
        29.5,
        29.583336,
        29.666672,
        29.75,
        29.833336,
        29.916672,
        30,
        30.083336,
        30.166672,
        30.25,
        30.333336,
        30.416672,
        30.5,
        30.583336,
        30.666672,
        30.75,
        30.833336,
        30.916672,
        31,
        31.083336,
        31.166672,
        31.25,
        31.333336,
        31.416672,
        31.5,
        31.583336,
        31.666672,
        31.75,
        31.833336
      ]
    },
    {
      "bbox": [
        177.84422,
        25.3897549,
        180,
        31.4683176
      ],
      "lon": [
        177.83334,
        177.91669,
        178,
        178.08334,
        178.16669,
        178.25,
        178.33334,
        178.41669,
        178.5,
        178.58334,
        178.66669,
        178.75,
        178.83334,
        178.91669,
        179,
        179.08334,
        179.16669,
        179.25,
        179.33334,
        179.41669,
        179.5,
        179.58334,
        179.66669,
        179.75,
        179.83334,
        179.91669
      ],
      "lat": [
        25.416672,
        25.5,
        25.583336,
        25.666672,
        25.75,
        25.833336,
        25.916672,
        26,
        26.083336,
        26.166672,
        26.25,
        26.333336,
        26.416672,
        26.5,
        26.583336,
        26.666672,
        26.75,
        26.833336,
        26.916672,
        27,
        27.083336,
        27.166672,
        27.25,
        27.333336,
        27.416672,
        27.5,
        27.583336,
        27.666672,
        27.75,
        27.833336,
        27.916672,
        28,
        28.083336,
        28.166672,
        28.25,
        28.333336,
        28.416672,
        28.5,
        28.583336,
        28.666672,
        28.75,
        28.833336,
        28.916672,
        29,
        29.083336,
        29.166672,
        29.25,
        29.333336,
        29.416672,
        29.5,
        29.583336,
        29.666672,
        29.75,
        29.833336,
        29.916672,
        30,
        30.083336,
        30.166672,
        30.25,
        30.333336,
        30.416672,
        30.5,
        30.583336,
        30.666672,
        30.75,
        30.833336,
        30.916672,
        31,
        31.083336,
        31.166672,
        31.25,
        31.333336,
        31.416672,
        31.5
      ]
    }
  ],
  "griddap_urls": [
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_salinity.parquet?so%5B(2022-06-16T00:00:00Z):1:(2025-02-15T00:00:00Z)%5D%5B(0.494025):1:(0.494025)%5D%5B(19.25):1:(31.833336)%5D%5B(-180):1:(-161)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_salinity.parquet?so%5B(2022-06-16T00:00:00Z):1:(2025-02-15T00:00:00Z)%5D%5B(0.494025):1:(0.494025)%5D%5B(25.416672):1:(31.5)%5D%5B(177.83334):1:(179.91669)%5D"
  ],
  "griddap_url_templates": [
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_salinity.parquet?so%5B({t0}):1:({t1})%5D%5B(0.494025):1:(0.494025)%5D%5B(19.25):1:(31.833336)%5D%5B(-180):1:(-161)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_salinity.parquet?so%5B({t0}):1:({t1})%5D%5B(0.494025):1:(0.494025)%5D%5B(25.416672):1:(31.5)%5D%5B(177.83334):1:(179.91669)%5D"
  ],
  "griddap_chunks": [
    [
      "2022-06-16T00:00:00Z",
      "2025-02-15T00:00:00Z"
    ]
  ],
  "griddap_requests": 2,
  "rows": 33,
  "bytes": 3535,
  "generated": "2026-10-22T14:32:33Z",
  "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.\"so\"  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.\"so\")                                  AS n,\n  avg(s.\"so\")                                    AS mean,\n  sum(s.\"so\" * m.weight) / sum(m.weight)         AS mean_wt,\n  stddev_samp(s.\"so\")                            AS sd,\n  min(s.\"so\")                                    AS min,\n  max(s.\"so\")                                    AS max,\n  quantile_cont(s.\"so\", 0.10)                    AS p10,\n  quantile_cont(s.\"so\", 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.\"so\" IS NOT NULL\nGROUP BY 1\nORDER BY 1"
}
