resize_mask: Resize the mask

Description Usage Arguments Value

View source: R/mask-functions.R

Description

Resize the mask

Usage

1
2
resize_mask(mask, reference_df, step = 0.25, coordinates_names = c("lon",
  "lat"), plot_ = FALSE)

Arguments

mask

a mask dataframe loaded using the load_mask function.

reference_df

a reference dataframe containing at least the following variables: longitude, latitude, id_pixel.

step

step (resolution) in the longitude-latitude grid. Set to 0.25 by default.

coordinates_names

names of the coordinates (longitude and latitude).

plot_

Should the function plot the original and interpolated map for a visual comparison? Boolean. FALSE by default.

Value

a dplyr dataframe


pegoraro/qchlorophyll documentation built on May 24, 2019, 11:46 p.m.