usingSpaceLiDAR# Find all ATL08 granulesgranules=find(:ICESat2,"ATL08")# Find only ATL03 granules in a part of Vietnamvietnam=(min_x=102.,min_y=8.0,max_x=107.0,max_y=12.0)granules=find(:ICESat2,"ATL08",vietnam,"004")# Find GEDI granules in the same waygranules=find(:GEDI,"GEDI02_A")# A granule is pretty simplegranule=granules[1]granule.id# filenamegranule.url# download urlgranule.info# derived information from id# Downloading granules requires a setup .netrc with an NASA EarthData account# we provide a helper function, that creates/updates a ~/.netrc or ~/_netrcSpaceLiDAR.netrc!(<username>,<password>)# replace with your credentials# Afterward you can download (requires curl to be available on PATH)fn=SpaceLiDAR.download!(granule)# You can also load a granule from diskgranule=granule_from_file(fn)# Or from a folderlocal_granules=granules_from_folder(<folder>)# Instantiate search results locally (useful for GEDI location indexing)local_granules=instantiate(granules,<folder>)