Displaying 1 result from an estimated 1 matches for "steinber".
Did you mean:
steinberg
2008 Jul 09
1
netCDF to TIFF
...emperatures as the actual values. Below is my code thus
far that I adapted from an example on the UCAR website.
Thanks in advance!
-Dan
--------------------------------------------------------------------------------------------------
# Set working directory and load library
setwd('C:/Users/steinber/Documents/DATA/ENSEMBLES/')
library(ncdf)
library(rgdal)
library(chron)
library(fields)
# Read netCDF file
tg.ncdf = open.ncdf('tg_0.25deg_CRU_version1.0.nc')
tg.ncdf
lonmat = get.var.ncdf(nc=tg.ncdf,varid="longitude") # reads entire matrix
latmat = get.var.ncdf(nc=tg.nc...