-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using /vis3/ for reading geotiff with terra::rast()
now appends current drive to start of string in v1.7.65
#1382
Comments
This may work:
And with the change I just made, this may work again as well:
Please let me know. |
Hi @rhijmans -- thanks so much for the quick reply! The first approach (using the |
Can't you install the dev version on windows with the line below?
|
!!! I had no idea I could do this! Thanks so much for providing binaries of the dev version! It does indeed install correctly and the second approach does indeed work using {terra} v1.7.67! I think we can safely close the issue. |
I was able to use the /vsis3/ approach to read geotiffs from an S3 bucket using {terra} v1.7.55 but this no longer appears to work on Windows for v1.7.65. It does appear to work on macOS. I'm using the latest version of R (4.3.2) and RStudio (RStudio 2023.12.0+369 "Ocean Storm" Release (33206f75bd14d07d84753f965eaa24756eda97b7, 2023-12-14) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.12.0+369 Chrome/116.0.5845.190 Electron/26.2.4 Safari/537.36)
Testing this requires AWS credentials to be set, as far as I know, so this example won't be reproducible but here's the output when it doesn't work (in v1.7.65):
When it does work (in previous version of {terra}), there is no "C:" appended ahead of the "/vsis3/" piece.
Any idea what might be going on?
The text was updated successfully, but these errors were encountered: