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. |
|
I am a little confused by I get the error: Should I be using |
Uh oh!
There was an error while loading. Please reload this page.
Are there existing routines that exploit dask functionality to interpolate wrf fields using multiple cores in parallel? I am trying to use
interplevelto interpolate a 4d array with dims(t,z,y,x)onto a specific height. Following thewrf-pythondocs, the following syntax works just fine:interplevel(var, z, 500.)where
varandzare both 4d arrays with the dimensions indicated above. But the task executes serially with only one active core at a time.All reactions