Comments (3)
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.
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.
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)
- pastclim not compatible with the latest terra on CRAN 1.6-41 HOT 1
- terra interface HOT 1
- biome value is float when using nn_interpol HOT 1
- match name of bio05/bio06 for Beyer/Krapp HOT 2
- worldclim link broke HOT 3
- Issue downloading Worldclim HOT 19
- Error in location_series() HOT 12
- Variable descriptions for each dataset HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pastclim.