Fix some bugs in the findNearestPoint function (related to the verbose output). Also change the way the minimum and maximum values are calculated (to use the methods associated with the objects rather than calling them from numpy). Finally, add a function which aims to sample an unstructured grid along a specified line to find the nodes which fall along it. At the moment it seems to work OK for shortish lines (or ones which run through fairly consistent element sizes), but it seems to have trouble with long lines or lines with varying element sizes
Fix some bugs in the findNearestPoint function (related to the verbose output). Also change the way the minimum and maximum values are calculated (to use the methods associated with the objects rather than calling them from numpy). Finally, add a function which aims to sample an unstructured grid along a specified line to find the nodes which fall along it. At the moment it seems to work OK for shortish lines (or ones which run through fairly consistent element sizes), but it seems to have trouble with long lines or lines with varying element sizes

pwcazenave/PyFVCOM