This class represents a GRIB1 or GRIB2 grid specification.
More...
This class represents a GRIB1 or GRIB2 grid specification.
Definition at line 1151 of file regrib.py.
|
def | __init__ |
| Creates a GRIBGrid with a given name, a copygb -g style GRIB1 grid specification and a GRIB2 grid specification that is currently unused. More...
|
|
def | is_ready (self, args, kwargs) |
| Returns True. More...
|
|
def | input_valid (self, kwargs) |
| Returns True. More...
|
|
def | make (self, args, kwargs) |
| Returns self. More...
|
|
def | getgridname (self) |
| Returns the name of this grid, as provided to the constructor. More...
|
|
def | getgrib1grid (self) |
| Returns the GRIB1 (wgrib) style grid information, as sent to the constructor's grib1grid argument. More...
|
|
def | getgrib2grid (self) |
| This is a placeholder to return the GRIB2-style grid information. More...
|
|
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...
|
|
def hwrf.regrib.GRIBGrid.__init__ |
( |
|
self, |
|
|
|
gridname, |
|
|
|
grib1grid = None , |
|
|
|
grib2grid = None |
|
) |
| |
Creates a GRIBGrid with a given name, a copygb -g style GRIB1 grid specification and a GRIB2 grid specification that is currently unused.
- Parameters
-
gridname | The gridname is mandatory and will be used to generate temporary filenames. |
grib1grid | The GRIB1 grid information, a string |
grib2grid | The GRIB2 grid information (unsupported) |
Definition at line 1153 of file regrib.py.
def hwrf.regrib.GRIBGrid.getgrib1grid |
( |
|
self | ) |
|
Returns the GRIB1 (wgrib) style grid information, as sent to the constructor's grib1grid argument.
Definition at line 1182 of file regrib.py.
def hwrf.regrib.GRIBGrid.getgrib2grid |
( |
|
self | ) |
|
This is a placeholder to return the GRIB2-style grid information.
At present, it returns whatever was sent to the constructor's grib2grid argument
Definition at line 1186 of file regrib.py.
def hwrf.regrib.GRIBGrid.getgridname |
( |
|
self | ) |
|
Returns the name of this grid, as provided to the constructor.
Definition at line 1178 of file regrib.py.
def hwrf.regrib.GRIBGrid.input_valid |
( |
|
self, |
|
|
|
kwargs |
|
) |
| |
Returns True.
The grid information is always available, regardless of the kwargs.
- Parameters
-
kwargs | Ignored, but used by subclasses. |
Definition at line 1169 of file regrib.py.
def hwrf.regrib.GRIBGrid.is_ready |
( |
|
self, |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
Returns True.
The grid information is always ready.
- Parameters
-
args,kwargs | Ignored, but used by subclasses. |
Definition at line 1165 of file regrib.py.
def hwrf.regrib.GRIBGrid.make |
( |
|
self, |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
Returns self.
This grid is the output grid of this grid.
- Parameters
-
args,kwargs | Ignored, but used by subclasses. |
Definition at line 1174 of file regrib.py.
hwrf.regrib.GRIBGrid.grib1grid |
|
static |
hwrf.regrib.GRIBGrid.grib2grid |
|
static |
hwrf.regrib.GRIBGrid.gridname |
|
static |
Initial value: 1 = property(getgridname,
None,
None,
The name of this grid, a read-only property.
Definition at line 1194 of file regrib.py.
The documentation for this class was generated from the following file:
- /mnt/pan2/projects/hwrfv3/Samuel.Trahan/trunk/ush/hwrf/regrib.py