Changes between Version 6 and Version 7 of PDAF_eofcovar
- Timestamp:
- Nov 30, 2019, 5:22:58 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PDAF_eofcovar
v6 v7 38 38 === Mean state computation and subtraction (remove_mstate) === 39 39 40 The option `remove_mstate` allows to tell the routine to compute the mean state of the input states in `states` and to subtract it from this array before computing the EOF decomposition. Finally the mean state is added again to the array `states` to return it unchanged.40 The option `remove_mstate` allows to tell the routine to compute the mean state of the input states in `states` and to subtract it from this array before computing the EOF decomposition. 41 41 42 42 This option allows to let `PDAF_eofcovar` handle the mean-state computation, which is required to compute the EOF decomposition. It is useful for the case that the mean state over all input state has to be computed. If a different mean should be subtracted from the states, the user has to do this before calling `PDAF_eofcovar`. In this case, one set `remove_mstate=0` to avoid a further computation and subtraction of a mean state. This case happens, e.g. if a running mean is subtracted like when the states are snapshots over a model state of the ocean over one year and one wants to remove a running seasonal mean.