Changes between Version 1 and Version 2 of PDAF_iau_set_weights


Ignore:
Timestamp:
Mar 25, 2025, 7:37:21 PM (7 days ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAF_iau_set_weights

    v1 v2  
    33This page documents the routine `PDAF_iau_set_weights` of PDAF, which was introduced with PDAF V3.0.
    44
    5 This routine allows the user to provide a user-specified array 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.
     5This 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.
    66
    77The 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`.
     
    1111{{{
    1212  SUBROUTINE PDAF_iau_set_weights(iweights, weights)
    13 }}}
    14 with the following arguments:
    15 {{{
     13
    1614    INTEGER, INTENT(in) :: iweights        !< Length of weights input vector
    1715    REAL, INTENT(in) :: weights(iweights)  !< Input weight vector
     
    1917
    2018Hints:
    21   * If `iweights` is different from the number of IAU steps set in `PDAF_iau_init` or `PDAF_iau_reset` only the minimum of iweights and the set IAU steps is filled with the provided weights vetor.
     19 * If `iweights` is different from the number of IAU steps set in `PDAF_iau_init` or `PDAF_iau_reset` only the minimum of `iweights` and the set IAU steps is filled with the provided weights vector.
    2220 * We recommend to only change the weights vector before a forecast phase.
    2321 * While setting different weight functions for different processes or model tasks is possible this likely leads to inconsistencies.