geovista.raster

geovista.raster#

Minimal geolocated raster utility support.

Notes#

Added in version 0.1.0.

Functions#

wrap_texture(texture[, central_meridian])

Re-center and wrap texture about the specified central meridian.

Module Contents#

geovista.raster.wrap_texture(texture, central_meridian=None)[source]#

Re-center and wrap texture about the specified central meridian.

Assumes that the source of the texture has global coverage, is on the Geographic projection and uses the WGS84 datum, with square pixels and no rotation.

Parameters:
textureTexture

The global texture to be re-centered.

central_meridianfloat, default=0.0

The meridian (degrees) that specifies the new center of the texture image.

Returns:
Texture

The re-centered PyVista texture.

Notes

Added in version 0.1.0.