IODA Bundle
run_satwnds Namespace Reference

Functions

def _make_file_from_template (template_path, replacements, output_path)
 
def _process_bufr_path (path)
 
def run (bufr_path, num_threads, output_dir)
 

Variables

string OLD_SUBSET_PATTERN = r'NC0050([1245678]\d|90)'
 
string NEW_SUBSET_PATTERN = r'NC0050(3\d|91)'
 
 EXE_DIR = pathlib.Path(__file__).parent.absolute()
 
 OLD_SUBSET_TEMPLATE_PATH
 
 NEW_SUBSET_TEMPLATE_PATH
 
string DESCRIPTION
 
 parser = argparse.ArgumentParser(description=DESCRIPTION)
 
 type
 
 help
 
 default
 
 args = parser.parse_args()
 
 start_time = datetime.now()
 

Function Documentation

◆ _make_file_from_template()

def run_satwnds._make_file_from_template (   template_path,
  replacements,
  output_path 
)
private

Definition at line 32 of file run_satwnds.py.

Here is the caller graph for this function:

◆ _process_bufr_path()

def run_satwnds._process_bufr_path (   path)
private

Definition at line 51 of file run_satwnds.py.

Here is the call graph for this function:

◆ run()

def run_satwnds.run (   bufr_path,
  num_threads,
  output_dir 
)
Splits a Sat Winds file into its subset components and runs bufr2ioda on
each one.
:param bufr_path: Path to the Sat winds Bufr file.
:param num_threads: Number of concurrent converters.
:param output_dir: Directory were to place the result files

Definition at line 75 of file run_satwnds.py.

Here is the caller graph for this function:

Variable Documentation

◆ args

run_satwnds.args = parser.parse_args()

Definition at line 139 of file run_satwnds.py.

◆ default

run_satwnds.default

Definition at line 129 of file run_satwnds.py.

◆ DESCRIPTION

string run_satwnds.DESCRIPTION
Initial value:
1 = 'Split a sat wind bufr file into its subsets, and runs \
2  bufr2ioda.x on each one with the proper configuration.'

Definition at line 119 of file run_satwnds.py.

◆ EXE_DIR

run_satwnds.EXE_DIR = pathlib.Path(__file__).parent.absolute()

Definition at line 25 of file run_satwnds.py.

◆ help

run_satwnds.help

Definition at line 125 of file run_satwnds.py.

◆ NEW_SUBSET_PATTERN

string run_satwnds.NEW_SUBSET_PATTERN = r'NC0050(3\d|91)'

Definition at line 22 of file run_satwnds.py.

◆ NEW_SUBSET_TEMPLATE_PATH

run_satwnds.NEW_SUBSET_TEMPLATE_PATH
Initial value:
1 = os.path.join(EXE_DIR,
2  'satwnds_new_subset_template.yaml')

Definition at line 28 of file run_satwnds.py.

◆ OLD_SUBSET_PATTERN

string run_satwnds.OLD_SUBSET_PATTERN = r'NC0050([1245678]\d|90)'

Definition at line 21 of file run_satwnds.py.

◆ OLD_SUBSET_TEMPLATE_PATH

run_satwnds.OLD_SUBSET_TEMPLATE_PATH
Initial value:
1 = os.path.join(EXE_DIR,
2  'satwnds_old_subset_template.yaml')

Definition at line 26 of file run_satwnds.py.

◆ parser

run_satwnds.parser = argparse.ArgumentParser(description=DESCRIPTION)

Definition at line 122 of file run_satwnds.py.

◆ start_time

run_satwnds.start_time = datetime.now()

Definition at line 141 of file run_satwnds.py.

◆ type

run_satwnds.type

Definition at line 124 of file run_satwnds.py.