You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@GriffinBabe pointed out that if we omit to specify the product type when searching on earth_search_cog, we get also results from earth_search that cannot be downloaded with the wrong download plugin:
fromeodagimportEODataAccessGatewaydag=EODataAccessGateway()
dag.set_preferred_provider("earth_search_cog")
# Here I forget to specify which productType I am looking forcog_products, _=dag.search()
path=dag.download(cog_products[0])
Raises
requests.exceptions.InvalidSchema: No connection adapters were found for 's3://sentinel-s2-l2a/tiles/42/F/UK/2021/11/23/0/qi/L2A_PVI.jp2'
To prevent this, we'd have to:
only accept S2_MSI_L2A_COG product type with earth_search_cog
filter out S2_MSI_L2A_COG product type with earth_search
remove earth_search_cog and add S2_MSI_L2A_COG to earth_search
The text was updated successfully, but these errors were encountered:
See #362 .
@GriffinBabe pointed out that if we omit to specify the product type when searching on
earth_search_cog
, we get also results fromearth_search
that cannot be downloaded with the wrong download plugin:Raises
To prevent this, we'd have to:
only acceptS2_MSI_L2A_COG
product type withearth_search_cog
filter outS2_MSI_L2A_COG
product type withearth_search
earth_search_cog
and addS2_MSI_L2A_COG
toearth_search
The text was updated successfully, but these errors were encountered: