89 | | with arguments: |
90 | | * `stepnow`, `integer, intent(in)`:[[BR]] The current time step provided by PDAF |
91 | | * `nsteps`, `integer, intent(out)`:[[BR]] The number of time steps of the next forecast phase |
92 | | * `doexit`, `integer, intent(out)`:[[BR]] Exit flag: (1) exit, (0) continue data assimilation |
93 | | * `timenow`, `real, intent(out)`:[[BR]] The current (physical) model time as defined by the model or user. Not used by PDAF itself. |
| 134 | |
| 135 | INTEGER, INTENT(in) :: step ! Current time step |
| 136 | ! (When the routine is called before the analysis -step is provided.) |
| 137 | INTEGER, INTENT(in) :: dim_p ! Process-local state dimension |
| 138 | INTEGER, INTENT(in) :: dim_ens ! Size of state ensemble |
| 139 | INTEGER, INTENT(in) :: dim_ens_p ! Process-local ensemble size (not relevant for fully parallel) |
| 140 | INTEGER, INTENT(in) :: dim_obs_p ! Process-local dimension of observation vector |
| 141 | REAL, INTENT(inout) :: state_p(dim_p) ! Process-local state vector |
| 142 | ! The array 'state_p' is not generally not initialized. |
| 143 | ! It can be used freely in this routine. |
| 144 | REAL, INTENT(inout) :: Ainv(dim_ens-1, dim_ens-1) ! Inverse of matrix A )only for special cases) |
| 145 | REAL, INTENT(inout) :: ens_p(dim_p, dim_ens) ! State ensemble for process-local sub-domain |
| 146 | INTEGER, INTENT(in) :: flag ! PDAF status flag |
135 | | with arguments: |
136 | | * `step`, `INTEGER, INTENT(in)`:[[BR]] Current time step (When the routine is called for the forecast state the time steps is provided as a negative value.) |
137 | | * `dim_p`, `INTEGER, INTENT(in)`:[[BR]] Process-local state dimension |
138 | | * `dim_ens`, `INTEGER, INTENT(in)`:[[BR]] Ensemble size |
139 | | * `dim_ens_p`, `INTEGER, INTENT(in)`:[[BR]] Process-local ensemble size (not relevant for ''fully parallel'') |
140 | | * `dim_obs_p`, `INTEGER, INTENT(in)`:[[BR]] Process-local dimension of observation vector |
141 | | * `state_p`, `REAL, INTENT(inout), dimension(dim_p)`:[[BR]] Process-local state vector (The array 'state_p' is not generally not initialized. It can be used freely in this routine.) |
142 | | * `Ainv`, `REAL, INTENT(inout), dimension(dim_ens-1, dim_ens-1)`:[[BR]] Inverse of matrix A (only for special cases) |
143 | | * **`ens_p`, `REAL, INTENT(inout), dimension(dim_p, dim_ens)`**:[[BR]] State ensemble for process-local sub-domain |
144 | | * `flag`, `INTEGER, INTENT(in)`:[[BR]] PDAF status flag |