XArrayAndRasterio icon indicating copy to clipboard operation
XArrayAndRasterio copied to clipboard

I am not able to read the geotiff in Arcmap

Open gopikrishnangs44 opened this issue 3 years ago • 0 comments

This is the code used to convert xarray to tif.

merged = xr.open_dataarray('/home/MERGED_NO2(1996-2021).nc') a = merged[:,:,0] bb = a.rename({'lon':'x', 'lat':'y'}) bb = bb.rio.write_crs("epsg:4326", inplace=True) bb.rio.to_raster('/home/test.tif')

In arcmap, it is: no2 error (1)

Why this output opens as points?

gopikrishnangs44 avatar Feb 28 '22 17:02 gopikrishnangs44