Search found 3 matches
- Mon Jun 20, 2022 6:00 pm America/New_York
- Forum: Home
- Question: Data Download LP DAAC Data Pool via Java
- Replies: 5
Re: Data Download LP DAAC Data Pool via Java
Through trial and error I found what would make the download work. In the sample Java code, remove the "connection.setDoOutput(true)" line from the program... then it should work.
- Mon Jun 13, 2022 6:38 pm America/New_York
- Forum: Home
- Question: Data Download LP DAAC Data Pool via Java
- Replies: 5
Re: Data Download LP DAAC Data Pool via Java
Thanks for the reply. I have tried the Java example here: https://wiki.earthdata.nasa.gov/display/EL/How+To+Access+Data+With+Java. I supply my Earthdata credentials as described in the sample code along with the granule URL in my previous post. The response back goes through 3 redirects (HTTP 302) t...
- Mon Jun 13, 2022 10:44 am America/New_York
- Forum: Home
- Question: Data Download LP DAAC Data Pool via Java
- Replies: 5
Data Download LP DAAC Data Pool via Java
I've spent the last couple days going down different rabbit holes trying to find documentation and the method to just simply download a SRTM HGT file. For example, I want to get a file directly via its URL like "https://e4ftl01.cr.usgs.gov/MEASURES/SRTMGL3.003/2000.02.11/N09W062.SRTMGL3.hgt.zip...