Closed han348661657 closed 5 years ago
I believe it should be pyroms.tools.transect() function. As far as I can remember, I modified it to be transect() function and it works without problem.
Thinks, I changed pyroms.tools.section to pyroms.tools.transect in tools.py, and
modified near = np.zeros(((j1-j0+1),4))
to near = np.zeros(((j1-j0+1),4), dtype=int)
.
Now, it works!
In the pyroms/tools.py, the latslice() function used pyroms.tools.section() to get the latslice, but there is no section() in the tools.py. How did to rebuild pyroms.tools.section() ?