Re: [R] graphing netCDF files

2008-09-23 Thread Paul Hiemstra
Hi Steve, (I'm replying to your e-mail at the mailing list to get it included there also) I've written some stuff on graphs with sp at the R wiki: http://wiki.r-project.org/rwiki/doku.php?id=tips:spatial-data:spatial_data_visualization or have a look at the gallery containing plots with the

Re: [R] graphing netCDF files

2008-09-22 Thread Paul Hiemstra
Hi Steve, If you read your netCDF files into R you end up with sp-classes which can be displayed using spplot. But you do not seem to use rgdal. If you can make a data.frame with the x, y and z coordinates this can quite easily be transformed into an sp-class: library(sp) dat = data.frame(x

[R] graphing netCDF files

2008-09-18 Thread Steve_Friedman
Hello I'm working with a large hydrological data set stored in a netCDF format. The file stores x and y coordinates in the UTM projected coordinate system, yet when I use image to graphically display the z variable, the image is distorted in the sense that it does not plot the map in the correct