search for: t2m

Displaying 4 results from an estimated 4 matches for "t2m".

Did you mean: p2m
2010 Jun 15
1
Error when callin g C-Code
Hi when I call the function below in R, i get the error: Object 'pairlist' can't be converted to 'double'. #include <R.h> #include <Rdefines.h> #include <Rmath.h> SEXP CSimPoisson(SEXP lambda, SEXP tgrid, SEXP T2M, SEXP Ni, SEXP NT) { double sign, EVar; double *xlambda, *xtgrid, *xT2M, *xNi, *xNT, *xtau; SEXP tau; int ltgrid =0; int i = 0; int j = 0; sign = 0; EVar = 0; ltgrid = LENGTH(tgrid); PROTECT(lambda = AS_NUMERIC(lambda)); PROTECT(tgrid = AS_NUMERIC(tgrid)); PROTECT(T2M = AS_NUMERIC(T2...
2008 Nov 24
0
spatial subset of ncdf
dear I was lokking for a solution or an example on the internet for quite a time but since haven?t found an answer yet, I'd like to ask a maybe to simple question: I have a large ncdf-file with five dimension. temperature (t2m), the variable against, lat, lon and time. (height is included as well) the structure is [1] "file C:/RDaten/t2m.ETH.HC_A2.nc has 5 dimensions:" [1] "height Size: 1" [1] "rlat Size: 75" [1] "rlon Size: 65" [1] "time Size: 11160" [1] "...
2010 Jun 13
1
Simulating a Poisson Process in R by calling C Code over .Call
Hi I want to write a C function for the R Code below and call it with .Call: SimPoisson <- function(lambda,tgrid,T2M) #Simulation eines Poissonprozesses { NT <- 0 Ni <- rep(0,length(tgrid)) tau <- 0 sign <- 0 if(lambda != 0) { i=1 j=1 while (1) { EVar <- rexp(1,lambda) sign <- sign + EVar if (sign > T2M) { break } tau[i] <- sign i = i+1 for (j...
2012 Mar 14
1
climate data, Netcdf
As you can see: time is from 1 to 1460, 1 means they the measure Tem for the globe at the first 6 hours , 2=after 12 hours .....; and so on 1460 *6 = 8760 hours which equals 1 year first of all I want to convert all data from kelvin to degree second I want to convert from 6 hourly to daily and make it like this raw data what i want to make time