DepthETOPO | R Documentation |
Extract sea floor depth at each point along a track. Relies on 'marmap::getNOAA.bathy' which queries the ETOPO1 database hosted on the NOAA website, given the coordinates of the area of interest and desired resolution. Then extracts the values at each point along the track.
DepthETOPO( tracks, dataLat = "Latitude", dataLon = "Longitude", left = -179, right = -164, top = 60, bottom = 50, resolution = 30, keep = F )
tracks |
data.frame of data to be queried for latand long values |
dataLat |
quoted name of column in data that has latitude values |
dataLon |
quoted name of column in data that has longitude values |
left |
The left side of the bounding box of data |
right |
The right side of the bounding box of data |
top |
The top side of the bounding box of data |
bottom |
The bottom side of the bounding box of data |
resolution |
arc minutes res |
keep |
save a file |
A vector of elevation/depth in meters from ETOPO1 world bathymatry at a resolution of 1 arc minute needs to add :importFrom SDMTools extract.data asc.from.sp
Abram B. Fleishman abram@conservationmetrics.com
Amante, C. and B. W. Eakins, ETOPO1 1 Arc-Minute Global Relief Model: Procedures, Data Sources and Analysis. NOAA Technical Memorandum NESDIS NGDC-24, 19 pp, March 2009. http://www.ngdc.noaa.gov/mgg/global/relief/ETOPO1/docs/ETOPO1.pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.