Changes between Version 3 and Version 4 of PDAF_gather_obs_f2


Ignore:
Timestamp:
Dec 20, 2017, 5:54:10 PM (6 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAF_gather_obs_f2

    v3 v4  
    1414}}}
    1515with 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
     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
    1818 * `nrows` : `integer, intent(in)`[[BR]] Number of rows in observation coordinates array
    1919 * `status` : `integer, intent(out)`[[BR]] Status flag (0 for no error)
    2020
    2121Notes:
    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.
     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 `dim_obs_p` and `dim_obs_f` used here.
    2323 * 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`.
    2424 * 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.