Add module to download GEDI data from NASA Earthdata
maawoo opened this issue · 3 comments
maawoo commented
maawoo commented
import earthaccess
import fiona
earthaccess.login()
vec = "download_aoi.geojson"
bounds = fiona.open(vec).bounds
results = earthaccess.search_data(
short_name='GEDI02_A',
bounding_box=bounds,
#temporal=("2019-01-01", "2021-01-01"),
count=-1
)
files = earthaccess.download(results, "./download/GEDI/L2A")
maawoo commented
Currently, only entire granules can be downloaded. Subsetting will be implemented sometime this year:
nsidc/earthaccess#467 (comment)