IODA
06-ReadIodaOutputFile Namespace Reference

Variables

 InFile = sys.argv[1]
 
 g
 
 og = ioda.ObsGroup(g)
 
string locsDimName = "nlocs"
 
string chansDimName = "nchans"
 
 locsDimVar = og.vars.open(locsDimName)
 
 chansDimVar = og.vars.open(chansDimName)
 
 locsCoords = locsDimVar.readVector.int()
 
 chansCoords = chansDimVar.readVector.int()
 
 numLocs = len(locsCoords)
 
 numChans = len(chansCoords)
 
string tbName = "ObsValue/brightness_temperature"
 
string hofxName = "hofx/brightness_temperature"
 
string latName = "MetaData/latitude"
 
string lonName = "MetaData/longitude"
 
 tbVar = og.vars.open(tbName)
 
 hofxVar = og.vars.open(hofxName)
 
 latVar = og.vars.open(latName)
 
 lonVar = og.vars.open(lonName)
 
 tbData = tbVar.readNPArray.float()
 
 hofxData = hofxVar.readNPArray.float()
 
 latData = latVar.readVector.float()
 
 lonData = lonVar.readVector.float()
 
 chanIndex = chansCoords.index(7)
 
 tbDataCh7 = tbData[:, chanIndex]
 
 hofxDataCh7 = hofxData[:, chanIndex]
 

Variable Documentation

◆ chanIndex

06-ReadIodaOutputFile.chanIndex = chansCoords.index(7)

Definition at line 86 of file 06-ReadIodaOutputFile.py.

◆ chansCoords

06-ReadIodaOutputFile.chansCoords = chansDimVar.readVector.int()

Definition at line 41 of file 06-ReadIodaOutputFile.py.

◆ chansDimName

string 06-ReadIodaOutputFile.chansDimName = "nchans"

Definition at line 35 of file 06-ReadIodaOutputFile.py.

◆ chansDimVar

06-ReadIodaOutputFile.chansDimVar = og.vars.open(chansDimName)

Definition at line 38 of file 06-ReadIodaOutputFile.py.

◆ g

06-ReadIodaOutputFile.g
Initial value:
2  name = InFile,
3  mode = ioda.Engines.BackendOpenModes.Read_Only)
IODA_DL Group openFile(const std::string &filename, BackendOpenModes mode, HDF5_Version_Range compat=defaultVersionRange())
Open a ioda::Group backed by an HDF5 file.
Definition: HH.cpp:147

Definition at line 25 of file 06-ReadIodaOutputFile.py.

◆ hofxData

06-ReadIodaOutputFile.hofxData = hofxVar.readNPArray.float()

Definition at line 75 of file 06-ReadIodaOutputFile.py.

◆ hofxDataCh7

06-ReadIodaOutputFile.hofxDataCh7 = hofxData[:, chanIndex]

Definition at line 89 of file 06-ReadIodaOutputFile.py.

◆ hofxName

string 06-ReadIodaOutputFile.hofxName = "hofx/brightness_temperature"

Definition at line 65 of file 06-ReadIodaOutputFile.py.

◆ hofxVar

06-ReadIodaOutputFile.hofxVar = og.vars.open(hofxName)

Definition at line 70 of file 06-ReadIodaOutputFile.py.

◆ InFile

06-ReadIodaOutputFile.InFile = sys.argv[1]

Definition at line 18 of file 06-ReadIodaOutputFile.py.

◆ latData

06-ReadIodaOutputFile.latData = latVar.readVector.float()

Definition at line 76 of file 06-ReadIodaOutputFile.py.

◆ latName

string 06-ReadIodaOutputFile.latName = "MetaData/latitude"

Definition at line 66 of file 06-ReadIodaOutputFile.py.

◆ latVar

06-ReadIodaOutputFile.latVar = og.vars.open(latName)

Definition at line 71 of file 06-ReadIodaOutputFile.py.

◆ locsCoords

06-ReadIodaOutputFile.locsCoords = locsDimVar.readVector.int()

Definition at line 40 of file 06-ReadIodaOutputFile.py.

◆ locsDimName

string 06-ReadIodaOutputFile.locsDimName = "nlocs"

Definition at line 34 of file 06-ReadIodaOutputFile.py.

◆ locsDimVar

06-ReadIodaOutputFile.locsDimVar = og.vars.open(locsDimName)

Definition at line 37 of file 06-ReadIodaOutputFile.py.

◆ lonData

06-ReadIodaOutputFile.lonData = lonVar.readVector.float()

Definition at line 77 of file 06-ReadIodaOutputFile.py.

◆ lonName

string 06-ReadIodaOutputFile.lonName = "MetaData/longitude"

Definition at line 67 of file 06-ReadIodaOutputFile.py.

◆ lonVar

06-ReadIodaOutputFile.lonVar = og.vars.open(lonName)

Definition at line 72 of file 06-ReadIodaOutputFile.py.

◆ numChans

06-ReadIodaOutputFile.numChans = len(chansCoords)

Definition at line 44 of file 06-ReadIodaOutputFile.py.

◆ numLocs

06-ReadIodaOutputFile.numLocs = len(locsCoords)

Definition at line 43 of file 06-ReadIodaOutputFile.py.

◆ og

06-ReadIodaOutputFile.og = ioda.ObsGroup(g)

Definition at line 28 of file 06-ReadIodaOutputFile.py.

◆ tbData

06-ReadIodaOutputFile.tbData = tbVar.readNPArray.float()

Definition at line 74 of file 06-ReadIodaOutputFile.py.

◆ tbDataCh7

06-ReadIodaOutputFile.tbDataCh7 = tbData[:, chanIndex]

Definition at line 88 of file 06-ReadIodaOutputFile.py.

◆ tbName

string 06-ReadIodaOutputFile.tbName = "ObsValue/brightness_temperature"

Definition at line 64 of file 06-ReadIodaOutputFile.py.

◆ tbVar

06-ReadIodaOutputFile.tbVar = og.vars.open(tbName)

Definition at line 69 of file 06-ReadIodaOutputFile.py.