Skip to content

Newest 2.4.0 build causes pyproj RuntimeError projection not named #262

@djhoese

Description

@djhoese

Tests for my package are suddenly failing with new gdal (possibly rasterio), but the error is showing up with a pyproj error. You can see it in one of our travis jobs:

https://travis-ci.org/pytroll/satpy/jobs/484681655#L6502-L6521

The tests that are failing are not part of the things that were changed in the commit being tested. From what I can tell (as someone familiar with the code) is that we are loading a geotiff from disk using xarray.open_rasterio, accessing the data_arr.attrs['crs'], and parsing that PROJ.4 string later on and passing it to pyproj.Proj. I'm wondering if xarray/rasterio/gdal is returning an empty CRS string.

Something that is curious is that it doesn't seem to fail on OSX Python 3.6, but does fail on Linux py36 and OSX/Linux py27.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions