sweq_partition: SWEQ partition for the block-LEnKPF

Description Usage Arguments Examples

View source: R/utils_geom.R

Description

Partition the observations in blocks for assimilation with block-LEnKPF. Takes into account the sweq geometry We assume that R is diagonal and don't take it into account

Usage

1
sweq_partition(H, taper, block.size)

Arguments

H

the observation operator

taper

the tapering matrix (qxq)

block.size

chunk size in domain space to take into account for one block

Examples

1
2
3
4
5
6
ndim <- 168
## observe all rain + some wind:
y.ind <- c( (ndim+1):(ndim+10), (2*ndim+1):(3*ndim) )
H <- diag(ndim*3)[y.ind, ]
taper <- sweq_GC(ndim, 5)
partition <- sweq_partition(H, taper, 21)

robertsy/assimilr documentation built on May 27, 2019, 10:33 a.m.