pyPDAF.PDAF.set_smootherens¶
- pyPDAF.PDAF.set_smootherens()¶
This function can be used in the offline implementation when a smoother is used. It is typically called in py__init_ens_pdaf in the call to pyPDAF.PDAF.PDAF_init. The function pyPDAF.PDAF.set_smootherens is used when the smoother extension of a filter is used. In this case, the smoothed ensemble states at earlier times are stored in an internal array of PDAF. To be able to smooth post times, the smoother algorithm must have access to the past ensembles. In the offline mode the user has to manually fill the smoother ensemble array from ensembles read in from files. In the online mode, the smoother array is filled automatically during the cycles of forecast phases and analysis steps.
- Parameters:
maxlag (int) – Number of past timesteps processed in sens
- Returns:
c_sens_point (ndarray[float]) – Pointer to smoother array
dims (ndarray[tuple[3], np.intc]) – dimension of the pointer
status (int) – Status flag