NASA Logo
Ocean Color Science Software

ocssw V2022
l1info_harp2 Namespace Reference

Classes

class  Coordinates
 
class  LonLatPoint
 

Functions

def IsGoodGring (lons, lats)
 
def IsGoodGeospatialBounds (lons, lats)
 
def CalculatePolygonArea (lons, lats)
 
def Has2GoodPixels (view, line)
 
def LineNotAllMaskValues (view, line)
 
def GetFirstAndLastGoodLinesForView (view)
 
def HasGoodFirstAndLastLineForView (view)
 
def CheckPixelForNoMask (view, line, pixel)
 
def GetWestEastPointsForView (view, isNorth)
 
def GetLonLatPointForViewsAsDict (viewsList, isNorth)
 
def ConstructGring (northCoordinates, southCoordinates)
 
def ConstructGeospatialBounds (northCoordinates, southCoordinates)
 
def PrintGring (lons, lats)
 
def PrintGeospatialBounds (lons, lats)
 
def Get2GoodViews (allViews)
 
def main ()
 

Function Documentation

◆ CalculatePolygonArea()

def l1info_harp2.CalculatePolygonArea (   lons,
  lats 
)

Definition at line 80 of file l1info_harp2.py.

◆ CheckPixelForNoMask()

def l1info_harp2.CheckPixelForNoMask (   view,
  line,
  pixel 
)

Definition at line 225 of file l1info_harp2.py.

◆ ConstructGeospatialBounds()

def l1info_harp2.ConstructGeospatialBounds (   northCoordinates,
  southCoordinates 
)

Definition at line 359 of file l1info_harp2.py.

◆ ConstructGring()

def l1info_harp2.ConstructGring (   northCoordinates,
  southCoordinates 
)

Definition at line 313 of file l1info_harp2.py.

◆ Get2GoodViews()

def l1info_harp2.Get2GoodViews (   allViews)

Definition at line 455 of file l1info_harp2.py.

◆ GetFirstAndLastGoodLinesForView()

def l1info_harp2.GetFirstAndLastGoodLinesForView (   view)

Definition at line 126 of file l1info_harp2.py.

◆ GetLonLatPointForViewsAsDict()

def l1info_harp2.GetLonLatPointForViewsAsDict (   viewsList,
  isNorth 
)

Definition at line 301 of file l1info_harp2.py.

◆ GetWestEastPointsForView()

def l1info_harp2.GetWestEastPointsForView (   view,
  isNorth 
)

Definition at line 232 of file l1info_harp2.py.

◆ Has2GoodPixels()

def l1info_harp2.Has2GoodPixels (   view,
  line 
)

Definition at line 98 of file l1info_harp2.py.

◆ HasGoodFirstAndLastLineForView()

def l1info_harp2.HasGoodFirstAndLastLineForView (   view)

Definition at line 174 of file l1info_harp2.py.

◆ IsGoodGeospatialBounds()

def l1info_harp2.IsGoodGeospatialBounds (   lons,
  lats 
)

Definition at line 58 of file l1info_harp2.py.

◆ IsGoodGring()

def l1info_harp2.IsGoodGring (   lons,
  lats 
)

Definition at line 43 of file l1info_harp2.py.

◆ LineNotAllMaskValues()

def l1info_harp2.LineNotAllMaskValues (   view,
  line 
)

Definition at line 117 of file l1info_harp2.py.

◆ main()

def l1info_harp2.main ( )

The view numbers are the best views that gets the corners of HARP2's lon and lat data.

They are listed in order from west to east and for each consecutive view, the lon-lat point for that view will be more east than the previous view.

 NorthWest                                     NorthEast
 (17)--(15)--(13)--(10)---------------(10)--(15)--(18)--(22)
 |                                                          |
 |                                                          |
 |                                                          |
 |                                                          |
 (62)--(63)--(66)--(68)---------------(79)--(63)--(58)--(56)    
 SouthWest                                     SouthEast

ie: ALL_NW_VIEWS[0] > ALL_NW_VIEWS[1] > ALL_NW_VIEWS[2] ... ALL_NW_VIEWS[n] where ALL_NW_VIEWS[0] is more west than ALL_NW_VIEWS[n]

Definition at line 489 of file l1info_harp2.py.

◆ PrintGeospatialBounds()

def l1info_harp2.PrintGeospatialBounds (   lons,
  lats 
)

Definition at line 439 of file l1info_harp2.py.

◆ PrintGring()

def l1info_harp2.PrintGring (   lons,
  lats 
)

Definition at line 402 of file l1info_harp2.py.