removePacific: Remove Pacific Ocean data from N. Atlantic analyses

Description Usage Arguments Value Examples

View source: R/removePacific.r

Description

removePacific removes Pacific Ocean from WOA and other forms of array-based data. This is a specialized function to address the issue when the Pacific side of Panama enters into the model bounding box of a North Atlantic analysis.

Usage

1
removePacific(dat, lat, lon)

Arguments

dat

is output from extract.woa

lat

is output from extract.woa

lon

is output from extract.woa

Value

dat is WOA data grid with Pacific removed only tested when area of interest is N Atlantic

Examples

1
2
3
4
5
6
7
## Not run: 
woa.dir <- getwd()
woa <- extract.woa(woa.dir, bbox = c(-90, -30, -10, 30), 'quarter')
woa <- removePacific(woa, lat, lon)
image.plot(woa[,,1,1])

## End(Not run)

HMMoce documentation built on Nov. 17, 2017, 5:57 a.m.