[R-sig-Geo] opening a grd file (Surfer)

Roger Bivand Roger.Bivand at nhh.no
Thu Oct 9 17:38:39 CEST 2008


On Thu, 9 Oct 2008, Anne Goarant wrote:

> Hello!
>
> Does anyone know how to open a .grd file (surfer type file) with R (or 
> convert this kind of file in ascii)? I tried using the RSAGA library but 
> failed.
> rsaga.geoprocessor("io_grid", 3, list( FILE = '10s70s0e150e.sgrd'))
> This are bathymetry data from the GEBCO website.

The  GS7BG -- Golden Software Surfer 7 Binary Grid File Format, or GSBG -- 
Golden Software Binary Grid File Format drivers in the rgdal package ought 
to open these files for reading. They are in the CRAN Windows binary 
package.

Roger

>
> Thanks
> Anne
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-sig-Geo mailing list