mask_nc: Mask NetCDF

mask_ncR Documentation

Mask NetCDF

Description

Mask NetCDF variable.

Usage

mask_nc(.data, mask = cru_mask())

Arguments

.data

3D matrix with latitude, longitude and time.

mask

2D matrix with all combinations of latitude, longitude and a third variable called land with logical values to indicated whether a grid cell should be used or ignored.

  • land = TRUE: use this value.

  • land = FALSE: ignore this value.

Value

2D version of .data, including latitute, longitude, and variables with the format T#, for each time step in .data: T1, T2, ..., Tk.


special-uor/smpds documentation built on July 9, 2024, 5:39 p.m.