2015-12-03 12:00:15
1
I've already spent two days looking for the answer, but I keep having the same error and I can't understand why. Whatever I do, I keep getting the error "ValueError: Unknown interpolation method array for 1 dimensional data"
I'm trying to interpolate values to a finer meshgrid using griddata
Here's my code
import numpy as np
lon_ww3=array([[-10. , -10. , -10. , -10. , -10. , -10. , -10. , -10. , -10. ],
[ -9.5, -9.5, -9.5, -9.5, -9.5, -9.5, -9.5, -9.5, -9.5],
[ -9. , -9. , -9. , -9. , -9. , -9. , -9. , -9. , -9. ],
[ -8.5, -8.5, -8.5, -8.5, -8.5, -8.5, -8.5, -8.5, -8.5]])
lat_ww3=array([[ 38. , 38.5, 39. , 39.5, 40. , 40.5, 41. , 41.5, 42. ],
[ 38. , 38.5, 39. , 39.5, 40. , 40.5, 41. , 41.5, 42. ],
[ 38. , 38.5, 39. , 39.5, 40. , 40.5, 41. , 41.5, 42. ],
[ 38. , 38.5, 39. , 39.5, 40.