data.raw
, by reducing its spatial and temporal range, applying offsets,
adjusting for depth readings, correcting for erroneous measurements, and interpolating values.srvy.process(const.3d = FALSE)
TRUE
an interpoled surface is constructeddata.pts
data frame and data.grd
list, see srvy.dat
.min.x
, max.x
, min.y
, and max.y
the
minimum x
, maximum x
, minimum y
, and maximum y
spatial range values, respectively;
min.t
and max.t
the minimum and maximum temporal range values, respectively; and
polyRange
, a polygon that defines the maximum spatial extent for the (x,y)
data (see srvy.dat
).
State variable and temporal offsets are applied using off.z
and off.t
, respectively.
Note that off.t
is specified in seconds (see srvy.dat
).
If depth
is TRUE
the state variable is designated as the depth below water surface and
z
values will be subtracted from the user specified water surface elevation, wtr.elev
;
depth values will then be plotted as elevations (see srvy.dat
).
Erroneous state variable measurements are identified by calculating the change in z
over
the change in time for sequential data records. Those gradients exceeding a user defined tolerance,
grad.tol
, are identified as erroneous measurements and excluded from the data-set.
The process is then repeated until all gradients are less than the user specified tolerance.
An exception to the tolerance constraint is made for sequential records whose time difference is greater than
a specified time gap, time.gap
(see srvy.dat
).
If const.3d
is TRUE
an interpolated grid of z
values in constructed using a
Multilevel B-spline approximation. The spatial extent of the interpolated surface is constrained using
polyLimit
, a polygon that sets spatial limits for grid data; where z
values cooresponding to
grid nodes located outside this polygon are set to NA
(see srvy.dat
).mba.surf
data(project)
srvy.process(const.3d = TRUE)
Run the code above in your browser using DataLab