cropROMS: 'cropROMS' Spatial crop of Norkyst model output

Description Usage Arguments Details Value Author(s) See Also

Description

cropROMS Spatial crop of Norkyst model output

Usage

1
cropROMS(uc = u, vc = v, xdim = c(100:200), ydim = c(1:150))

Arguments

uc

u current vector data (list with components lon, lat, and u)

vc

v current vector data (list with components lon, lat, and v)

xdim

Specify subregion (row indexes) of matrix in first dimension.

ydim

Specify subregion (column indexes) of matrix in second dimension.

Details

Crops matrices and arrays of u and v variables, given specified row and column matrices. Note! Function currently only functional for current vector (u & v) data combined.

Value

Returns a cropped version of the dataset, as a list with sublists u and v, whcih are themselves lists containing objects lat, lon and either u or v (i.e. similar to unconverted output from readROMS)

Author(s)

Martin Biuw

See Also

readROMS to Read Norkyst data, imageROMS to plot data

Other Norkyst model output: imageROMS, readROMS


embiuw/NorKyst documentation built on May 9, 2019, 5 a.m.