-
Notifications
You must be signed in to change notification settings - Fork 97
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
Downloads for AU_SI12_NRT_R04 incorrect #307
Comments
Looks like I'm getting the HTML response for EDL login, maybe I'm not doing something right with auth? |
Still not sure exactly what the problem is with `earthaccess` (see nsidc/earthaccess#307), but this code works to download data files.
I think there's an issue with the auth endpoint for these granules? After clicking a data link in my browser and being redirected to EDL, I entered my credentials, and then was redirected to After logging in once, I get a message like "so and so has been added to your authorized EDL applications". Can you try logging in as the account in question and then clicking the data links in your browser? I hope once the authorization step is done you may have different results. |
I have manually downloaded the files with the earthdata account I'm using to authenticate with I'm able to download the granules with some code adapted from
|
@trey-stafford @MattF-NSIDC We're unsure if this issue was resolved by #308 or not. Or potentially this is an issue outside of |
@asteiker , no, #308 didn't resolve this. #308 contained some fixups that I found while debugging the problem, but never found a solution. I'm testing with the latest version of earthaccess right now though, and it seems like it might be working. I'm running into another issue though: these granules have two data links which have the same data. One is pretty fast but the other link is slow to download. I'll wait until my test is completed to inspect the files and verify the look correct, and then if they do, we can probably close this ticket and open another to address duplicate data links from different mirrors. |
E.g., here are the "duplicate" data links for one of the results:
|
I've confirmed that Just further confirming that
The list of downloaded files returned by |
Thanks for re-testing and confirming that this is now downloading. I'll enter a new Issue on the multiple links. |
Hey @asteiker, gentle reminder that I no longer check the @MattF-NSIDC account :) |
@mfisher87 yes! So sorry I grabbed the wrong handle yesterday. It pops up automatically for me and looks like I made a few mistakes. |
I wonder if I can deactivate the account to make that less likely... Thanks for that context! |
I am trying to download granules of AU_SI12_NRT_R04 using
earthaccess.download
but the results are incorrect. Files are created on disk but they do not seem to contain the data.This results in files of ~4.1K in size in the indicated
/tmp/test
directory. I expect files ~126M in size:I haven't dug into this very deeply yet, but I found the code in
earthaccess.store
that is responsible for downloading files and set a breakpoint here:The text was updated successfully, but these errors were encountered: