search for: msvf

Displaying 1 result from an estimated 1 matches for "msvf".

Did you mean: msvc
2010 Jun 16
1
Help asked for automated generation of ncdf variables
...39;m unable to create a correct list of class "var.ncdf". ###code piece river=list(mode='var.ncdf', length=nriv) #class(river)="var.ncdf" for ( iriv in 1:nriv) { nam=paste('r',iriv, collapse=NULL,sep="") riv= var.def.ncdf(nam,"m**3/s",d1,msvf,longname=names[iriv],prec="single") #class(river[iriv]) ="var.ncdf" river[iriv] = riv } ncw=create.ncdf(wfile,list(river)) ###This is failing by warning first (which I do not understand): 1: In river[iriv] = riv : number of items to replace is not a multiple of replacem...