homemade version for interpolation of WRF outputs