NCAR / wrf-python

A collection of diagnostic and interpolation routines for use with output from the Weather Research and Forecasting (WRF-ARW) Model.
https://wrf-python.readthedocs.io
Apache License 2.0
402 stars 152 forks source link

getvar compatibility with xarray #202

Open nathane1 opened 1 year ago

nathane1 commented 1 year ago

Greetings,

I've been attempting to use WRF-Python recently to compute diagnostic variables from WRF output in netCDF4 format. However, as things currently stand, it is not clear how the getvar method can be used with large volumes of WRF output accessed through opening multiple files simultaneously. This results from a two-pronged problem:

As such, I wanted to know if there are any planned updates for integrating xarray with WRF-Python. Any insight would be greatly appreciated!

erogluorhan commented 1 year ago

Hi @nathane1 ,

Thanks very much for reaching out!

We believe Xarray compatibility for WRF efforts is vital, and we'd like to explore things like if we can make getvar() so, or if there is similar WRF capability of other packages/groups in the scientific Python ecosystem that is Xarray-compatible, etc. We are hoping to look into this in the near future and at least come up with some thoughts. Please let us know if you have any thoughts, ideas as well.