Code Monkey home page Code Monkey logo

Comments (5)

cvitolo avatar cvitolo commented on July 19, 2024

This is due to the 'ncl' tool to convert hdf4 to netcdf. If this dependecy could be somehow lifted, the usability of the package would improve.

Help/suggestions needed!

from caliver.

alpha-oliveira avatar alpha-oliveira commented on July 19, 2024

In Windows I had a problem with that function even in the terminal. I think it could be solved adding
,mode="wb" in the line 107:
download.file(url = the_url, destfile = file.path(my_temp_dir, fname), quiet = TRUE, cacheOK = TRUE, mode= "wb")
Otherwise, the hdf5 downloaded file is not valid. I took the cue from here.

from caliver.

lvhengani avatar lvhengani commented on July 19, 2024

I am having a problem of running get_gfed4 using terminal. The error is shown below:

BurnedAreas <- get_gfed4(start_date = "2003-01-01", end_date = "2015-12-31", temporal_resolution = "daily", varname = "BurnedArea", region = "GLOB")
Error in curl::curl_fetch_disk(url, x$path, handle = handle) :
Timeout was reached: Connection time-out
Either the data or the server are unavailable.
Error in get_gfed4(start_date = "2003-01-01", end_date = "2015-12-31",  :
Please check whether your dates are valid or try again later.

What could be causing this?

from caliver.

cvitolo avatar cvitolo commented on July 19, 2024

GFED ftp seems no longer working (http://globalfiredata.org/pages/data/#burned-area).
The function get_gfed() will be deprecated.

from caliver.

cvitolo avatar cvitolo commented on July 19, 2024

The function get_gfed() is now defunct.

from caliver.

Related Issues (11)

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.