more efficient SCRIP weights computation #1252
Replies: 8 comments 6 replies
-
Hi @jcwarner-usgs |
Beta Was this translation helpful? Give feedback.
-
Hi @jcwarner-usgs, |
Beta Was this translation helpful? Give feedback.
-
Glad this has a chance to help others. It will most likely need some 'beautification' to more smoothly align with the rest of the WW3 code. You can grab the file from here: I tried to make a switch, but dont think that .f is run through the cpp processor. But if you look for |
Beta Was this translation helpful? Give feedback.
-
So i apparently spoke too soon! sorry. |
Beta Was this translation helpful? Give feedback.
-
Ok. I have a version that seems to be working now. It is at the same location. |
Beta Was this translation helpful? Give feedback.
-
@jcwarner-usgs, with the shorter holiday week we need a little more time to discuss internally. We'll touch base on Friday. |
Beta Was this translation helpful? Give feedback.
-
yes absolutely. take your time. |
Beta Was this translation helpful? Give feedback.
-
@jcwarner-usgs Can you make a PR with your update? We're always excited to hear about speed improvements. |
Beta Was this translation helpful? Give feedback.
-
Dear WAVEWATCH III Group-
Recently we have been running WAVEWATCH with nesting (both structured and unstructured). During the init, there is a computation call for SCRIP interpolation weights, calling WW3/model/src/SCRIP/scrip_remap_conservative.f
This can be time consuming for multiple large grids, up to several hours.
In a similar manner, we have been using SCRIP in my COAWST world, and we already had modified that scrip code to run in MPI. I ported the changes to your scrip_remap_conservative.f and now instead of several hours, WAVEWATCH only takes a few minutes to compute the weights. If you are interested in this update i can send you the code. not sure how to work that pull request.
thanks
john warner
jcwarner@usgs.gov
Beta Was this translation helpful? Give feedback.
All reactions