GiniFile¶
-
class
metpy.io.
GiniFile
(filename)[source]¶ A class that handles reading the GINI format satellite images from the NWS.
This class attempts to decode every byte that is in a given GINI file.
Notes
The internal data structures that things are decoded into are subject to change. For a more stable interface, use the
to_dataset()
method.See also
Create an instance of
GiniFile
.Parameters: filename (str or file-like object) – If str, the name of the file to be opened. Gzip-ed files are recognized with the extension '.gz'
, as are bzip2-ed files with the extension'.bz2'
If filename is a file-like object, this will be read from directly.Methods Summary
__init__
(filename)Create an instance of GiniFile
.to_dataset
()Convert to a CDM dataset. Methods Documentation
-
__init__
(filename)[source]¶ Create an instance of
GiniFile
.Parameters: filename (str or file-like object) – If str, the name of the file to be opened. Gzip-ed files are recognized with the extension '.gz'
, as are bzip2-ed files with the extension'.bz2'
If filename is a file-like object, this will be read from directly.
-