IRPIhydrology / SM2RAIN_ASCAT_reader

Simple MATLAB and Python SM2RAIN-ASCAT reader
https://zenodo.org/record/3405563
2 stars 3 forks source link

About spatial.KDTree #2

Closed RoxanaFonsecaRdz closed 4 years ago

RoxanaFonsecaRdz commented 5 years ago

On line 19 it marked an error, apparently because of the python version I have. tree=spatial.KDTree(zip(lons.ravel(),lats.ravel()))

I change for this tree=spatial.KDTree(list(zip(lon.ravel(),lat.ravel())))