{
  "place_id": "NMS:PMNM",
  "dataset_id": "moda_npp_mo_glob",
  "variable": "npp",
  "categorical": false,
  "start_date": "2002-07-31",
  "end_date": "2023-12-31",
  "start_datetime": "2002-07-31T00:00:00Z",
  "end_datetime": "2023-12-31T00:00:00Z",
  "record_start": "2002-07-31",
  "lobes": 2,
  "mask_cells": 20012,
  "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": [
        31.806393,
        31.72302,
        31.639648,
        31.556276,
        31.472904,
        31.389532,
        31.30616,
        31.222788,
        31.139416,
        31.056044,
        30.972673,
        30.889301,
        30.80593,
        30.722557,
        30.639185,
        30.555813,
        30.47244,
        30.389069,
        30.305696,
        30.222324,
        30.138954,
        30.055582,
        29.97221,
        29.888838,
        29.805466,
        29.722094,
        29.638721,
        29.55535,
        29.471977,
        29.388605,
        29.305233,
        29.221863,
        29.13849,
        29.055119,
        28.971746,
        28.888374,
        28.805002,
        28.72163,
        28.638258,
        28.554886,
        28.471514,
        28.388144,
        28.304771,
        28.2214,
        28.138027,
        28.054655,
        27.971283,
        27.88791,
        27.804539,
        27.721167,
        27.637794,
        27.554424,
        27.471052,
        27.38768,
        27.304308,
        27.220936,
        27.137564,
        27.054192,
        26.97082,
        26.887447,
        26.804075,
        26.720703,
        26.637333,
        26.55396,
        26.470589,
        26.387217,
        26.303844,
        26.220472,
        26.1371,
        26.053728,
        25.970356,
        25.886984,
        25.803614,
        25.720242,
        25.63687,
        25.553497,
        25.470125,
        25.386753,
        25.303381,
        25.220009,
        25.136637,
        25.053265,
        24.969894,
        24.886522,
        24.80315,
        24.719778,
        24.636406,
        24.553034,
        24.469662,
        24.38629,
        24.302917,
        24.219545,
        24.136173,
        24.052803,
        23.96943,
        23.886059,
        23.802687,
        23.719315,
        23.635942,
        23.55257,
        23.469198,
        23.385826,
        23.302454,
        23.219084,
        23.135712,
        23.05234,
        22.968967,
        22.885595,
        22.802223,
        22.718851,
        22.635479,
        22.552107,
        22.468735,
        22.385365,
        22.301992,
        22.21862,
        22.135248,
        22.051876,
        21.968504,
        21.885132,
        21.80176,
        21.718388,
        21.635015,
        21.551643,
        21.468273,
        21.384901,
        21.301529,
        21.218157,
        21.134785,
        21.051413,
        20.96804,
        20.884668,
        20.801296,
        20.717924,
        20.634554,
        20.551182,
        20.46781,
        20.384438,
        20.301065,
        20.217693,
        20.134321,
        20.05095,
        19.967577,
        19.884205,
        19.800835,
        19.717463,
        19.63409,
        19.550718,
        19.467346,
        19.383974,
        19.300602,
        19.21723
      ]
    },
    {
      "bbox": [
        177.84422,
        25.3897549,
        180,
        31.4683176
      ],
      "lon": [
        177.83333,
        177.91667,
        178,
        178.08333,
        178.16667,
        178.25,
        178.33333,
        178.41667,
        178.5,
        178.58333,
        178.66667,
        178.75,
        178.83333,
        178.91667,
        179,
        179.08333,
        179.16667,
        179.25,
        179.33333,
        179.41667,
        179.5,
        179.58333,
        179.66667,
        179.75,
        179.83333,
        179.91667
      ],
      "lat": [
        31.472904,
        31.389532,
        31.30616,
        31.222788,
        31.139416,
        31.056044,
        30.972673,
        30.889301,
        30.80593,
        30.722557,
        30.639185,
        30.555813,
        30.47244,
        30.389069,
        30.305696,
        30.222324,
        30.138954,
        30.055582,
        29.97221,
        29.888838,
        29.805466,
        29.722094,
        29.638721,
        29.55535,
        29.471977,
        29.388605,
        29.305233,
        29.221863,
        29.13849,
        29.055119,
        28.971746,
        28.888374,
        28.805002,
        28.72163,
        28.638258,
        28.554886,
        28.471514,
        28.388144,
        28.304771,
        28.2214,
        28.138027,
        28.054655,
        27.971283,
        27.88791,
        27.804539,
        27.721167,
        27.637794,
        27.554424,
        27.471052,
        27.38768,
        27.304308,
        27.220936,
        27.137564,
        27.054192,
        26.97082,
        26.887447,
        26.804075,
        26.720703,
        26.637333,
        26.55396,
        26.470589,
        26.387217,
        26.303844,
        26.220472,
        26.1371,
        26.053728,
        25.970356,
        25.886984,
        25.803614,
        25.720242,
        25.63687,
        25.553497,
        25.470125,
        25.386753
      ]
    }
  ],
  "griddap_urls": [
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B(2002-07-31T00:00:00Z):1:(2007-02-04T12:00:00Z)%5D%5B(31.806393):1:(19.21723)%5D%5B(-180):1:(-161)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B(2007-02-05T12:00:00Z):1:(2011-08-12T12:00:00Z)%5D%5B(31.806393):1:(19.21723)%5D%5B(-180):1:(-161)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B(2011-08-13T12:00:00Z):1:(2016-02-17T12:00:00Z)%5D%5B(31.806393):1:(19.21723)%5D%5B(-180):1:(-161)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B(2016-02-18T12:00:00Z):1:(2020-08-24T12:00:00Z)%5D%5B(31.806393):1:(19.21723)%5D%5B(-180):1:(-161)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B(2020-08-25T12:00:00Z):1:(2023-12-31T00:00:00Z)%5D%5B(31.806393):1:(19.21723)%5D%5B(-180):1:(-161)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B(2002-07-31T00:00:00Z):1:(2007-02-04T12:00:00Z)%5D%5B(31.472904):1:(25.386753)%5D%5B(177.83333):1:(179.91667)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B(2007-02-05T12:00:00Z):1:(2011-08-12T12:00:00Z)%5D%5B(31.472904):1:(25.386753)%5D%5B(177.83333):1:(179.91667)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B(2011-08-13T12:00:00Z):1:(2016-02-17T12:00:00Z)%5D%5B(31.472904):1:(25.386753)%5D%5B(177.83333):1:(179.91667)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B(2016-02-18T12:00:00Z):1:(2020-08-24T12:00:00Z)%5D%5B(31.472904):1:(25.386753)%5D%5B(177.83333):1:(179.91667)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B(2020-08-25T12:00:00Z):1:(2023-12-31T00:00:00Z)%5D%5B(31.472904):1:(25.386753)%5D%5B(177.83333):1:(179.91667)%5D"
  ],
  "griddap_url_templates": [
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B({t0}):1:({t1})%5D%5B(31.806393):1:(19.21723)%5D%5B(-180):1:(-161)%5D",
    "https://erddap.oceanmetrics.io/erddap/griddap/moda_npp_mo_glob.parquet?npp%5B({t0}):1:({t1})%5D%5B(31.472904):1:(25.386753)%5D%5B(177.83333):1:(179.91667)%5D"
  ],
  "griddap_chunks": [
    [
      "2002-07-31T00:00:00Z",
      "2007-02-04T12:00:00Z"
    ],
    [
      "2007-02-05T12:00:00Z",
      "2011-08-12T12:00:00Z"
    ],
    [
      "2011-08-13T12:00:00Z",
      "2016-02-17T12:00:00Z"
    ],
    [
      "2016-02-18T12:00:00Z",
      "2020-08-24T12:00:00Z"
    ],
    [
      "2020-08-25T12:00:00Z",
      "2023-12-31T00:00:00Z"
    ]
  ],
  "griddap_requests": 10,
  "rows": 261,
  "bytes": 13783,
  "generated": "2026-10-22T14:38:44Z",
  "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.\"npp\"  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.\"npp\")                                  AS n,\n  avg(s.\"npp\")                                    AS mean,\n  sum(s.\"npp\" * m.weight) / sum(m.weight)         AS mean_wt,\n  stddev_samp(s.\"npp\")                            AS sd,\n  min(s.\"npp\")                                    AS min,\n  max(s.\"npp\")                                    AS max,\n  quantile_cont(s.\"npp\", 0.10)                    AS p10,\n  quantile_cont(s.\"npp\", 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.\"npp\" IS NOT NULL\nGROUP BY 1\nORDER BY 1"
}
