Skip to main content

All Questions

2 votes
1 answer
6k views

Problem in setting dimension using rioxarray set_spatial_dims()

I am having trouble setting dimensions in a xarray object. I have created a xarray object (data, lats, and lons are 2D ndarray) and set a coordinate system as follows, and it is working. da0 = xr....
raraki's user avatar
  • 91
6 votes
1 answer
11k views

Using rioxarray to assign spatial reference (EPSG:4326) to NetCDF built from CSV with lat long columns

I am trying to create a NetCDF from a CSV file. The idea comes from the fact that the original CSV comes with many columns, three of these representing: a specific year ("time") the Y ...
umbe1987's user avatar
  • 3,785
1 vote
2 answers
2k views

Showing lat long instead of numbered index on spatial data map

I am trying to project meteorological data from a netcdf4 file with its latitude and longitude information and I am not getting how to show lat-long information on the x and y-axis, in the image ...
Abhishek Chhari's user avatar
3 votes
0 answers
408 views

How to slice a reduced gaussian gridded grib with xarray?

I want: to get list of coordinates of points within the specified area (ideal would be geopandas from shapefile or something like this) I don't want to interpolate the grib, just extract points by ...
Nikolay Yasinskiy's user avatar