PDAF_iau_set_weights
This page documents the routine PDAF_iau_set_weights of PDAF, which was introduced with PDAF V3.0.
This routine allows the user to provide a user-specified vector of increment weights. While PDAF_iau_init allows to choose among pre-defined weight functions, one might like to use a different function and the corresponding weight can be set here.
The routine has to be called by all processes that are model processes. A common place is to call the routine in assimilate_pdaf after an analysis step or in distribute_state_pdaf.
The interface is the following:
  SUBROUTINE PDAF_iau_set_weights(iweights, weights)
    INTEGER, INTENT(in) :: iweights        ! Length of weights input vector
    REAL, INTENT(in) :: weights(iweights)  ! Input weight vector
Hints:
- If 
iweightsis different from the number of IAU steps set inPDAF_iau_initorPDAF_iau_resetonly the minimum ofiweightsand the set IAU steps is filled with the provided weights vector. - We recommend to only change the weights vector before a forecast phase.
 - While setting different weight functions for different processes or model tasks is possible this likely leads to inconsistencies.
 
          
            Last modified
 7 months ago          
          
            Last modified on Mar 25, 2025, 7:39:20 PM
          
        
      
  Note:
 See   TracWiki
 for help on using the wiki.
    