GithubHelp home page GithubHelp logo

Comments (4)

goergen95 avatar goergen95 commented on September 26, 2024

Looks like a new error to me. Seems like we haven't properly fixed the download function the last time. But its not related to the changes in #5. I will look into it shortly.

from mapme.forest.

Jo-Schie avatar Jo-Schie commented on September 26, 2024

Cool. Aren't the masks also available here? Not sure it it is the same but if we can avoid the AMAZON storage then maybe this facilitates things...

Data mask (datamask)
Three values representing areas of no data (0), mapped land surface (1), and permanent water bodies (2).

Or is it again the CO2 problem? Then maybe we should exclude it completely for the moment and add it as a new feature request for the future...?

from mapme.forest.

goergen95 avatar goergen95 commented on September 26, 2024

That turned out to be an really interesting bug. It was caused that the csv file from where we extract the locations of available CO2-emissions tiles were again query able from the server. However, the links to the GTiffs still are pointing to a dead end causing then an error in the download.file() and the function to fail.

When looking into it I discovered that there were fairly new data sets published on the GFW Data Portal, e.g. one layer of Forest Greenhouse Gas Emissions which closely resembles the data we used before. This new data set now actually is available globally while the Biomass Loss layer before was only available for the tropics. The layer is part of the publication of Harris et al (2021). Maybe have a look into it, because there seem to be a number of new interesting layers (e.g. Forest Carbon Removals.

For now, I established a fairly simple routine to download this new layer in 20aad3f. I am thinking, that an API package to the GlobalForestWatch Data API would be quite useful because there are a bunch of interesting data sets. If none such R package exist we could think about implementing that in either {mapme.forest} or a new package?

Also, please note that the routines analysing this layer are in need of some adaptation. The layer represents greenhouse gas emission between 2000 and 2020. Thus we need to first divide it by 20 to get an information about the yearly average and then aggregate on the user specified year vector. So, the current commit ensures functionality but I would advise to currently not use the CO2 layer in analysis.

EDIT: Added refernce to the commit with the mentioned changes.

from mapme.forest.

Jo-Schie avatar Jo-Schie commented on September 26, 2024

ok download issue seems to be fixed for now.

from mapme.forest.

Related Issues (9)

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.