[R-sig-Geo] grd files PROBLEM SOLVED

Michael Sumner mdsumner at gmail.com
Mon Nov 1 00:38:00 CET 2010


I missed this previously, just note that this depends on the actual
file format - it should always work the same if it's NetCDF, but
otherwise willl depend on the available GDAL drivers to rgdal.

It might be worth finding out.

Cheers, Mike.

On Mon, Nov 1, 2010 at 9:23 AM, Robert J. Hijmans <r.hijmans at gmail.com> wrote:
> Perhaps easier to access them in R:
>
> library(raster)
> r <- raster(filename.grd)
>
> and then, e.g.,
>
> plot(r)
> spg <- as(r, 'SpatialGridDataFrame')
>
> Robert
>
>
>
> On Sun, Oct 31, 2010 at 2:42 PM, Peter Larson <pslarson2 at gmail.com> wrote:
>> Hello,
>>
>> grd file problem solved.
>>
>> I used DIVA to convert the file to an ASCII.
>>
>> Thanks,
>>
>> Pete
>>
>>
>>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



-- 
Michael Sumner
Institute for Marine and Antarctic Studies, University of Tasmania
Hobart, Australia
e-mail: mdsumner at gmail.com



More information about the R-sig-Geo mailing list