[R] clim.pact (fwd)

Agustin Lobo alobo at ija.csic.es
Thu Jul 10 10:18:56 CEST 2003


I'm trying to use the clim.pact
package but I cannot find the
descritions of "map object or "field object". For example,
according to the man page of function "map":

"
Description 
	Produces maps. 

Usage 
	map(x,y=NULL,col="black",lwd=1,lty=1,sym=TRUE, plot=TRUE,inv.col=FALSE) 

Arguments x A map object.
...
"

and according to the man page of plotField:

"
Usage 
	plotField(x,lon=NULL,lat=NULL,tim=NULL,mon=NULL, 
	col="black",lty=1,lwd=1,what="ano") 

Arguments x A field object.
"

retrieve.nc might be a clue, but the
files mentioned in the man page are not included
in the package:

"
Description 
	Reads a netCDF file and picks out vectors that look like 
	lngitude, latitude and time. Returns the first 3-D field in the file.
Usage
	retrieve.nc(f.name="data/ncep_t2m.nc",..
.../...

Examples
	X.1 <- retrieve.nc("data/mpi-gsdio_t2m.nc", 
		x.rng=c(-60,40),y.rng=c(50,75)) 
	X.2 <- retrieve.nc("data/mpi-gsdio_slp.nc", 
		x.rng=c(-60,40),y.rng=c(50,75))
"

I've downloaded a sample nc file from 
http://www.epic.noaa.gov/java/ncBrowse/
but don't get to use plotField.

Does anyone have any experience using this 
package?

Thanks

Agus

Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es




More information about the R-help mailing list