Changes between Version 4 and Version 5 of ModifyModelforEnsembleIntegration


Ignore:
Timestamp:
Aug 24, 2010, 3:50:32 PM (14 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ModifyModelforEnsembleIntegration

    v4 v5  
    1111The external loop for the ensemble integration has to enclose the time stepping loop of the model. Next to the external loop, two calls to subroutines of PDAF have to be added. These are the calls to `PDAF_get_state` and a filter-specific routine like `PDAF_put_state_seik` for the SEIK filter. Both routines are described in sections below.
    1212
    13  
     13 {{{
     14  pdaf_modelloop: DO 
     15
     16     CALL PDAF_get_state(nsteps, timenow, doexit, ..., status)
     17
     18     ! Check whether forecast has to be performed
     19     ifcontrol: IF (doexit /= 1) THEN
     20     
     21        IF (nsteps > 0) THEN
     22
     23          ... Time stepping code of the model ...         
     24
     25        END IF
     26
     27        CALL PDAF_put_state_seik(collect_state, ..., status)
     28
     29     ELSE ifcontrol
     30
     31        EXIT pdaf_modelloop
     32
     33     END IF ifcontrol
     34
     35  END DO pdaf_modelloop
     36}}}