DepthETOPO: DepthETOPO Compute the depth from ETOPO1 is at 1 arc minute...

View source: R/DepthETOPO.R

DepthETOPOR Documentation

DepthETOPO Compute the depth from ETOPO1 is at 1 arc minute resolution.

Description

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.

Usage

DepthETOPO(
  tracks,
  dataLat = "Latitude",
  dataLon = "Longitude",
  left = -179,
  right = -164,
  top = 60,
  bottom = 50,
  resolution = 30,
  keep = F
)

Arguments

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

Value

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

Author(s)

Abram B. Fleishman abram@conservationmetrics.com

References

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


abfleishman/trakR documentation built on Nov. 21, 2022, 7:59 a.m.