USDA-ARS-NWRC / smrf

SMRF was designed to increase the flexibility of taking measured weather data, or atmospheric models, and distributing the data across a watershed.
Other
12 stars 4 forks source link

Slow gridded interpolation from WindNinja results #82

Closed micah-prime closed 6 years ago

micah-prime commented 6 years ago

The griddata function from scipy calculates the weights and vertices for interpolation every time it is called. This is very slow when going from the WindNinja outputs to the SMRF grid. This function could be broken apart so that the weights and vertices are only called at the beginning of the run.