IODA
|
Variables | |
g | |
int | numLocs = 40 |
int | numChans = 30 |
list | newDims |
og = ioda.ObsGroup.generate(g, newDims) | |
nlocsVar = og.vars.open('nlocs') | |
nchansVar = og.vars.open('nchans') | |
p1 = ioda.VariableCreationParameters() | |
string | tbName = "ObsValue/brightness_temperature" |
string | latName = "MetaData/latitude" |
string | lonName = "MetaData/longitude" |
tbVar = g.vars.create(tbName, ioda.Types.float, scales=[nlocsVar, nchansVar], params=p1) | |
latVar = g.vars.create(latName, ioda.Types.float, scales=[nlocsVar], params=p1) | |
lonVar = g.vars.create(lonName, ioda.Types.float, scales=[nlocsVar], params=p1) | |
int | midLoc = numLocs / 2 |
int | midChan = numChans / 2 |
lonData = np.fromfunction(lambda i: 3 * (i % 8), (numLocs,), dtype=float) | |
latData = np.fromfunction(lambda i: 3 * (i // 8), (numLocs,), dtype=float) | |
tbData = np.fromfunction(lambda iloc, ich: 250 + (((iloc - midLoc)**2 + (ich-midChan)**2))**0.5, (numLocs, numChans), dtype=float) | |
05-ObsGroup.g |
Definition at line 64 of file 05-ObsGroup.py.
05-ObsGroup.latData = np.fromfunction(lambda i: 3 * (i // 8), (numLocs,), dtype=float) |
Definition at line 153 of file 05-ObsGroup.py.
string 05-ObsGroup.latName = "MetaData/latitude" |
Definition at line 118 of file 05-ObsGroup.py.
Definition at line 124 of file 05-ObsGroup.py.
05-ObsGroup.lonData = np.fromfunction(lambda i: 3 * (i % 8), (numLocs,), dtype=float) |
Definition at line 152 of file 05-ObsGroup.py.
string 05-ObsGroup.lonName = "MetaData/longitude" |
Definition at line 119 of file 05-ObsGroup.py.
Definition at line 125 of file 05-ObsGroup.py.
int 05-ObsGroup.midChan = numChans / 2 |
Definition at line 147 of file 05-ObsGroup.py.
int 05-ObsGroup.midLoc = numLocs / 2 |
Definition at line 146 of file 05-ObsGroup.py.
05-ObsGroup.nchansVar = og.vars.open('nchans') |
Definition at line 106 of file 05-ObsGroup.py.
list 05-ObsGroup.newDims |
Definition at line 95 of file 05-ObsGroup.py.
05-ObsGroup.nlocsVar = og.vars.open('nlocs') |
Definition at line 105 of file 05-ObsGroup.py.
int 05-ObsGroup.numChans = 30 |
Definition at line 74 of file 05-ObsGroup.py.
int 05-ObsGroup.numLocs = 40 |
Definition at line 73 of file 05-ObsGroup.py.
05-ObsGroup.og = ioda.ObsGroup.generate(g, newDims) |
Definition at line 101 of file 05-ObsGroup.py.
05-ObsGroup.p1 = ioda.VariableCreationParameters() |
Definition at line 110 of file 05-ObsGroup.py.
05-ObsGroup.tbData = np.fromfunction(lambda iloc, ich: 250 + (((iloc - midLoc)**2 + (ich-midChan)**2))**0.5, (numLocs, numChans), dtype=float) |
Definition at line 156 of file 05-ObsGroup.py.
string 05-ObsGroup.tbName = "ObsValue/brightness_temperature" |
Definition at line 117 of file 05-ObsGroup.py.