UnitSphere#
- class gpjax.xarray.UnitSphere(lat='lat', lon='lon', name='sphere')[source]#
Bases:
InputTransformMap latitude and longitude in degrees to a point on the unit sphere.
The two columns are replaced, at the position of
lat, by{name}_x = cos(lat) cos(lon),{name}_y = cos(lat) sin(lon)and{name}_z = sin(lat). A stationary kernel on these columns uses the chord distance through the sphere, which is valid on the whole globe: it has no seam at the antimeridian, no singularity at the poles, and it does not stretch distances at high latitudes. A lengthscale is then in Earth radii (one radius is about 6371 km).Expand for references to
gpjax.xarray.UnitSphere