fldmean_area: Calculate the area weighted field mean without using cdo.

Description Usage Arguments Value

View source: R/cdo_fxns.R

Description

fldmean_area Calculate the area weighted field mean for some varaible, without using cdo operators. It looks like there might be some issues with how the cdo code is working with the cmip6 netcdfs, untill those issuse are resolved the workaround will be to use R to do the area weighting average.

Usage

1
fldmean_area(info, in_nc, area_nc, showMessages = FALSE)

Arguments

info

The dataframe of CMIP information such as variable / ensemble / domain / ect.

in_nc

the path for the input netcdf file that is going to be procssed.

area_nc

the path for the area netcdf file that will be used as the area weights.

showMessages

default set to FALSE to hide messages

Value

A tibble of the area weighted mean.


kdorheim/cdoR documentation built on July 28, 2020, 6:42 p.m.