IODA Bundle
giirs_ssec2ioda.Giirs2Ioda Class Reference
Collaboration diagram for giirs_ssec2ioda.Giirs2Ioda:
[legend]

Public Member Functions

def __init__ (self, center_datetime, out_file)
 
def readInFiles (self, filenames)
 
def writeIODA (self)
 

Public Attributes

 center_datetime
 
 outfile
 
 writer
 
 data
 
 units_values
 
 LocMdata
 
 VarMdata
 
 AttrData
 
 nlocs_max
 

Static Public Attributes

string VAR_NAME = "brightness_temperature"
 
list LOCATION_KEYS
 
dictionary LOC_MDATA_MAP
 
int SAT_ZEN_MAX = 74
 

Private Member Functions

def _rad2bt (cls, wavnum, radiance)
 
def _initialize_metadata_key (self, new_key, old_key, ncd)
 

Static Private Attributes

float _H_PLANCK = 6.62606957 * 1e-34
 
float _K_BOLTZMANN = 1.3806488 * 1e-23
 
float _C_SPEED = 2.99792458 * 1e8
 
float _K1 = _H_PLANCK * _C_SPEED / _K_BOLTZMANN
 
int _K2 = 2 * _H_PLANCK * _C_SPEED**2
 

Detailed Description

Definition at line 30 of file giirs_ssec2ioda.py.

Constructor & Destructor Documentation

◆ __init__()

def giirs_ssec2ioda.Giirs2Ioda.__init__ (   self,
  center_datetime,
  out_file 
)
Arguments:
 center_datetime: Window center (type: datetime or string representation)
 out_file: Name of IODA file to write (type: str or Path)

Definition at line 52 of file giirs_ssec2ioda.py.

Member Function Documentation

◆ _initialize_metadata_key()

def giirs_ssec2ioda.Giirs2Ioda._initialize_metadata_key (   self,
  new_key,
  old_key,
  ncd 
)
private
Common initialization for LocMdata metadata for new variable names
new_key - IODA variable name
old_key - GIIRS SSEC NetCDF variable name
ncd - GIIRS NetCDF scan file

Definition at line 244 of file giirs_ssec2ioda.py.

◆ _rad2bt()

def giirs_ssec2ioda.Giirs2Ioda._rad2bt (   cls,
  wavnum,
  radiance 
)
private

Definition at line 238 of file giirs_ssec2ioda.py.

◆ readInFiles()

def giirs_ssec2ioda.Giirs2Ioda.readInFiles (   self,
  filenames 
)

Definition at line 71 of file giirs_ssec2ioda.py.

Here is the call graph for this function:

◆ writeIODA()

def giirs_ssec2ioda.Giirs2Ioda.writeIODA (   self)

Definition at line 225 of file giirs_ssec2ioda.py.

Here is the call graph for this function:

Member Data Documentation

◆ _C_SPEED

float giirs_ssec2ioda.Giirs2Ioda._C_SPEED = 2.99792458 * 1e8
staticprivate

Definition at line 233 of file giirs_ssec2ioda.py.

◆ _H_PLANCK

float giirs_ssec2ioda.Giirs2Ioda._H_PLANCK = 6.62606957 * 1e-34
staticprivate

Definition at line 231 of file giirs_ssec2ioda.py.

◆ _K1

float giirs_ssec2ioda.Giirs2Ioda._K1 = _H_PLANCK * _C_SPEED / _K_BOLTZMANN
staticprivate

Definition at line 234 of file giirs_ssec2ioda.py.

◆ _K2

int giirs_ssec2ioda.Giirs2Ioda._K2 = 2 * _H_PLANCK * _C_SPEED**2
staticprivate

Definition at line 235 of file giirs_ssec2ioda.py.

◆ _K_BOLTZMANN

float giirs_ssec2ioda.Giirs2Ioda._K_BOLTZMANN = 1.3806488 * 1e-23
staticprivate

Definition at line 232 of file giirs_ssec2ioda.py.

◆ AttrData

giirs_ssec2ioda.Giirs2Ioda.AttrData

Definition at line 68 of file giirs_ssec2ioda.py.

◆ center_datetime

giirs_ssec2ioda.Giirs2Ioda.center_datetime

Definition at line 60 of file giirs_ssec2ioda.py.

◆ data

giirs_ssec2ioda.Giirs2Ioda.data

Definition at line 64 of file giirs_ssec2ioda.py.

◆ LOC_MDATA_MAP

dictionary giirs_ssec2ioda.Giirs2Ioda.LOC_MDATA_MAP
static
Initial value:
= {'latitude': 'IRLW_Latitude',
'longitude': 'IRLW_Longitude',
'solar_zenith_angle': 'IRLW_SolarZenith',
'solar_azimuth_angle': 'IRLW_SolarAzimuth',
'sensor_zenith_angle': 'IRLW_SatelliteZenith',
'sensor_view_angle': 'IRLW_SatelliteZenith',
'sensor_azimuth_angle': 'IRLW_SatelliteAzimuth',
'cloud_fraction': 'Cloud_Fraction'}

Definition at line 40 of file giirs_ssec2ioda.py.

◆ LOCATION_KEYS

list giirs_ssec2ioda.Giirs2Ioda.LOCATION_KEYS
static
Initial value:
= [
("latitude", "float"),
("longitude", "float"),
("datetime", "string")
]

Definition at line 33 of file giirs_ssec2ioda.py.

◆ LocMdata

giirs_ssec2ioda.Giirs2Ioda.LocMdata

Definition at line 66 of file giirs_ssec2ioda.py.

◆ nlocs_max

giirs_ssec2ioda.Giirs2Ioda.nlocs_max

Definition at line 152 of file giirs_ssec2ioda.py.

◆ outfile

giirs_ssec2ioda.Giirs2Ioda.outfile

Definition at line 61 of file giirs_ssec2ioda.py.

◆ SAT_ZEN_MAX

int giirs_ssec2ioda.Giirs2Ioda.SAT_ZEN_MAX = 74
static

Definition at line 50 of file giirs_ssec2ioda.py.

◆ units_values

giirs_ssec2ioda.Giirs2Ioda.units_values

Definition at line 65 of file giirs_ssec2ioda.py.

◆ VAR_NAME

string giirs_ssec2ioda.Giirs2Ioda.VAR_NAME = "brightness_temperature"
static

Definition at line 31 of file giirs_ssec2ioda.py.

◆ VarMdata

giirs_ssec2ioda.Giirs2Ioda.VarMdata

Definition at line 67 of file giirs_ssec2ioda.py.

◆ writer

giirs_ssec2ioda.Giirs2Ioda.writer

Definition at line 62 of file giirs_ssec2ioda.py.


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