Giter VIP home page Giter VIP logo

Comments (7)

16EAGLE avatar 16EAGLE commented on May 27, 2024

Thanks for reporting and sorry for the delayed reply. Unfortunately, ESPA is currently unavailable due to the temporary shutdown of the United States federal government. This is the reason for both the query failure and the maintenance status. See https://espa.cr.usgs.gov/

I just updated getSpatialData so that getLandsat_query is not failing, if ESPA is unavailable. Instead, the record field levels_available is set to NA. Please install the newest version and let me know, if the issue could be solved.

from getspatialdata.

Matiasedguzman avatar Matiasedguzman commented on May 27, 2024

Thank you very much for your answer! Do you know if ESPA's server will return to be available soon? or it's the first time that this happened?

from getspatialdata.

16EAGLE avatar 16EAGLE commented on May 27, 2024

I am afraid, ESPA will not return until a political solution is found that ends the U.S. government shutdown or the shutdown of some U.S. government branches.

from getspatialdata.

Matiasedguzman avatar Matiasedguzman commented on May 27, 2024

In this case, it's possible to change the server for obtain Landsat 8 data with getLandsat_query?

from getspatialdata.

Matiasedguzman avatar Matiasedguzman commented on May 27, 2024

do you know another way to get Landsat 8 data in R?

from getspatialdata.

16EAGLE avatar 16EAGLE commented on May 27, 2024

Yes, you can still download Landsat 8 Level 1 data via AWS using getLandsat_data. Since ESPA is not available, on-demand processing of higher-level products such as surface reflectances is not possible. This is something that has not to do with getSpatialData and will apply for all ESPA clients in R.

I added another change that makes it possible to still download Landsat level 1 data if ESPA is offline. Please reinstall getSpatialData.

You can download Landsat 8 data as shown in this example (to be run after setting your AOI, login, archive directory etc.):

records <- getLandsat_query(time_range = c("2018-08-01", "2018-08-31"), name = "LANDSAT_8_C1")
getLandsat_data(records[1,], level = "l1") #to download the first dataset from AWS

from getspatialdata.

Matiasedguzman avatar Matiasedguzman commented on May 27, 2024

Wonderful! Now I can download Landsat 8 data again! Thank you very much!

from getspatialdata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.