get_SPM: Extract Suspended Particulate Matter data from Globcolour

View source: R/Extractor functions.R

get_SPMR Documentation

Extract Suspended Particulate Matter data from Globcolour

Description

This function takes a netcdf from Globcolour and returns the mean Suspended Particulate MAtter (SPM) from within a lat/lon window.

Usage

get_SPM(File, Year, Month, crop)

Arguments

File

a path to a GLobcolour netcdf file.

Year

The year the file contains data for.

Month

The month the file contains data for.

cropr

The bounding box of an SF object to crop to, as returned by 'st_bbox()'.

Value

A dataframe containing point estimates within an area of SPM with time columns appended.


Jack-H-Laverick/MiMeMo.tools documentation built on March 6, 2023, 3:44 p.m.