Skip to content
Prev 361653 / 398506 Next

How to get bathymetry data using R

Use the ?rerddap? package that accesses our ERDDAP server.  You can see the data available at:

http://upwell.pfeg.noaa.gov/erddap

In the search box type in ?bathymetry?.    You can subset as you want, using ?rerddap? you get back a netcdf file that is already read into your R workspace,  or you can write your own 2 lines of code  (since the URL completely defines the request) and get the data back in any number of file formats.  I don?t want to get into a format war, but for large gridded datasets like this I much prefer netcdf files.

If you have any questions at all about either the ?rerddap? package  (developed by the wonderful people at ROpenSci) or about our ERDDAP service, don?t hesitate to ask.

-Roy
**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new address and phone***
110 Shaffer Road
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected" 
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.