PecanProject / pecan

The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.
www.pecanproject.org
Other
199 stars 230 forks source link

Adding functions and scripts for downloading, extracting, and processing observations, initial conditions, land cover types, ERA5 drivers for anchor sites within NA. #3278

Closed DongchenZ closed 1 month ago

DongchenZ commented 3 months ago

Description

This PR includes:

  1. script for preparing required data sets (ERA5; AGB, LAI, SMAP, and SOC; land cover) for anchor sites.
  2. script for preparing initial conditions (AGB, LAI, Soil moisture, SOC) for anchor sites.
  3. updated function for searching ecoregion within NA.
  4. functions for downloading and extracting soil moisture from the CDS server.
  5. function for downloading and extracting MODIS land cover products.
  6. function for extracting AGB initial condition from the GeoTIFF files.
  7. function for extracting ISCN SOC from existing Rdata file.

    Motivation and Context

Review Time Estimate

Types of changes

Checklist:

infotroph commented 3 months ago

As currently structured this PR adds more than 100 megabytes of data files to the package, which is far outside the norm for R package size -- CRAN wants special justification for anything with more than 5 MB of data or more then 10 MB for the whole package. Do the shapefiles and Rdata files really need to be distributed as part of data.land or can they be stored elsewhere and read in as needed?