pyresample icon indicating copy to clipboard operation
pyresample copied to clipboard

Deprecated use of pyproj.transform

Open pnuu opened this issue 5 years ago • 0 comments

Code Sample, a minimal, complete, and verifiable piece of code

pytest pyresample/test/test_geometry.py

Problem description

The usage of pyproj.transform has been deprecated. This function is used in pyresample.geometry.CoordinateDefinition.geocentric_resolution() and pyresample.geometry.SwathDefinition._do_transform() methods. The deprecation warning points to https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1 and the proper way in pyproj2 is to use pyproj.Transformer class.

pnuu avatar Sep 14 '20 12:09 pnuu