openradar / xradar

A tool to work in weather radar data in xarray
https://docs.openradarscience.org/projects/xradar
MIT License
91 stars 17 forks source link

Improve Documentation #17

Open kmuehlbauer opened 1 year ago

kmuehlbauer commented 1 year ago

We now have a minimal documentation, yikes https://docs.openradarscience.org/projects/xradar/ It already looks very nice, but can be improved.

What's missing list (please extend):

mgrover1 commented 1 year ago

Thanks for opening this - I agree here. We can definitely start with these points and continue to expand.

mgrover1 commented 1 year ago

@kmuehlbauer - here is the repo setup to host sample datasets https://github.com/openradar/open-radar-data . I think we can use this in our examples and such, across these different projects.

mgrover1 commented 1 year ago

@kmuehlbauer - when I was working on an RHI example, I noticed how helpful it would be if we had azimuth with range as the dimensions instead of time... so one could use the following

radar.sel(azimuth=270, method='nearest')

Is this something we can consider? Or does this violate the data model?

kmuehlbauer commented 1 year ago

@mgrover1

Yes, that's what we did in wradlib already. Internally we can do anything we want if only we write out in the correct manner.

Try to open with keyword argument first_dim="auto". This will get either "azimuth" or "elevation" as first dim.