There are three types of data provided by the poseidon viewer via the argument p. The three types are: Point, Polygon and LineString. Both Polygon and LineString have multiple entries while Point is a single (lon, lat) location. Oceanspy can extract the relevant coordinates of these three types via ospy.utils.viever_to_range(p) function.
We just realized that poseidon_viewer can select multiple points at a time. So for example
The set of data Points are selected via shit+select from the poseidon viewer (they look blue), and can be assigned on a notebook for example points below
There are three types of data provided by the poseidon viewer via the argument
p
. The three types are:Point
,Polygon
andLineString
. BothPolygon
andLineString
have multiple entries whilePoint
is a single (lon, lat) location. Oceanspy can extract the relevant coordinates of these three types viaospy.utils.viever_to_range(p)
function.We just realized that poseidon_viewer can select multiple points at a time. So for example
The set of data Points are selected via shit+select from the poseidon viewer (they look blue), and can be assigned on a notebook for example
points
belowWe would like to extract all points, but viewer_to_range(points) only returns the first one, as it was developed with the idea of an isolated Point.
work:
I am working on allowing viewer_to_range(points) like in the the example above to return all coordinates, and not just the first one.