Displaying 1 result from an estimated 1 matches for "netcdf_1036_temp".
2009 Apr 08
2
Reshape - strange outputs
...of three) and all the latitude values (which should be in either column one or two) are collected at the bottom. Also, the NA values aren't removed, despite this being requested in the code.
Code:
# NetCDF file has been read in and is being processed...
arunoff_1986_temp <- get.var.ncdf(netcdf_1036_temp, "arunoff")
# Assign row and column names
columnnames <- sprintf("%.2f", seq(from = -89.75, to = 89.75, length = 360))
rnames <- sprintf("%.2f", seq(from = -179.75, to = 179.75, length = 720))
colnames(arunoff_1986_temp) <- columnnames
rownames(arunoff_198...