assimilateLite: Ensemble Assimilation Lite version

Description Usage Arguments Details Value Author(s)

View source: R/assimilateLite.R

Description

Main assimilation function called by analyseUG

Usage

1
2
assimilateLite(prm, A, HA, dy, R, debugmode, Kfname,
               xpos = NULL, xllen = NULL, ypos = NULL, mpi = NULL, sglst = NULL)

Arguments

prm

LIST, assimilation parameters

A

REAL, [n,m], 'dgCMatrix' or 'dgeMatrix', perturbation matrix, where n: augmented state vector length, and m: ensemble members

HA

REAL, [p,m], perturbations mapped into the dual of the observation space, where p is the number of observations

dy

REAL, [p], innovation vector

R

REAL, [p,p], 'ddiMatrix', 'dsyMatrix', or 'dtCMatrix': observation error covariance

debugmode

LOGICAL, whether to activate verbose output

Kfname

CHARACTER, filename, including path, of the output file to write the Kalman gain to

xpos

REAL, [n,2], augmented state geographical positions [0,0] for global variables

xllen

REAL, [n], localisation length

ypos

REAL, [p,2], observation coordinates

mpi

LOGICAL

sglst

LIST. If not NULL, SpatialGraph-based distance is used for localisation

Details

This function would most commonly be called by analyseUG. The arguments xpos, xllen, ypos, mpi, and sglst are only proided for input compatibility with assimilate(), which is under development. These are oriented to conduct observation localization, and are unused and set to NULL within this function.

Value

A LIST with the components

dx

vector of increments

A

matrix of updated perturbations

Author(s)

Javier Garcia-Pintado


garciapintado/rDAF documentation built on May 25, 2019, 7:26 p.m.