NCAR / wrf-python

A collection of diagnostic and interpolation routines for use with output from the Weather Research and Forecasting (WRF-ARW) Model.
https://wrf-python.readthedocs.io
Apache License 2.0
410 stars 155 forks source link

Add support for a 2D grid as the desired location for interplevel #65

Closed bladwig1 closed 6 years ago

bladwig1 commented 6 years ago

Some users like to supply a 2D grid as the desired level to interpolate to. This is in cases where they want to interpolate to some offset from a particular variable (e.g. PBLH or surface pressure minus 100 mb). Currently the only workaround is to iterate over each horizontal grid point and call interp1d, which is going to be slow.