pyiem.nws.gini module
Processing of GINI formatted data found on NOAAPORT
-
pyiem.nws.gini.uint24(data)[source]
convert three byte data that represents an unsigned int
-
pyiem.nws.gini.int24(data)[source]
Convert to int.
-
pyiem.nws.gini.get_ir_ramp()[source]
Return a np 256x3 array of colors to use for IR
-
class pyiem.nws.gini.GINIZFile(fobj)[source]
Bases: object
Deal with compressed GINI files, which are the standard on NOAAPORT
-
__str__()[source]
return a string representation
-
awips_grid()[source]
Return the awips grid number based on the WMO header
-
current_filename()[source]
Return a filename for this product, we’ll use the format
{SOURCE}_{SECTOR}_{CHANNEL}_{VALID}.png
-
get_bird()[source]
Return a string label for this satellite
-
get_sector()[source]
Return the sector.
-
get_channel()[source]
Return the channel.
-
archive_filename()[source]
Return a filename for this product, we’ll use the format
{SOURCE}_{SECTOR}_{CHANNEL}_{VALID}.png
-
init_llc()[source]
Initialize Lambert Conic Comformal
-
init_mercator()[source]
Compute mercator projection stuff
-
init_stereo()[source]
Compute Polar Stereographic
-
init_projection()[source]
Setup Grid and projection details
read the header!