pyPDAF.PDAF.omi_set_disttype¶
- pyPDAF.PDAF.omi_set_disttype()¶
Setting the disttype attribute of obs_f.
Properties of obs_f are typically set in user-supplied function py__init_dim_obs_pdaf.
disttype determines the way the distance between observation and model grid is calculated in OMI. See PDAF distance computation.
- Parameters:
i_obs (int) – index of observations
disttype (int) – 0) Cartesian; 1) Cartesian periodic 2) Approximation to geographic distance in metres using latitude and longitude expressed in radians 3) Using Haversine formula to compute distance in metres between two points on the surface of a sphere 10) 3D Cartesian distance for 2D+1D factorised localisation where horizontal and vertical distances are treated separately 11) 3D Cartesian periodic distance for 2D+1D factorised localisation where horizontal and vertical distances are treated separately 12) Same as 2) for horizontal distance but vertical distance is in units chosen by users 13) Same as 3) for horizontal distance but vertical distance is in units chosen by users