Eric Lindsey
Eric Lindsey
Thanks for your efforts on this! However, I believe the current approach generates a new token for each file to be downloaded, which is a problem when doing bulk downloads...
@rtburns-jpl Here's a version that saves the auth token to a file, and only re-creates it if it expired (after 10 minutes): https://github.com/ericlindsey/isce2/blob/fetchOrbit-update/contrib/stack/topsStack/fetchOrbit.py This is necessary if using 'stackSentinel.py' which...
Thanks! Glad to hear it!
@yuankailiu, you are right that this doesn't read the login details from `~/.netrc`, so the login cookie will eventually expire if running inside a loop. To avoid this I hard-coded...
I think the script just can't regenrate the token because stackSentinel.py runs fetchOrbit.py with only the default options (so no username/password is input). This expired token is what causes the...
Any chance of cutting a new release for the conda-forge version of ISCE that would include this fix? We are required to use conda for our installations on our HPC...
Thanks for the suggestions @geniusinaction and @EJFielding! I was able to fix all the http -> https lines with this script, I hope others find it useful: #!/bin/bash # base...