openradar / xradar

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

Roadmap for future xradar accessor methods #174

Open ghiggi opened 6 days ago

ghiggi commented 6 days ago

Hi @kmuehlbauer @aladinor @mgrover1 !

I start to dive across the xradar codebase and documentation to develop the ERAD short course tutorials. I thought to summarize here some thoughts / nice-to-have tools that pop-up in my mind while trying to streamline the tutorials. I am not sure about if some of these suggestions fall into the scope of xradar or rather should/will be delegated to pyart 2.0, wradlib accessors or some new package. Maybe we could define a roadmap to clarify the future tools provided by xradar

Nice to have accessors xr.DataArray

xr.Dataset

xr.DataTree

CRS and coordinates utilities

Related to the CRS, I noticed that the current default CRS is defined as 2D Cartesian with respect to the radar location (x,y). Why not define it as 3D Cartesian with respect to the radar location (x,y,z)?

Concatenation method

Access to radar data on cloud buckets Finally I also start to write some code to access radar data of FMI, NEXRAD and IDEAM on AWS S3 buckets. I thought would be nice to have a separate 'search' package or module enabling to list all the available radars on cloud buckets (i.e with relevant configurations on YAML files, specify radar, start_time, end_time of interest and being able to

This last idea could be a point of discussion at ERAD to maybe make a prototype or design some standards ...

End of my solo brainstorming :smile:

kmuehlbauer commented 4 days ago

@ghiggi Thanks for writing that down. Those are all valid points, which surely should be discussed here or also at ERAD.

Here are my 2c:

From my perspective xradar should have all the bits and pieces to access/read/combine radar data of any provenience. Writing only to standards. There is reasonable plotting capabilities included via xarray in combination with the built-in minimal georeferencing.

Any advanced stuff should be implemented in dedicated packages. This will keep maintenance burden low.

I'm open to move any advanced plotting code from wradlib (wrl.vis.plot) to a new dedicated radar plotting package.