|
int | prepbufr2ncSG.nobs_chunk = 200 |
|
float | prepbufr2ncSG.time_min = 3.0 |
|
| prepbufr2ncSG.prepbufr_filename = sys.argv[1] |
|
| prepbufr2ncSG.netcdf_filename = sys.argv[2] |
|
string | prepbufr2ncSG.hdstr = 'SID XOB YOB DHR TYP ELV SAID T29' |
|
string | prepbufr2ncSG.obstr = 'POB QOB TOB ZOB UOB VOB PWO CAT PRSS TDO PMO XDR YDR HRDR' |
|
string | prepbufr2ncSG.qcstr = 'PQM QQM TQM ZQM WQM PWQ PMQ' |
|
string | prepbufr2ncSG.oestr = 'POE QOE TOE ZOE WOE PWE' |
|
list | prepbufr2ncSG.skiptypes = ['SATWND'] |
|
| prepbufr2ncSG.bufr = ncepbufr.open(prepbufr_filename) |
|
int | prepbufr2ncSG.nmessages = 0 |
|
| prepbufr2ncSG.nc = Dataset(netcdf_filename,'w',format='NETCDF4') |
|
| prepbufr2ncSG.hd = nc.createDimension('hdrinfo',len(hdstr.split())) |
|
| prepbufr2ncSG.nhdd = len(hd) |
|
| prepbufr2ncSG.ob = nc.createDimension('obinfo',len(obstr.split())) |
|
| prepbufr2ncSG.nobd = len(ob) |
|
| prepbufr2ncSG.oe = nc.createDimension('oeinfo',len(oestr.split())) |
|
| prepbufr2ncSG.noed = len(oe) |
|
| prepbufr2ncSG.qc = nc.createDimension('qcinfo',len(qcstr.split())) |
|
| prepbufr2ncSG.nqcd = len(qc) |
|
| prepbufr2ncSG.nobsd = nc.createDimension('nobs',None) |
|
| prepbufr2ncSG.nmsgs = nc.createDimension('nmsgs',nmessages) |
|
| prepbufr2ncSG.hdrdata = \ |
|
| prepbufr2ncSG.fill_value |
|
| prepbufr2ncSG.missing_value |
|
| prepbufr2ncSG.zlib |
|
| prepbufr2ncSG.True |
|
| prepbufr2ncSG.chunksizes |
|
| prepbufr2ncSG.desc |
|
| prepbufr2ncSG.hdrinfo |
|
| prepbufr2ncSG.obid = nc.createVariable('obid',str,('nobs',),zlib=True) |
|
| prepbufr2ncSG.obdata = \ |
|
| prepbufr2ncSG.oedata = \ |
|
int | prepbufr2ncSG.qc_fillval = 255 |
|
| prepbufr2ncSG.qcdata = \ |
|
| prepbufr2ncSG.msgnum |
|
| prepbufr2ncSG.subsetnum |
|
| prepbufr2ncSG.msgtype = nc.createVariable('msgtype',str,('nmsgs'),zlib=True) |
|
| prepbufr2ncSG.msgdate = nc.createVariable('msgdate',np.uint32,('nmsgs'),zlib=True) |
|
| prepbufr2ncSG.obinfo |
|
| prepbufr2ncSG.oeinfo |
|
| prepbufr2ncSG.qcinfo |
|
int | prepbufr2ncSG.nob = 0 |
|
| prepbufr2ncSG.obid_set = set() |
|
int | prepbufr2ncSG.nmsg = 0 |
|
list | prepbufr2ncSG.hdrarr = [] |
|
list | prepbufr2ncSG.msgnumarr = [] |
|
int | prepbufr2ncSG.nobs_message = 0 |
|
int | prepbufr2ncSG.nsubset = 0 |
|
| prepbufr2ncSG.hdr = bufr.read_subset(hdstr).squeeze() |
|
| prepbufr2ncSG.obs = bufr.read_subset(obstr) |
|
| prepbufr2ncSG.err = bufr.read_subset(oestr) |
|
int | prepbufr2ncSG.nlevs_use = 0 |
|
| prepbufr2ncSG.lon = hdr[3] |
|
| prepbufr2ncSG.press = hdr[5] |
|
| prepbufr2ncSG.time = obs[13,nlev] |
|
| prepbufr2ncSG.z = obs[3,nlev] |
|
string | prepbufr2ncSG.obidstr = "%s %3i %6.2f %6.2f %9.5f %5i %6.1f" % \ |
|
| prepbufr2ncSG.errarr = np.array(qcarr) |
|
list | prepbufr2ncSG.obidarr = np.array(msgnumarr) |
|
| prepbufr2ncSG.subsetnumarr = np.array(subsetnumarr) |
|
| prepbufr2ncSG.qcarr = np.where(qcarr == bufr.missing_value,qc_fillval,qcarr).astype(np.uint8) |
|
int | prepbufr2ncSG.nob1 = nob-nobs_message |
|