{
  "stac_version": "1.1.0",
  "stac_extensions": [
    "https://stac-extensions.github.io/raster/v1.1.0/schema.json",
    "https://stac-extensions.github.io/table/v1.2.0/schema.json",
    "https://stac-extensions.github.io/file/v2.1.0/schema.json",
    "https://stac-extensions.github.io/render/v2.0.0/schema.json"
  ],
  "type": "Collection",
  "id": "fdap-2025b-cocoa-peru-2024",
  "title": "Cocoa Probability, Peru 2024 (Forest Data Partnership model 2025b)",
  "description": "Per-pixel probability that a 10 m pixel contains cocoa trees, across Peru for the year 2024. Produced by Google for the Forest Data Partnership (FDAP) as the `probability` band of the pan-tropical `model_2025b` cocoa collection, a machine-learning model built on AlphaEarth Foundations satellite embeddings. This collection is the Peru 2024 extract: the upstream yearly image was filtered to 2024, mosaicked, and clipped to the FAO GAUL 2015 level-0 boundary for Peru, then republished at native 10 m in EPSG:4326 as a Cloud-Optimized GeoTIFF and as H3 resolution-10 hexagonal parquet.\n\nVALUES: `probability` is a unitless probability in [0, 1] — the model's estimated likelihood that cocoa trees are present. It is NOT a cocoa area, yield, or production figure, and it must never be summed. Cocoa is sparse in Peru, so the distribution is heavily concentrated near zero with a long thin tail.\n\nHEX: the raster was reduced to H3 with the `mean` reducer, giving the area-weighted MEAN probability of the pixels falling in each cell — the correct treatment for an intensity. Native resolution 10 (about 1.5 hectares per cell, roughly 150 source pixels), with `h9`, `h8` (the catalog's universal join key) and `h0` (the hive partition key) as parent columns. Only cells containing at least one valid pixel are written, so coverage is sparse and Peru-shaped rather than a full grid: Peru falls across 4 H3 resolution-0 base cells, giving 4 hive partitions.\n\nNODATA: areas outside the Peru clip are Float32 NaN. Note that the COG does NOT carry a tagged nodata value in its header — the masked area is NaN-valued — so any tool reading this raster must treat NaN as nodata explicitly rather than relying on the header.\n\nUPSTREAM CAVEATS (from the FDAP model documentation, and important for interpretation): accuracy figures computed from generated evaluation data are overestimates relative to independent validation data; the cocoa model specifically over-predicts in ecotones (transition zones between vegetation types); the training set is largely opportunistic and does not comprehensively represent every class in every region; and values are not stable between years, so this 2024 layer should not be differenced against other years to infer change. Treat the layer as a screening and prioritization aid, not as ground truth for any individual parcel.\n\nATTRIBUTION: use of this dataset requires the attribution \"Produced by Google for the Forest Data Partnership\".",
  "license": "CC-BY-4.0",
  "keywords": [
    "cocoa",
    "cacao",
    "commodities",
    "deforestation",
    "agriculture",
    "Peru",
    "Forest Data Partnership",
    "crop probability",
    "EUDR"
  ],
  "providers": [
    {
      "name": "Forest Data Partnership",
      "roles": [
        "producer",
        "licensor"
      ],
      "url": "https://github.com/google/forest-data-partnership/tree/main/models/model_2025b"
    },
    {
      "name": "Google",
      "roles": [
        "producer",
        "processor"
      ],
      "url": "https://developers.google.com/earth-engine/datasets/catalog/projects_forestdatapartnership_assets_cocoa_model_2025b"
    },
    {
      "name": "Berkeley Boettiger Lab",
      "roles": [
        "processor",
        "host"
      ],
      "url": "https://s3-west.nrp-nautilus.io/public-commodities/README.md"
    }
  ],
  "extent": {
    "spatial": {
      "bbox": [
        [
          -81.3278064,
          -18.3546474,
          -68.6773713,
          -0.0133849
        ]
      ]
    },
    "temporal": {
      "interval": [
        [
          "2024-01-01T00:00:00Z",
          "2024-12-31T23:59:59Z"
        ]
      ]
    }
  },
  "sci:citation": "Forest Data Partnership. 2026. Community models 2025b. https://github.com/google/forest-data-partnership/tree/main/models/model_2025b/README.md",
  "links": [
    {
      "rel": "self",
      "href": "https://s3-west.nrp-nautilus.io/public-commodities/fdap-2025b/cocoa-peru-2024/stac-collection.json",
      "type": "application/json"
    },
    {
      "rel": "root",
      "href": "https://s3-west.nrp-nautilus.io/public-data/stac/catalog.json",
      "type": "application/json"
    },
    {
      "rel": "parent",
      "href": "https://s3-west.nrp-nautilus.io/public-commodities/stac-collection.json",
      "type": "application/json"
    },
    {
      "rel": "license",
      "href": "https://creativecommons.org/licenses/by/4.0/",
      "type": "text/html",
      "title": "CC BY 4.0 — attribution required: \"Produced by Google for the Forest Data Partnership\""
    },
    {
      "rel": "describedby",
      "href": "https://s3-west.nrp-nautilus.io/public-commodities/README.md",
      "type": "text/markdown"
    },
    {
      "rel": "via",
      "href": "https://developers.google.com/earth-engine/datasets/catalog/projects_forestdatapartnership_assets_cocoa_model_2025b",
      "type": "text/html",
      "title": "Upstream Earth Engine collection: projects/forestdatapartnership/assets/cocoa/model_2025b"
    },
    {
      "rel": "describedby",
      "href": "./README.md",
      "type": "text/markdown",
      "title": "README"
    },
    {
      "rel": "agents",
      "href": "./AGENTS.md",
      "type": "text/markdown",
      "title": "Agent guide"
    }
  ],
  "assets": {
    "cocoa-peru-2024-cog": {
      "href": "https://s3-west.nrp-nautilus.io/public-commodities/fdap-2025b/cocoa-peru-2024-cog.tif",
      "type": "image/tiff; application=geotiff; profile=cloud-optimized",
      "title": "Cocoa probability, Peru 2024 — Cloud-Optimized GeoTIFF (native 10 m)",
      "description": "Single-band Float32 COG, 140,824 x 204,174 pixels at 0.000089831528412 degrees (~10 m) in EPSG:4326, DEFLATE-compressed with five overview levels. This is the mosaicked, Peru-clipped export of the upstream Earth Engine collection and is the canonical raster for this dataset. Outside-Peru pixels are NaN and the header carries NO tagged nodata value — treat NaN as nodata explicitly.",
      "roles": [
        "data"
      ],
      "raster:bands": [
        {
          "name": "probability",
          "description": "Probability that the pixel includes cocoa trees in 2024. Unitless, range [0, 1].",
          "data_type": "float32",
          "nodata": "nan",
          "spatial_resolution": 10
        }
      ]
    },
    "cocoa-peru-2024-hex": {
      "href": "https://s3-west.nrp-nautilus.io/public-commodities/fdap-2025b/cocoa-peru-2024/hex/h0=*/data_0.parquet",
      "type": "application/x-parquet",
      "title": "Cocoa probability, Peru 2024 — H3 resolution-10 hexagonal parquet",
      "description": "One row per H3 resolution-10 cell. `probability` is the area-weighted MEAN of the source pixel probabilities within the cell (`mean` reducer), which is the correct reduction for an intensity. DO NOT SUM `probability` — it is a unitless probability, not an extensive quantity, so a SUM has no physical meaning; use AVG/MIN/MAX, or roll up to a coarser resolution with GROUP BY h8 + AVG (never SUM). Cells with no valid (non-NaN) source pixel are dropped, so coverage is sparse and follows the Peru boundary rather than filling the h0 partitions.",
      "roles": [
        "data"
      ],
      "h3:native_resolution": 10,
      "h3:parent_resolutions": [
        9,
        8,
        0
      ]
    },
    "thumbnail": {
      "href": "https://s3-west.nrp-nautilus.io/public-commodities/fdap-2025b/cocoa-peru-2024/thumbnail.png",
      "type": "image/png",
      "roles": [
        "thumbnail"
      ],
      "title": "Thumbnail",
      "description": "Preview drawn from the collection's render cocoa-peru-2024."
    }
  },
  "renders": {
    "cocoa-peru-2024": {
      "title": "Cocoa Probability (2024)",
      "assets": [
        "cocoa-peru-2024-cog"
      ],
      "colormap_name": "purples",
      "rescale": [
        [
          0.0,
          1.0
        ]
      ]
    }
  },
  "table:columns": [
    {
      "name": "probability",
      "type": "double",
      "description": "Area-weighted mean probability that the cell contains cocoa trees in 2024 (`mean` reducer over the source 10 m pixels). Unitless, range [0, 1]. Not an extensive quantity — never SUM; aggregate with AVG/MIN/MAX."
    },
    {
      "name": "h10",
      "type": "uint64",
      "description": "H3 cell ID at resolution 10 (native resolution; one row per cell)."
    },
    {
      "name": "h9",
      "type": "uint64",
      "description": "H3 cell ID at resolution 9."
    },
    {
      "name": "h8",
      "type": "uint64",
      "description": "H3 cell ID at resolution 8, the catalog's universal join key."
    },
    {
      "name": "h0",
      "type": "uint64",
      "description": "H3 cell ID at resolution 0, used as the partition key for hive-partitioned reads."
    }
  ]
}
