download_aop_files#
- neonutilities.api.download_aop_files(data_product_id, site, year=None, download_folder='./data', poly=None, download_all=False)[source]#
Get NEON aerial observation platform (AOP) data.
- Parameters:
data_product_id (str) – The data product code (eg. ‘DP1.30003.001’ - Discrete Lidar)
site (str) – the 4-digit NEON site code (eg. ‘HARV’, ‘WERF’)
year (str, optional) – Year (eg. ‘2020’); default (None) is all years
download_folder (str, optional) – Folder to store downloaded files; default (./data) in current directory
poly (str or GeoDataFrame, optional) – Area of interest to filter through AOP tiles (shapefile or geodataframe); default None (polygon needs to be in proper UTM for site!)
Notes
Currently, spatial subsetting only works on mosaiced files. This generally refers to discrete return lidar and level 3 spectrometer products.
Examples
>>> import neonutilities as nu >>> nu.api.download_aop_files('DP1.30003.001','HARV','2019','./data/HARV_2019/lidar','./HARV_poly.shp')