¡@

Home 

python Programming Glossary: lons

Python 4D linear interpolation on a rectangular grid

http://stackoverflow.com/questions/14119892/python-4d-linear-interpolation-on-a-rectangular-grid

import LinearNDInterpolator lats np.arange 90 90.5 0.5 lons np.arange 180 180 0.5 alts np.arange 1 1000 21.717 time np.arange.. 21.717 time np.arange 8 data np.random.rand len lats len lons len alts len time .reshape len lats len lons len alts len time.. len lats len lons len alts len time .reshape len lats len lons len alts len time coords np.zeros len lats len lons len alts..