Package terra 1.6.7 for Mac (x86_64 version) does not have the netCDF driver. I have checked with Robert Hijmans who confirms that this important driver is present in the Windows build, but missing from the Mac build. Could the package be built again to include the netCDF driver? Many thanks, Dan Bebber ________ Dan Bebber, DPhil Associate Professor of Ecology Department of Biosciences, University of Exeter, UK [I work 9am to 5pm Mon-Fri] # Code library(terra) # terra 1.6.7 d <- gdal(drivers=TRUE) d[d$name=="netCDF", ] # [1] name type can vsi long.name # <0 rows> (or 0-length row.names)
netCDF driver missing from package terra 1.6.7 for Mac
3 messages · Bebber, Dan, Roy Mendelssohn - NOAA Federal, Milani Chaloupka
For the nonce you can get terra from r-universe:
library(terra)
terra 1.6.10
d <- gdal(drivers=TRUE) d[d$name=="netCDF", ]
name type can vsi long.name 91 netCDF raster read/write FALSE Network Common Data Format This is on a Mac. -Roy
On Sep 6, 2022, at 12:02 PM, Bebber, Dan via R-SIG-Mac <r-sig-mac at r-project.org> wrote: library(terra) # terra 1.6.7 d <- gdal(drivers=TRUE) d[d$name=="netCDF", ]
********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center ***Note new street address*** 110 McAllister Way Santa Cruz, CA 95060 Phone: (831)-420-3666 Fax: (831) 420-3980 e-mail: Roy.Mendelssohn at noaa.gov www: https://www.pfeg.noaa.gov/ "Old age and treachery will overcome youth and skill." "From those who have been given much, much will be expected" "the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
It is in the development version for macOS at:
install.packages('terra', repos='https://rspatial.r-universe.dev?)
On 7 Sep 2022, at 5:02 am, Bebber, Dan via R-SIG-Mac <r-sig-mac at r-project.org> wrote: Package terra 1.6.7 for Mac (x86_64 version) does not have the netCDF driver. I have checked with Robert Hijmans who confirms that this important driver is present in the Windows build, but missing from the Mac build. Could the package be built again to include the netCDF driver? Many thanks, Dan Bebber ________ Dan Bebber, DPhil Associate Professor of Ecology Department of Biosciences, University of Exeter, UK [I work 9am to 5pm Mon-Fri] # Code library(terra) # terra 1.6.7 d <- gdal(drivers=TRUE) d[d$name=="netCDF", ] # [1] name type can vsi long.name # <0 rows> (or 0-length row.names) [[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac