I am working with the file at:
when I read it in using xarray,
ds = xr.open_dataset('poes_m01_20130525_proc.nc')
all of the variables are read in as coordinates, with at least some of them as indexing coordinates. I only know the last bit, because when I try to convert them to variables using,
ds.reset_coords()
I get the error,
ValueError: cannot remove index coordinates with reset_coords. The error appears to include all of the variables (there is a very long list).
I can convert all of the coordinate variables into a numpy array and rebuild a new Dataset manually. However, I am very new to xarray. Is there a more elegant way to do this? For instance, can I convert the indexing coordinates to non-indexing coordinates and then use reset_coords? Also, how do I tell which coordinates are indexing coordinates and which are not?
Or, better, is there some option that I should be using when reading the file that I don't know to use. I don't recognize anything in the documentation that would suggest this, but there is a lot in the documentation that I don't understand.
Thanks for any help!