IODA Bundle
bufr2nc.py File Reference

Go to the source code of this file.

Namespaces

 bufr2nc
 

Functions

def bufr2nc.BfilePreprocess (BufrFname, Obs)
 SUBROUTINES. More...
 

Variables

string bufr2nc.IODA_CONV_PATH = Path(__file__).parent/"@SCRIPT_LIB_PATH@"
 
 bufr2nc.ScriptName = os.path.basename(sys.argv[0])
 MAIN. More...
 
 bufr2nc.ap = argparse.ArgumentParser()
 
 bufr2nc.help
 
 bufr2nc.type
 
 bufr2nc.int
 
 bufr2nc.default
 
 bufr2nc.metavar
 
 bufr2nc.action
 
 bufr2nc.MyArgs = ap.parse_args()
 
 bufr2nc.ObsType = MyArgs.obs_type
 
 bufr2nc.BufrFname = MyArgs.input_bufr
 
 bufr2nc.NetcdfFname = MyArgs.output_netcdf
 
 bufr2nc.MaxNumMsg = MyArgs.maxmsgs
 
 bufr2nc.ThinInterval = MyArgs.thin
 
 bufr2nc.ClobberOfile = MyArgs.clobber
 
 bufr2nc.BfileType = cm.BFILE_PREPBUFR
 
bool bufr2nc.BadArgs = False
 
 bufr2nc.Obs = ot.AircraftObsType(BfileType)
 
 bufr2nc.max_num_msg
 
 bufr2nc.thin_interval
 
 bufr2nc.nc = Dataset(NetcdfFname, 'w', format='NETCDF4')
 
 bufr2nc.bufr = ncepbufr.open(BufrFname)