Hello!
I have a contour and I need *to rotate* it 180 degrees counterclockwise and
180 degrees around the x-axis.
This is a code. I get all the values from the ncdf file:
A = get.var.ncdf(nc, "air", start=c(1,1,1,1), count=c(144,73,1,1))
contour(A)
Thank you!
--
View this message in context:
Hello!
I'm trying to *save values* (*row and col*) in two matrices(1,m) or vectors.
I have a loop, where a get these values:
for(i in 144){
for(j in 73){
if(B4[i,j]==1){ # B4 is a matrix(73, 144)
row <- B4[i-(i-1),j]
col <-
Good morning!
Please, could you help me with the problem?
I have a matrix *144x73.*
An example of a matrix:
[,1] [,2] [,3] [,4] [,5]
[1,] 277.4 276.24 275.62 276.55 278.05
[2,] 277.4 276.24 275.55 276.42 277.72
[3,] 277.4 276.24 275.50 276.22 277.39
[4,] 277.4 27
Well, if I use this script:
library(ncdf)
link <-
"http://ibis.grdl.noaa.gov/SAT/SeaLevelRise/slr/slr_sla_gbl_free_all_66.nc";
dest <- "C:/temp/slr_sla_gbl_free_all_66.nc"
mode="wb": AFAIK
download.file(url=link,destfile=dest)
nc1 <- open.ncdf(dest)
compiler prints:
Error in R_nc_open: Inva
*Good day!*
I'm using Vista(x64) and R 2.13.0(x64) (with ncdf and RnetCDF packs)
*I have a problem:* I'm trying to open **.nc* file and I use this script
(http://r.789695.n4.nabble.com/Problem-downloading-and-opening-netcdf-file-td3046897.html#a3046965)
library(ncdf)
link <-
"http://ibis.grdl.
5 matches
Mail list logo