IODA Bundle
|
Functions | |
def | CheckVarValues (Var) |
SUBROUTINES. More... | |
def | GenNcFileList (ArgList) |
This routine will walk through the list of files from the command line arguments and create a list of netcdf files to check. More... | |
def | CheckNcFile (NcFileName, Verbose) |
This routine will check the contents of one file for compliance with the ioda netcdf conventions. More... | |
Variables | |
ScriptName = os.path.basename(sys.argv[0]) | |
MAIN. More... | |
ap = argparse.ArgumentParser() | |
action | |
help | |
nargs | |
MyArgs = ap.parse_args() | |
NetcdfList = MyArgs.nc_file_or_dir | |
Verbose = MyArgs.verbose | |
def | NcFileList = GenNcFileList(NetcdfList) |
int | TotalErrorCount = 0 |
TotalErrors | |
def check_ioda_nc.CheckNcFile | ( | NcFileName, | |
Verbose | |||
) |
This routine will check the contents of one file for compliance with the ioda netcdf conventions.
This routine will return an error count for each of the three categories outlined below.
Definition at line 92 of file build/bin/check_ioda_nc.py.
def check_ioda_nc.CheckVarValues | ( | Var | ) |
SUBROUTINES.
This routine checks the values associated with Var for: 1) proper usage of missing marks 2) existence of invalid numerical values
Definition at line 28 of file build/bin/check_ioda_nc.py.
def check_ioda_nc.GenNcFileList | ( | ArgList | ) |
This routine will walk through the list of files from the command line arguments and create a list of netcdf files to check.
The items can be either files or directories. If a directory, find all the netcdf files under that directory and add them to the list.
Definition at line 67 of file build/bin/check_ioda_nc.py.
check_ioda_nc.action |
Definition at line 189 of file build/bin/check_ioda_nc.py.
check_ioda_nc.ap = argparse.ArgumentParser() |
Definition at line 188 of file build/bin/check_ioda_nc.py.
check_ioda_nc.help |
Definition at line 190 of file build/bin/check_ioda_nc.py.
check_ioda_nc.MyArgs = ap.parse_args() |
Definition at line 194 of file build/bin/check_ioda_nc.py.
check_ioda_nc.nargs |
Definition at line 191 of file build/bin/check_ioda_nc.py.
def check_ioda_nc.NcFileList = GenNcFileList(NetcdfList) |
Definition at line 202 of file build/bin/check_ioda_nc.py.
check_ioda_nc.NetcdfList = MyArgs.nc_file_or_dir |
Definition at line 196 of file build/bin/check_ioda_nc.py.
check_ioda_nc.ScriptName = os.path.basename(sys.argv[0]) |
MAIN.
Definition at line 185 of file build/bin/check_ioda_nc.py.
int check_ioda_nc.TotalErrorCount = 0 |
Definition at line 205 of file build/bin/check_ioda_nc.py.
check_ioda_nc.TotalErrors |
Definition at line 207 of file build/bin/check_ioda_nc.py.
check_ioda_nc.Verbose = MyArgs.verbose |
Definition at line 197 of file build/bin/check_ioda_nc.py.