Giter Site home page Giter Site logo

Comments (3)

dramanica avatar dramanica commented on September 26, 2024

What version of terra are you using? We have seen this problem before on Macs when terra is not downgraded to version 1.6.3. If you have a more recent version, can you please downgrade it as suggested on the pastclim website and report back?
For your information, the problem stems from the fact that recent versions of terra on CRAN have not been compiled with support for netcdf. terra is then unable to properly read variables from any .nc file, not just the ones in pastclim. Those // in front of variable names are the giveaway; there are no such //, it's a problem with gdal installations that lack netcdf support
A bit more discussion on this issue from StackOverflow:
https://stackoverflow.com/questions/73599324/r-terra-gdal-version-incorrect-cannot-read-nc-gdal-error-4
Let me know if downgrading terra fails to fix the problem, and we can try to dig a bit deeper.

from pastclim.

SamPassmore avatar SamPassmore commented on September 26, 2024

Hello. Thank-you for the quick response.
My apologies I did not realize the downgrading related to this error, I thought it was due to the error listed at the end of the readme page.

Downgrading terra did not immediately solve my problem, but uninstalling both terra and pastclim, and re-installing with the aforementioned versions fixed the issue.

from pastclim.

dramanica avatar dramanica commented on September 26, 2024

Hi @SamPassmore, no worries, glad it got resolved easily. It is a rather annoying bug, but hopefully it will get fixed on CRAN soon.

from pastclim.

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.