Re: [R] problem selecting 330 to 30 longitude

2009-11-23 Thread Paul Hiemstra
Hi Nora, Take a look at using the sp-classes to represent spatial data. Take a look at the spatial task view [1] for some pointers on how to read data into sp-objects (rgdal package) and at solving your particular problem (overlay from the sp-package). Also you could consider reposting your q

[R] problem selecting 330 to 30 longitude

2009-11-20 Thread Nora Hanson
Hello, This is probably very simple but I am trying to select a region from the OIv2 SST dataset that crosses 0 longitude. The longitude variable is arranged from 0 to 360 and I get an error message when trying to go from 330 to 30 for example. The data are from a NOAA netCDF file. *temp = open.n