pyPDAF.PDAF.omi_set_domainsize¶
- pyPDAF.PDAF.omi_set_domainsize()¶
This function sets the domainsize attribute of obs_f typically used in user-supplied function py__init_dim_obs_pdaf. domainsize(ncoord) is the size of the domain in each spatial dimension. This information is used to compute the Cartesian disance with periodic boundary. If the value of one dimension is <=0, no periodicity is assumed in that dimension.
- Parameters:
i_obs (int) – index of observations
domainsize (ndarray[tuple[ncoord], np.float64]) –
Size of the domain in each dimension
The array dimension ncoord is state dimension