Closed jpswinski closed 1 year ago
Suggest adding a quick visualization of the returned tiles and the region in the notebook...
tnm_gdf = gpd.read_file(geojson)
f, ax = plt.subplots()
tnm_gdf.plot(ax=ax, alpha=0.5)
region['gdf'].plot(ax=ax, facecolor='none')
This has been implemented for the icesat2 and gedi APIs. The added earthdata.search
function is used to automatically populate catalogs for rasters that want to be sampled.
In order to get a sampling request to work, the user must first query the appropriate stac server or tnm api to get a catalog of available data to pass along to sliderule.
This process needs to be automatically handled by the client so that the user does not need to do it.
For example the code below:
Could be changed so that the call to
earthdata.tnm
is performed automatically inside theicesat2.atl06p
call.