Replies: 2 comments
-
This behavior is the precise reason we wrote xWRF. WRF-python only wraps fortran-routines, which make an easy parallelization impossible. As far as I know, the PR xgcm#483 should implement the required functionality in xgcm. For now, it should be possible to use something like the following (untested):
Maybe you need some additional destaggering using xgcm. For that you can consult our docs. |
Beta Was this translation helpful? Give feedback.
-
I am a little confused by
I get the error:
Should I be using |
Beta Was this translation helpful? Give feedback.
-
Are there existing routines that exploit dask functionality to interpolate wrf fields using multiple cores in parallel? I am trying to use
interplevel
to interpolate a 4d array with dims(t,z,y,x)
onto a specific height. Following thewrf-python
docs, the following syntax works just fine:interplevel(var, z, 500.)
where
var
andz
are both 4d arrays with the dimensions indicated above. But the task executes serially with only one active core at a time.Beta Was this translation helpful? Give feedback.
All reactions