coincident.io.download.download_neon_dem#

coincident.io.download.download_neon_dem(aoi, datetime_str, site_id, product, output_dir='/tmp')#

Download NEON LiDAR tiles (DSM, DTM, or CHM) based on an AOI by querying the NEON API.

Steps:
  1. Convert the datetime string to a month string in the format YYYY-MM.

  2. Determine appropriate UTM CRS for the AOI for spatial filtering.

  3. Query the NEON API using site ID and month.

  4. Filter the returned files based on product type and spatial intersection.

  5. Download filtered tiles with progress tracking.

Parameters:
  • aoi (gpd.GeoDataFrame) – Area of interest geometry to query against.

  • datetime_str (str) – Date string in YYYY-MM-DD format.

  • site_id (str) – NEON site identifier.

  • product (str) – Product type to download (‘dsm’, ‘dtm’, or ‘chm’).

  • output_dir (str) – Directory path where tiles will be downloaded (default “/tmp”).

Return type:

None

Returns:

returns None after downloading files