Skip to content

netCDF driver missing from package terra 1.6.7 for Mac

3 messages · Bebber, Dan, Roy Mendelssohn - NOAA Federal, Milani Chaloupka

#
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)
#
For the nonce you can get terra from r-universe:
terra 1.6.10
name   type        can   vsi                  long.name
91 netCDF raster read/write FALSE Network Common Data Format

This is on a Mac.

-Roy
**********************
"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?)