monthly_downscaling: Downscale annual data to monthly data.

Description Usage Arguments Value

View source: R/monthly_downscaling.R

Description

monthly_downscaling Use average monthly fractions of annual tas or pr ISMIP/CMIP5 data to downscale annual data to montly values.

Usage

1
monthly_downscaling(alpha, fld_data, fld_coordinates, fld_time, var)

Arguments

alpha

Matrix[ngrid, 12] of the alpha parameters for the Dirichlet distribution. These values are included as package data. For more details on how they are calculated see data-raw.

fld_data

the 2d array of ntime x ngrid of the data to be downscaled, this object should be a flattened 3-D array, where latitude the most rapidly varying index for the individual time slices.

fld_coordinates

a data frame of the grid cells coordinates for the field matrix.

fld_time

a vector of the field time values.

var

the string of the variable to process.

Value

a list containing the monthly downsaceld 2d array and a


JGCRI/an2month documentation built on July 31, 2020, 2:53 p.m.