I'm having trouble with the nc_open() from the ncdf4 <http://cirrus.ucsd.edu/~pierce/ncdf/>package in Windows 8.1. The following code crashes R when running in the standard GUI and RStudio. Any tips for fixing this and reading the data in more cleanly? library(ncdf4) url <- " http://thredds.northwestknowledge.net:8080/thredds/fileServer/NWCSC_INTEGRATED_SCENARIOS_ALL_CLIMATE/macav2livneh/CCSM4/macav2livneh_huss_CCSM4_r6i1p1_historical_1990_2005_CONUS_monthly.nc " download.file(url = url, destfile = "macav2livneh_huss_CCSM4_r6i1p1_historical_1990_2005_CONUS_monthly.nc") nc <- nc_open("macav2livneh_huss_CCSM4_r6i1p1_historical_1990_2005_CONUS_monthly.nc")
Reading .nc netCDF files
1 message · Kenny Bell