Comments (9)
from wrf-python.
It would be nice to have this as an extension to xarray. That way you could call something like
with xr.open_dataset('/path/to/file.nc') as xd:
t = xd.wrf.getvar('temp')
proj4 = xd.wrf.proj4
cart_proj = xd.wrf.cartopy
See: http://xarray.pydata.org/en/stable/internals.html#extending-xarray
I have used it here:
https://github.com/snowman2/pangaea/blob/master/pangaea/xlsm.py
from wrf-python.
Looks like it would not be bad to try to merge with salem. See: fmaussion/salem#82
from wrf-python.
Any news about an improved xarray support ?
It would be nice at first to be able to get data from xarray datasets, like
with xr.open_dataset('/path/to/file.nc') as ds:
t = wrf.getvar(ds, 'temp')
from wrf-python.
I'm also wondering about this one. It's not straightforward to use getvar on a large number of WRF output files (see issue 94); seems xarray could help with this.
from wrf-python.
@Timothy-W-Hilton Thanks for bumping this!
I'd be interested in hearing about the wrf-python
maintainers' perspective on this as well. I've been working a fair bit with WRF output in xarray (especially in the context of MetPy and CF conventions, see this abstract), and would be glad to collaborate on these efforts going forward if it seems to be a good fit.
from wrf-python.
We, the GeoCAT team at NCAR, do have plans to refactor wrf-python to be compatible with Xarray. However, the team's priority at the moment is rolling out model-agnostic computational routines (called GeoCAT.comp). These new functions operate directly on Xarray data arrays. The repo for these new functions is here: https://github.com/NCAR/geocat-comp
We don't yet have a timeframe for turning our focus back to wrf-python. However, if this is something that someone in the community wanted to bite off we'd be happy to provide guidance.
from wrf-python.
@clyne Thank you for the update! After the hecticness of the AMS Meeting and a few pending projects settle down, I'll see if (and in what ways) I could be of any help with this.
from wrf-python.
Thanks, @clyne, for the update! It's nice to know that the slowdown in wrf-python development these past six months doesn't indicate it's being phased out. I'm also open to helping out, though 2020 doesn't really have a lot of space for a large new project for me.
from wrf-python.
Related Issues (20)
- WRF data geotransform and extporting data to geoTiff HOT 1
- Variables mcape and mcin doesn´t work HOT 1
- Basically questions for wrf-python HOT 1
- wrf.interplevel returns NaN when interpolating at a level where the sample points are HOT 1
- WRF Python compatibility on MAC IOS with M1 HOT 3
- How to determine the suitable number of threads for omp_set_num_threads
- how to speed up the process of `getvar` HOT 1
- getvar compatibility with xarray HOT 1
- .
- aarch64 support HOT 6
- Google Group not managed anymore? HOT 1
- From source code building, an error occurred while executing the "f2py".
- wrf-python producing spurious results HOT 8
- _wrffortran cannot be found after installing from source HOT 2
- Limit to older versions of Python until testing catches up and we can address known issues
- WRF-Python: Plotting variables with different pressure levels and Time
- Add Python 3.11 tests
- naturalearth download
- save slp to netcdf HOT 3
- Error using "pip install wrf-python" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wrf-python.