Changes between Initial Version and Version 1 of PDAF_gather_obs_f2


Ignore:
Timestamp:
Dec 20, 2017, 5:35:42 PM (7 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAF_gather_obs_f2

    v1 v1  
     1= PDAF_gather_obs_f2 =
     2
     3This page documents the routine `PDAF_gather_obs_f2` of PDAF, which was introduced with PDAF V1.13.
     4
     5In the local filters (LESKTF, LETKF, LSEIK, LNETF) this routine gathers the process-local observation coordinates arrays and returns the cooridates for the full observation vector.
     6
     7The routine depends on `PDAF_gather_dim_obs_f` which defines the process-local observation dimensions. Further, the related routine `PDAF_gather_obs_f` is used to collect the full state vector.
     8
     9The routine is typically used in the routines `init_dim_obs_f_pdaf` if the analysis step of the local filters is parallelized.
     10
     11The interface is the following:
     12{{{
     13  SUBROUTINE PDAF_gather_obs_f2(coords_obs_p, coords_obs_f, nrows, status)
     14}}}
     15with the following arguments:
     16 * `coords_obs_p` : `real, intent(in)`[[BR]] Process-local observation coordinates array
     17 * `coords_obs_f` : `real, intent(out)`[[BR]] Full observation coordinates array
     18 * `nrows` : `integer, intent(in)`[[BR]] Number of rows in observation coordinates array
     19 * `status` : `integer, intent(out)`[[BR]] Status flag (0 for no error)
     20
     21Notes:
     22 * The routine `PDAF_gather_dim_obs_f` has to be called once before using `PDAF_gather_obs_f` because it internally initializes the local observation dimensions for gathering. The most recent call to `PDAF_gather_dim_obs_f` defines the dimensions used here.
     23 * The routine is used for a coordinate array which stores in each column the coordinates of one observation. Thus for a two-dimensional case, the size of `coords_obs_p` is `(2, dim_obs_p)` and `nrows=2` is used in the call to `PDAF_gather_obs_f2`.
     24 * If the coordindates are stored so that each row of `coords_obs_p` holds the coordinates of one observation the routine `PDAF_gather_obs_f` should be applied separate for each column to gather the full coordinates array.