CLASSES.
More...
|
def | __init__ (self, NcFname, LocKeyList, TestKeyList=None) |
|
def | __del__ (self) |
|
def | OvalName (self) |
|
def | ObiastermName (self) |
|
def | ObiaspredName (self) |
|
def | OerrName (self) |
|
def | OqcName (self) |
|
def | NumpyToNcDtype (self, NumpyDtype) |
|
def | NumpyToIodaDtype (self, NumpyDtype) |
|
def | ConvertToTimeOffset (self, datestr_vec) |
|
def | CreateNcVector (self, Nsize, Dtype) |
|
def | FillNcVector (self, Values, Dtype) |
|
def | WriteNcAttr (self, AttrData) |
|
def | WriteNcObsVars (self, ObsVars, VarMdata, VarUnits) |
|
def | WriteNcMetadata (self, MdataGroup, DimName, Mdata, VarUnits) |
|
def | ExtractObsData (self, ObsData) |
|
def | BuildNetcdf (self, ObsVars, LocMdata, VarMdata, AttrData, VarUnits={}, TestData=None) |
|
CLASSES.
Definition at line 49 of file ioda_conv_ncio.py.
◆ __init__()
def ioda_conv_ncio.NcWriter.__init__ |
( |
|
self, |
|
|
|
NcFname, |
|
|
|
LocKeyList, |
|
|
|
TestKeyList = None |
|
) |
| |
◆ __del__()
def ioda_conv_ncio.NcWriter.__del__ |
( |
|
self | ) |
|
◆ BuildNetcdf()
def ioda_conv_ncio.NcWriter.BuildNetcdf |
( |
|
self, |
|
|
|
ObsVars, |
|
|
|
LocMdata, |
|
|
|
VarMdata, |
|
|
|
AttrData, |
|
|
|
VarUnits = {} , |
|
|
|
TestData = None |
|
) |
| |
◆ ConvertToTimeOffset()
def ioda_conv_ncio.NcWriter.ConvertToTimeOffset |
( |
|
self, |
|
|
|
datestr_vec |
|
) |
| |
Convert from date strings in ioda reference format "YYYY-mm-ddTHH:MM:SSZ" to decimal hour offsets from reference datetime.
Input: datestr_vec is an array of numpy chararrays, representing the raw bytes of the date string
Output: numpy dtype:'f4' array of time offsets in decimal hours from the reference date.
Definition at line 179 of file ioda_conv_ncio.py.
◆ CreateNcVector()
def ioda_conv_ncio.NcWriter.CreateNcVector |
( |
|
self, |
|
|
|
Nsize, |
|
|
|
Dtype |
|
) |
| |
◆ ExtractObsData()
def ioda_conv_ncio.NcWriter.ExtractObsData |
( |
|
self, |
|
|
|
ObsData |
|
) |
| |
◆ FillNcVector()
def ioda_conv_ncio.NcWriter.FillNcVector |
( |
|
self, |
|
|
|
Values, |
|
|
|
Dtype |
|
) |
| |
◆ NumpyToIodaDtype()
def ioda_conv_ncio.NcWriter.NumpyToIodaDtype |
( |
|
self, |
|
|
|
NumpyDtype |
|
) |
| |
◆ NumpyToNcDtype()
def ioda_conv_ncio.NcWriter.NumpyToNcDtype |
( |
|
self, |
|
|
|
NumpyDtype |
|
) |
| |
◆ ObiaspredName()
def ioda_conv_ncio.NcWriter.ObiaspredName |
( |
|
self | ) |
|
◆ ObiastermName()
def ioda_conv_ncio.NcWriter.ObiastermName |
( |
|
self | ) |
|
◆ OerrName()
def ioda_conv_ncio.NcWriter.OerrName |
( |
|
self | ) |
|
◆ OqcName()
def ioda_conv_ncio.NcWriter.OqcName |
( |
|
self | ) |
|
◆ OvalName()
def ioda_conv_ncio.NcWriter.OvalName |
( |
|
self | ) |
|
◆ WriteNcAttr()
def ioda_conv_ncio.NcWriter.WriteNcAttr |
( |
|
self, |
|
|
|
AttrData |
|
) |
| |
◆ WriteNcMetadata()
def ioda_conv_ncio.NcWriter.WriteNcMetadata |
( |
|
self, |
|
|
|
MdataGroup, |
|
|
|
DimName, |
|
|
|
Mdata, |
|
|
|
VarUnits |
|
) |
| |
◆ WriteNcObsVars()
def ioda_conv_ncio.NcWriter.WriteNcObsVars |
( |
|
self, |
|
|
|
ObsVars, |
|
|
|
VarMdata, |
|
|
|
VarUnits |
|
) |
| |
◆ _defaultF4
ioda_conv_ncio.NcWriter._defaultF4 |
|
private |
◆ _defaultI4
ioda_conv_ncio.NcWriter._defaultI4 |
|
private |
◆ _fid
ioda_conv_ncio.NcWriter._fid |
|
private |
◆ _loc_key_list
ioda_conv_ncio.NcWriter._loc_key_list |
|
private |
◆ _loc_md_name
ioda_conv_ncio.NcWriter._loc_md_name |
|
private |
◆ _ndatetime
ioda_conv_ncio.NcWriter._ndatetime |
|
private |
◆ _ndatetime_dim_name
ioda_conv_ncio.NcWriter._ndatetime_dim_name |
|
private |
◆ _nlocs
ioda_conv_ncio.NcWriter._nlocs |
|
private |
◆ _nlocs_dim_name
ioda_conv_ncio.NcWriter._nlocs_dim_name |
|
private |
◆ _nstr_dim_name
ioda_conv_ncio.NcWriter._nstr_dim_name |
|
private |
◆ _nstring
ioda_conv_ncio.NcWriter._nstring |
|
private |
◆ _nvars
ioda_conv_ncio.NcWriter._nvars |
|
private |
This method will extract information from the ObsData dictionary and reformat it into a more amenable form for writing into the output file.
Definition at line 78 of file ioda_conv_ncio.py.
◆ _nvars_dim_name
ioda_conv_ncio.NcWriter._nvars_dim_name |
|
private |
◆ _obiaspred_name
ioda_conv_ncio.NcWriter._obiaspred_name |
|
private |
◆ _obiasterm_name
ioda_conv_ncio.NcWriter._obiasterm_name |
|
private |
◆ _oerr_name
ioda_conv_ncio.NcWriter._oerr_name |
|
private |
◆ _oqc_name
ioda_conv_ncio.NcWriter._oqc_name |
|
private |
◆ _oval_name
ioda_conv_ncio.NcWriter._oval_name |
|
private |
◆ _rec_num_name
ioda_conv_ncio.NcWriter._rec_num_name |
|
private |
◆ _ref_date_time
ioda_conv_ncio.NcWriter._ref_date_time |
|
private |
This method will dump out the netcdf global attribute data contained in the dictionary AttrData.
Definition at line 98 of file ioda_conv_ncio.py.
◆ _test_key_list
ioda_conv_ncio.NcWriter._test_key_list |
|
private |
◆ _test_md_name
ioda_conv_ncio.NcWriter._test_md_name |
|
private |
◆ _var_list_name
ioda_conv_ncio.NcWriter._var_list_name |
|
private |
◆ _var_md_name
ioda_conv_ncio.NcWriter._var_md_name |
|
private |
The documentation for this class was generated from the following file: