{
  "place_id": "NMS:PMNM",
  "dataset_id": "cmems_biogeochem_nutrients",
  "variable": "fe",
  "categorical": false,
  "start_date": "2021-10-16",
  "end_date": "2025-02-15",
  "start_datetime": "2021-10-16T12:00:00Z",
  "end_datetime": "2025-02-15T00:00:00Z",
  "record_start": "2021-10-16",
  "lobes": 2,
  "mask_cells": 2312,
  "axes": [
    {
      "bbox": [
        -180,
        19.2345784,
        -161.01730609999998,
        31.7978642
      ],
      "lon": [
        -180,
        -179.75,
        -179.5,
        -179.25,
        -179,
        -178.75,
        -178.5,
        -178.25,
        -178,
        -177.75,
        -177.5,
        -177.25,
        -177,
        -176.75,
        -176.5,
        -176.25,
        -176,
        -175.75,
        -175.5,
        -175.25,
        -175,
        -174.75,
        -174.5,
        -174.25,
        -174,
        -173.75,
        -173.5,
        -173.25,
        -173,
        -172.75,
        -172.5,
        -172.25,
        -172,
        -171.75,
        -171.5,
        -171.25,
        -171,
        -170.75,
        -170.5,
        -170.25,
        -170,
        -169.75,
        -169.5,
        -169.25,
        -169,
        -168.75,
        -168.5,
        -168.25,
        -168,
        -167.75,
        -167.5,
        -167.25,
        -167,
        -166.75,
        -166.5,
        -166.25,
        -166,
        -165.75,
        -165.5,
        -165.25,
        -165,
        -164.75,
        -164.5,
        -164.25,
        -164,
        -163.75,
        -163.5,
        -163.25,
        -163,
        -162.75,
        -162.5,
        -162.25,
        -162,
        -161.75,
        -161.5,
        -161.25,
        -161
      ],
      "lat": [
        19.25,
        19.5,
        19.75,
        20,
        20.25,
        20.5,
        20.75,
        21,
        21.25,
        21.5,
        21.75,
        22,
        22.25,
        22.5,
        22.75,
        23,
        23.25,
        23.5,
        23.75,
        24,
        24.25,
        24.5,
        24.75,
        25,
        25.25,
        25.5,
        25.75,
        26,
        26.25,
        26.5,
        26.75,
        27,
        27.25,
        27.5,
        27.75,
        28,
        28.25,
        28.5,
        28.75,
        29,
        29.25,
        29.5,
        29.75,
        30,
        30.25,
        30.5,
        30.75,
        31,
        31.25,
        31.5,
        31.75
      ]
    },
    {
      "bbox": [
        177.84422,
        25.3897549,
        180,
        31.4683176
      ],
      "lon": [
        177.75,
        178,
        178.25,
        178.5,
        178.75,
        179,
        179.25,
        179.5,
        179.75
      ],
      "lat": [
        25.5,
        25.75,
        26,
        26.25,
        26.5,
        26.75,
        27,
        27.25,
        27.5,
        27.75,
        28,
        28.25,
        28.5,
        28.75,
        29,
        29.25,
        29.5,
        29.75,
        30,
        30.25,
        30.5,
        30.75,
        31,
        31.25,
        31.5
      ]
    }
  ],
  "griddap_urls": [
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_biogeochem_nutrients.parquet?fe%5B(2021-10-16T12:00:00Z):1:(2025-02-15T00:00:00Z)%5D%5B(0.49402538):1:(0.49402538)%5D%5B(19.25):1:(31.75)%5D%5B(-180):1:(-161)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_biogeochem_nutrients.parquet?fe%5B(2021-10-16T12:00:00Z):1:(2025-02-15T00:00:00Z)%5D%5B(0.49402538):1:(0.49402538)%5D%5B(25.5):1:(31.5)%5D%5B(177.75):1:(179.75)%5D"
  ],
  "griddap_url_templates": [
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_biogeochem_nutrients.parquet?fe%5B({t0}):1:({t1})%5D%5B(0.49402538):1:(0.49402538)%5D%5B(19.25):1:(31.75)%5D%5B(-180):1:(-161)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/cmems_biogeochem_nutrients.parquet?fe%5B({t0}):1:({t1})%5D%5B(0.49402538):1:(0.49402538)%5D%5B(25.5):1:(31.5)%5D%5B(177.75):1:(179.75)%5D"
  ],
  "griddap_chunks": [
    [
      "2021-10-16T12:00:00Z",
      "2025-02-15T00:00:00Z"
    ]
  ],
  "griddap_requests": 2,
  "rows": 41,
  "bytes": 3972,
  "generated": "2026-10-22T14:32:56Z",
  "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.\"fe\"  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.\"fe\")                                  AS n,\n  avg(s.\"fe\")                                    AS mean,\n  sum(s.\"fe\" * m.weight) / sum(m.weight)         AS mean_wt,\n  stddev_samp(s.\"fe\")                            AS sd,\n  min(s.\"fe\")                                    AS min,\n  max(s.\"fe\")                                    AS max,\n  quantile_cont(s.\"fe\", 0.10)                    AS p10,\n  quantile_cont(s.\"fe\", 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.\"fe\" IS NOT NULL\nGROUP BY 1\nORDER BY 1"
}
