issues: 991857313
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
991857313 | MDU6SXNzdWU5OTE4NTczMTM= | 5782 | rio.crs seems to misbehave with geopandas.to_crs | 16776790 | closed | 0 | 7 | 2021-09-09T06:35:26Z | 2022-04-19T02:58:16Z | 2022-04-19T02:58:16Z | NONE | What happened: Using rio.crs to reproject a GeoDataFrame throws an Exception, namely 'Warning 1: +init=epsg:XXXX syntax is deprecated. It might return a CRS with a non-EPSG compliant axis order.'. What you expected to happen: Exception should not be thrown. This might be a underlying Proj issue. Minimal Complete Verifiable Example: ```python Open filesdata = xr.open_dataset(path/to/file.nc) gdf = geopandas.read_feather(path/to/feather) Reprojectgdf.to_crs(crs=data.rio.crs, inplace=True) ``` Anything else we need to know?: This might be a geopandas issue. Not exactly sure. Environment: Output of <tt>xr.show_versions()</tt><INSTALLED VERSIONS ------------------ commit: None python: 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0] python-bits: 64 OS: Linux OS-release: 5.8.0-7642-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: ('en_US', 'UTF-8') libhdf5: 1.12.0 libnetcdf: 4.7.4 xarray: 0.19.0 pandas: 1.3.0 numpy: 1.21.0 scipy: 1.6.1 netCDF4: 1.5.7 pydap: None h5netcdf: 0.7.1 h5py: 3.1.0 Nio: None zarr: 2.4.0+ds cftime: 1.4.1 nc_time_axis: None PseudoNetCDF: None rasterio: 1.2.7 cfgrib: None iris: None bottleneck: 1.2.1 dask: 2021.03.0 distributed: 2021.03.0 matplotlib: 3.3.4 cartopy: None seaborn: 0.11.1 numbagg: None pint: 0.16.1 setuptools: 45.2.0 pip: 21.2.4 conda: None pytest: 4.6.9 IPython: 7.21.0 sphinx: None </details> |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/5782/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |