-
Notifications
You must be signed in to change notification settings - Fork 97
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
NetCDF driver missing from GDAL in OSX binary packages #566
Comments
@edzer yes, you're right, |
BTW: please file this in https://github.com/R-macos/recipes so it can be addressed. |
The sf patch for the development version of Rtools42 is at https://www.r-project.org/nosvn/winutf8/ucrt3/patches/CRAN/sf.diff, for terra same directory. These libraries have extended recently to cover
|
I added a PR to R-macos/recipes: R-macos/recipes#33 |
@edzer, @rsbivand can you, please, check latest binaries for arm64? (use https://mac.R-project.org as CRAN mirror) The latest recipes should have the drivers that were requested. If there is anything else you need, please supply details with libraries are needed. |
Thanks, @s-u - I'm away from a Mac for a few days, but noticed that the new libraries for arm64 seem to fail to build sf: https://cran.r-project.org/web/checks/check_results_sf.html while succeeding on x86_64. |
I think that is an old sync, I don't see any issue on my end:
|
Libraries for |
@edzer Thanks for the confirmation. I have not updated the x86 build machines yet - will do now. |
Looks like this now works for both r-release-macos flavors - thanks! |
Thanks, @edzer, now that both arm64 and x86_64 are both on Big Sur I hope the issues will diminish. Also please let me know if/when you want me to update GDAL - I was holding back since there are often issues with the latest releases and package compatibility so I won't try to update to any non-patch version unless I get ok from you. |
@s-u We have r-spatial/sf#2156 needing to write OpenFileGDB out, this was added to GDAL in 3.6. If you are ready (with cmake), GDAL is at 3.6.4 now (you are right, 3.6.0 was withdrawn and 3.6.1 didn't last long), and 3.7 is expected soon. |
See https://cran.r-project.org/web/checks/check_results_stars.html : package
stars
now errors on reading NetCDF files on all OSX platforms. It reads raster data through GDAL, which is provided bysf
. I just checked on an OSX machine, and theNetCDF
driver in GDAL is missing (e.g. in bothsf
andterra
). This used to not be the case. Other R packages (ncdf4
,RNetCDF
) work fine, so NetCDF seems to work on OSX. I looked into the recipes file for GDAL here and wondered whethernetcdf
should be listed inDepends:
?@s-u could you pls take a look at this, when you get some time?
Cc: @rhijmans @rsbivand
The text was updated successfully, but these errors were encountered: