Skip to content

Download stats

The download stats tool can only be utilized to download Benthic and Geomorphic stats and is designed to be able to use a list of CSV latitude and longitude table along with a buffer area to search or you can also pass an existing AOI name or ID or a shapefile or GeoJSON file.

Key features

  • Can handle multi geometry and single geometry features
  • Can handle CSVs with multiple rows
  • Can save geometry for large areas before trying to fetch stats

The table must have at least two columns

|"latitude" |"longitude|


pycoral stats-download -h
usage: pycoral stats-download [-h] --local LOCAL [--geometry GEOMETRY] [--aoi AOI]
                              [--buffer BUFFER]

  -h, --help           show this help message and exit

Required named arguments.:
  --local LOCAL        Full path to folder to download stats files

Optional named arguments:
  --geometry GEOMETRY  Full path to geometry .csv/.geojson/.shp file
  --aoi AOI            AOI name or ID
  --buffer BUFFER      Buffer length for square buffer in meters

Last update: 2023-10-22
Created: 2023-10-22