[R] netcdf

Peter.Devoil@dpi.qld.gov.au Peter.Devoil at dpi.qld.gov.au
Tue Dec 10 23:54:19 CET 2002


hi matt,

the netcdf stuff has worked on anything I can dump with ncdump.  try:

> aaa<- open.netCDF("/scratch/pocernic/int_fcst.20021201.0010.nc")
> names(aaa)
..."VAR"
> var<- read.netcdf(aaa,"VAR")
or as slabs
>  var <- as.vector(read.netCDF(aaa, name="VAR", byrow=F, start=512,
count=512,attr=F))

Yours,
pdev.

********************************DISCLAIMER****************************
The information contained in the above e-mail message or messages 
(which includes any attachments) is confidential and may be legally 
privileged.  It is intended only for the use of the person or entity 
to which it is addressed.  If you are not the addressee any form of 
disclosure, copying, modification, distribution or any action taken 
or omitted in reliance on the information is unauthorised.  Opinions 
contained in the message(s) do not necessarily reflect the opinions 
of the Queensland Government and its authorities.  If you received 
this communication in error, please notify the sender immediately and 
delete it from your computer system network.




More information about the R-help mailing list