1.5.1.1.10.1.6. polar2grid.utils.warnings module

Warnings or utilities for dealing with warnings.

polar2grid.utils.warnings.ignore_no_georef()[source]

Wrap operations that we know will produce a rasterio geolocation warning.

polar2grid.utils.warnings.ignore_pyproj_proj_warnings()[source]

Wrap operations that we know will produce a PROJ.4 precision warning.

Only to be used internally to Pyresample when we have no other choice but to use PROJ.4 strings/dicts. For example, serialization to YAML or other human-readable formats or testing the methods that produce the PROJ.4 versions of the CRS.