Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssara_federated_query.py -asfResponseTimeout not working for TerraSAR-X #531

Open
falkamelung opened this issue Jul 23, 2023 · 0 comments
Open

Comments

@falkamelung
Copy link
Member

Hi Unavco team,

When I run ssara_federated_query.py for TSX without --asfResponseTimeout option it works fine. It finds 5 scenes:

ssara_federated_query.py --relativeOrbit=36 --intersectsWith='Polygon((-80.41 25.52, -80.41 26.00, -80.12 26.00, -80.12 25.52, -80.41 25.52))' --collectionName='TSX ARC_famelung_COA3837' --beamSwath=strip_014 --start=2017-09-01 --end=2017-10-31 --parallel=5 

SSARA API query: 2.669125 seconds
Found 5 scenes

However, when I run the same command with the --asfResponseTimeout=60 option it does not return anything:

ssara_federated_query.py --relativeOrbit=36 --intersectsWith='Polygon((-80.41 25.52, -80.41 26.00, -80.12 26.00, -80.12 25.52, -80.41 25.52))' --collectionName='TSX ARC_famelung_COA3837' --beamSwath=strip_014 --start=2017-09-01 --end=2017-10-31 --parallel=5 --asfResponseTimeout=60

SSARA API query: 2.538935 seconds
Found 0 scenes

This looks like a bug to me. In contrast, when I search for Sentinel-1 data it returns the same number of data, independent of this option:

ssara_federated_query.py --relativeOrbit=48 --intersectsWith='Polygon((-80.45 25.60, -80.45 26.20, -80.11 26.20, -80.11 25.60, -80.45 25.60))' --platform=SENTINEL-1A,SENTINEL-1B --parallel=5 --start=2023-06-01

SSARA API query: 7.788151 seconds
Found 4 scenes

ssara_federated_query.py --relativeOrbit=48 --intersectsWith='Polygon((-80.45 25.60, -80.45 26.20, -80.11 26.20, -80.11 25.60, -80.45 25.60))' --platform=SENTINEL-1A,SENTINEL-1B --parallel=5 --start=2023-06-01  --asfResponseTimeout=50

SSARA API query: 5.437817 seconds
Found 4 scenes

I am routinely using the --asfResponseTimeout only recently, which might be why this arose only now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant