Skip to content

earthdaily Biophysical

rslearn.data_sources.earthdaily.Biophysical

Biophysical variables on EarthDaily platform (EDAgro layers).

See EarthDaily Setup for required dependency/credentials.

When using these variables alongside EarthDaily Sentinel-2 imagery, see EarthDaily Sentinel-2 + Biophysical Products for an example workflow that aligns independently prepared Sentinel-2 and biophysical item groups by item name before materialization.

Configuration

{
  "class_path": "rslearn.data_sources.earthdaily.Biophysical",
  "init_args": {
    // Required: which biophysical variable to fetch.
    // One of: "lai", "fapar", "fcover".
    "variable": "lai",
    // Optional: STAC API `query` filter passed to searches.
    "query": null,
    // Optional: STAC item property to sort by before grouping/matching (default null).
    "sort_by": null,
    // Whether to sort ascending when sort_by is set (default true).
    "sort_ascending": true,
    // Optional cache directory for cached item metadata.
    "cache_dir": null,
    // Timeout for HTTP asset downloads.
    "timeout": "10s",
    // Retry settings for EarthDaily API client requests (search/get item).
    "max_retries": 3,
    "retry_backoff_factor": 5.0
  }
}

Available Bands

Band names correspond 1:1 with the selected variable: - variable: "lai" -> lai - variable: "fapar" -> fapar - variable: "fcover" -> fcover