-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added num_threads keyword arg to interpolate functions.
Added logic to the top-level module interpolate and interpolate_to_stations functions to handble keyword argument num_threads (default value of 1). If grib2io_interp was built with OpenMP support, then num_threads will be used to set OpenMP number of threads. The interpolate functions will set the number of threads back to the original value prior to function call. Grib2Message interp methods and xarray backend accessor methods have be updated to use num_threads.
- Loading branch information
1 parent
0aa2fc4
commit b0d2245
Showing
3 changed files
with
91 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters