html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/3185#issuecomment-570993776,https://api.github.com/repos/pydata/xarray/issues/3185,570993776,MDEyOklzc3VlQ29tbWVudDU3MDk5Mzc3Ng==,167164,2020-01-06T03:54:03Z,2020-01-06T03:54:03Z,NONE,"I'm seeing a problem with geotiffs that I think might be related:
```sh
$ gdalinfo /home/nedcr/cr/software/ana/lib/geo/tests/data/Urandangi_MGA55.tif
Driver: GTiff/GeoTIFF
Files: /home/nedcr/cr/software/ana/lib/geo/tests/data/Urandangi_MGA55.tif
/home/nedcr/cr/software/ana/lib/geo/tests/data/Urandangi_MGA55.tif.aux.xml
Size is 10, 10
Coordinate System is:
PROJCS[""GDA94 / MGA zone 55"",
GEOGCS[""GDA94"",
DATUM[""Geocentric_Datum_of_Australia_1994"",
SPHEROID[""GRS 1980"",6378137,298.257222101,
AUTHORITY[""EPSG"",""7019""]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY[""EPSG"",""6283""]],
PRIMEM[""Greenwich"",0,
AUTHORITY[""EPSG"",""8901""]],
UNIT[""degree"",0.0174532925199433,
AUTHORITY[""EPSG"",""9122""]],
AUTHORITY[""EPSG"",""4283""]],
PROJECTION[""Transverse_Mercator""],
PARAMETER[""latitude_of_origin"",0],
PARAMETER[""central_meridian"",147],
PARAMETER[""scale_factor"",0.9996],
PARAMETER[""false_easting"",500000],
PARAMETER[""false_northing"",10000000],
UNIT[""metre"",1,
AUTHORITY[""EPSG"",""9001""]],
AXIS[""Easting"",EAST],
AXIS[""Northing"",NORTH],
AUTHORITY[""EPSG"",""28355""]]
Origin = (-406507.954209543997422,7588834.152862589806318)
Pixel Size = (263.500000000000000,-265.500000000000000)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -406507.954, 7588834.153) (138d16' 6.99""E, 21d34'24.95""S)
Lower Left ( -406507.954, 7586179.153) (138d16' 1.84""E, 21d35'50.30""S)
Upper Right ( -403872.954, 7588834.153) (138d17'37.56""E, 21d34'29.73""S)
Lower Right ( -403872.954, 7586179.153) (138d17'32.42""E, 21d35'55.09""S)
Center ( -405190.454, 7587506.653) (138d16'49.70""E, 21d35'10.02""S)
Band 1 Block=10x10 Type=Float32, ColorInterp=Gray
Min=0.069 Max=8.066
Minimum=0.069, Maximum=8.066, Mean=2.556, StdDev=1.749
NoData Value=-3.40282306073709653e+38
Metadata:
STATISTICS_MAXIMUM=8.06591796875
STATISTICS_MEAN=2.5563781395387
STATISTICS_MINIMUM=0.068740844726562
STATISTICS_STDDEV=1.7493082797107
STATISTICS_VALID_PERCENT=89
```
```python
import xarray as xr
from osgeo.gdal import Open
ras = Open('/home/nedcr/cr/software/ana/lib/geo/tests/data/Urandangi_MGA55.tif')
ras.GetGeoTransform()
# (-406507.954209544, 263.5, 0.0, 7588834.15286259, 0.0, -265.5)
ds = xr.open_rasterio('/home/nedcr/cr/software/ana/lib/geo/tests/data/Urandangi_MGA55.tif')
ds.transform
# (263.5, 0.0, -406507.954209544, 0.0, -265.5, 7588834.15286259)
```
The transform in the xarray dataset is transposed, and not really useful anymore.
#### Output of ``xr.show_versions()``
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0]
python-bits: 64
OS: Linux
OS-release: 5.0.0-37-lowlatency
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_AU.UTF-8
LOCALE: en_AU.UTF-8
libhdf5: 1.10.4
libnetcdf: 4.6.2
xarray: 0.14.1
pandas: 0.25.1
numpy: 1.16.4
scipy: 1.3.0
netCDF4: 1.5.1.2
pydap: None
h5netcdf: None
h5py: None
Nio: None
zarr: None
cftime: 1.0.3.4
nc_time_axis: None
PseudoNetCDF: None
rasterio: 1.0.22
cfgrib: None
iris: None
bottleneck: None
dask: 1.2.0
distributed: 1.27.1
matplotlib: 3.0.3
cartopy: 0.17.0
seaborn: None
numbagg: None
setuptools: 40.8.0
pip: 19.0.3
conda: None
pytest: 4.3.1
IPython: 7.3.0
sphinx: 2.1.2
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,477081946