asf_search.exceptions.ASFSearchError: Results are incomplete due to a search error. See logging for more details. (ASFSearchResults.raise_if_incomplete called) #196
q1165600785
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
import os
os.environ['HTTP_PROXY'] = 'http://127.0.0.1:4780'
os.environ['HTTPS_PROXY'] = 'http://127.0.0.1:4780'
import asf_search as asf
from asf_search.exceptions import ASFSearchError
from asf_search.constants import BEAMMODE,INSTRUMENT,POLARIZATION,PRODUCT_TYPE
opts = {
'platform': asf.PLATFORM.SENTINEL1A,
'beamMode':asf.BEAMMODE.IW,
# 'instrument':asf.INSTRUMENT.C_SAR,
'polarization':asf.POLARIZATION.VV,
'processingLevel':asf.PRODUCT_TYPE.SLC,
'flightDirection':asf.FLIGHT_DIRECTION.ASCENDING,
'intersectsWith':'POLYGON((118.13 28.77, 118.13 31.22,120.77 31.22, 120.77 28.77,118.13 28.77))'
# 'maxResults': 100
# 'intersectsWith':'POLYGON((-152.81 58.49,-154.90 57.49,-155.08 56.30,-153.82 56.34,-151.99 57.30,-151.43 58.19,-152.81 58.49))'
}
results = asf.search(**opts)
results.raise_if_incomplete()
try:
results.raise_if_incomplete()
except ASFSearchError as e:
print(e)
i want know incomplete how produce i cann't find logging i donn't konw question arise where
Beta Was this translation helpful? Give feedback.
All reactions