Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am not able to read the geotiff in Arcmap #3

Open
gopikrishnangs44 opened this issue Feb 28, 2022 · 0 comments
Open

I am not able to read the geotiff in Arcmap #3

gopikrishnangs44 opened this issue Feb 28, 2022 · 0 comments

Comments

@gopikrishnangs44
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant