starepandas.STAREDataFrame.trixel_vertices#
- STAREDataFrame.trixel_vertices()#
Returns the vertices and centerpoints of the trixels. Requires stare column to be set. Vertices are a tuple of:
the latitudes of the corners
the longitudes of the corners
the latitudes of the centers
the longitudes of the centers
- Returns
- vertices
A vertices data structure
Examples
>>> sids = numpy.array([3458764513820540928]) >>> df = starepandas.STAREDataFrame(sids=sids) >>> df.trixel_vertices() (array([29.9999996 , 45.00000069, 29.9999996 ]), array([-170.26439001, -45. , 80.26439001]), array([80.264389]), array([135.]))