Changes between Initial Version and Version 1 of PDAF_gather_obs_f2_flex


Ignore:
Timestamp:
Jul 5, 2019, 10:14:56 AM (5 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAF_gather_obs_f2_flex

    v1 v1  
     1= PDAF_gather_obs_f2_flex =
     2
     3This page documents the routine `PDAF_gather_obs_f2_flex` of PDAF, which was introduced with PDAF V1.14.
     4
     5In the local filters (LESKTF, LETKF, LSEIK, LNETF) this routine can be used to gather the process-local observation coordinates arrays and returns the cooridates for the full observation vector.
     6
     7The routine is typically used in the routines [wiki:init_dim_obs_f_pdaf] if the analysis step of the local filters is parallelized.
     8
     9The interface is the following:
     10{{{
     11  SUBROUTINE PDAF_gather_obs_f2_flex(dim_obs_p, dim_obs_f, coords_obs_p, coords_obs_f, nrows, status)
     12}}}
     13with the following arguments:
     14 * `dim_obs_p` : `integer, intent(in)`[[BR]] Process-local dimension of observation vector
     15 * `dim_obs_f` : `integer, intent(in)`[[BR]] Full dimension of observation vector
     16 * `coords_obs_p` : `real, intent(in), dimension(nrows, dim_obs_p)`[[BR]] Process-local observation coordinates array
     17 * `coords_obs_f` : `real, intent(out), dimension(nrows, dim_obs_f)`[[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 [Wiki:PDAF_gather_dim_obs_f] can be used to determine `dim_obs_f`.
     23 * This is more flexible variant to the routine [wiki:PDAF_gather_obs_f2]. It's functionality is the same, but it does not rely on a previous call to the routine `PDAF_gather_dim_obs_f`.
     24 * 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`.
     25 * 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.