Description
Veda-docs example stac_ipyleaflet notebook is throwing exception
'message': 'Error caught with collection', 'error': KeyError('item_assets')
Surfaced in veda-docs PR NASA-IMPACT/veda-docs#160
I think
has_cog = True if data["item_assets"] else False
could be updated to something like has_cog = True if data.get("item_assets", None) else False
AC
Description
Veda-docs example stac_ipyleaflet notebook is throwing exception
'message': 'Error caught with collection', 'error': KeyError('item_assets')Surfaced in veda-docs PR NASA-IMPACT/veda-docs#160
I think
has_cog = True if data["item_assets"] else Falsecould be updated to something like
has_cog = True if data.get("item_assets", None) else FalseAC