hawaii: Bathymetric data for Hawaii, USA

hawaiiR Documentation

Bathymetric data for Hawaii, USA

Description

Bathymetric object of class bathy created from NOAA GEODAS data and arbitrary locations around the main Hawaiian islands.

Usage

data(hawaii)
data(hawaii.sites)

Details

hawaii contains data imported from the NOAA GEODAS Grid Translator webpage (https://maps.ngdc.noaa.gov/viewers/wcs-client/) and transformed into an object of class bathy by read.bathy. hawaii.sites is a 2-columns data.frame containing longitude and latitude of 6 locations spread at sea around Hawaii.

Value

hawaii: a bathymetric object of class bathy with 539 rows and 659 columns. hawaii.sites: data.frame (6 rows, 2 columns)

Author(s)

see https://maps.ngdc.noaa.gov/viewers/wcs-client/

See Also

plot.bathy, summary.bathy

Examples

# load hawaii data
	data(hawaii)
	data(hawaii.sites)

# class "bathy"
	class(hawaii)
	summary(hawaii)

## Not run: 
## use of plot.bathy to produce a bathymetric map
# creation of a color palette
	pal <- colorRampPalette(c("black","darkblue","blue","lightblue"))

# Plotting the bathymetry
	plot(hawaii,image=TRUE,draw=TRUE,bpal=pal(100),asp=1,col="grey40",lwd=.7)

# Adding coastline
	require(mapdata)
	map("worldHires",res=0,fill=TRUE,col=rgb(.8,.95,.8,.7),add=TRUE)

# Adding hawaii.sites location on the map
	points(hawaii.sites,pch=21,col="yellow",bg=col2alpha("yellow",.9),cex=1.2)

## End(Not run)

marmap documentation built on March 31, 2023, 6:59 p.m.

Related to hawaii in marmap...