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:

  1. the latitudes of the corners

  2. the longitudes of the corners

  3. the latitudes of the centers

  4. 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.]))