Commit bb396fd5 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed a warning coming from pyresample.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent c140bc64
Pipeline #8649 passed with stages
in 8 minutes and 40 seconds
...@@ -2,7 +2,13 @@ ...@@ -2,7 +2,13 @@
History History
======= =======
0.3.0 (2020-05-18) 0.3.1 (2020-05-08)
------------------
* Fixed a warning coming from pyresample.
0.3.0 (2020-05-08)
------------------ ------------------
* Converted all type hints to Python 3.6 style. Dropped Python 3.5 support. Fixed code duplicate. * Converted all type hints to Python 3.6 style. Dropped Python 3.5 support. Fixed code duplicate.
......
...@@ -313,7 +313,7 @@ class SensorMapGeometryTransformer(object): ...@@ -313,7 +313,7 @@ class SensorMapGeometryTransformer(object):
float, float, float], str): float, float, float], str):
gt = area_definition.area_extent[0], area_definition.pixel_size_x, 0, \ gt = area_definition.area_extent[0], area_definition.pixel_size_x, 0, \
area_definition.area_extent[3], 0, -area_definition.pixel_size_y area_definition.area_extent[3], 0, -area_definition.pixel_size_y
prj = proj4_to_WKT(area_definition.proj_str) prj = proj4_to_WKT(area_definition.crs.srs) # .proj_str attribute raises a warning in pyresample 1.15.0
return gt, prj return gt, prj
......
...@@ -22,6 +22,6 @@ ...@@ -22,6 +22,6 @@
# You should have received a copy of the GNU Lesser General Public License along # You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>. # with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '0.3.0' __version__ = '0.3.1'
__versionalias__ = '20200508.01' __versionalias__ = '20200508.02'
__author__ = 'Daniel Scheffler' __author__ = 'Daniel Scheffler'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment