HWRF  trunk@4391
Public Member Functions | Properties | List of all members
hwrf.regrib.FixedLocation Class Reference

Represents a specific location on the earth as a latitude, longitude pair. More...

Detailed Description

Represents a specific location on the earth as a latitude, longitude pair.

This is meant to be used with action_clatlon to generate fixed lat-lon grids.

Definition at line 1300 of file regrib.py.

Inheritance diagram for hwrf.regrib.FixedLocation:
hwrf.regrib.GRIBBase

Public Member Functions

def __init__ (self, lat, lon)
 FixedLocation constructor. More...
 
def getlat (self)
 Returns the point's latitude.
 
def getlon (self)
 Returns the point's longitude. More...
 
def setlat (self, val)
 Sets the point's latitude. More...
 
def setlon (self, val)
 Sets the point's longitude. More...
 
- Public Member Functions inherited from hwrf.regrib.GRIBBase
def is_ready (self, args, kwargs)
 Returns True if this object and its subobjects are all ready for a call to make, and False otherwise. More...
 
def input_valid (self, kwargs)
 Returns True if the specified kwargs are valid and False otherwise. More...
 
def make (self, regrib, kwargs)
 Runs the action this object should perform and returns another GRIBBase object. More...
 

Properties

 nscenter
 The latitude in degrees North. More...
 
 ewcenter
 The longitude in degrees East. More...
 

Constructor & Destructor Documentation

def hwrf.regrib.FixedLocation.__init__ (   self,
  lat,
  lon 
)

FixedLocation constructor.

Parameters
lat,lonThe fixed location in degrees North and East.

Definition at line 1304 of file regrib.py.

Member Function Documentation

def hwrf.regrib.FixedLocation.getlon (   self)

Returns the point's longitude.

Definition at line 1312 of file regrib.py.

def hwrf.regrib.FixedLocation.setlat (   self,
  val 
)

Sets the point's latitude.

Parameters
valThe new latitude in degrees North.

Definition at line 1315 of file regrib.py.

def hwrf.regrib.FixedLocation.setlon (   self,
  val 
)

Sets the point's longitude.

Parameters
valThe new longitude in degrees East

Definition at line 1319 of file regrib.py.

Property Documentation

hwrf.regrib.FixedLocation.ewcenter
static
Initial value:
1 = property(getlon,setlon,None,
2  )

The longitude in degrees East.

Definition at line 1331 of file regrib.py.

hwrf.regrib.FixedLocation.nscenter
static
Initial value:
1 = property(getlat,setlat,None,
2  )

The latitude in degrees North.

Definition at line 1326 of file regrib.py.


The documentation for this class was generated from the following file: