ocssw
V2022
|
Functions | |
bool | float_or_double (str prod_type) |
def | set_integer_bounds (str integer_type) |
Function Documentation
◆ float_or_double()
Definition at line 6 of file check_products.py.
◆ set_integer_bounds()
def check_products.set_integer_bounds | ( | str | integer_type | ) |
Definition at line 9 of file check_products.py.
Variable Documentation
◆ action
action |
Definition at line 21 of file check_products.py.
◆ addOffset_string
string addOffset_string = '{http://oceancolor.gsfc.nasa.gov}addOffset' |
Definition at line 31 of file check_products.py.
◆ algo_addOffset
algo_addOffset = product_addOffset |
Definition at line 209 of file check_products.py.
◆ algo_error_string
string algo_error_string = '' |
Definition at line 211 of file check_products.py.
◆ algo_has_error
Definition at line 212 of file check_products.py.
◆ algo_invalid_validMax
bool algo_invalid_validMax = (float(algo_validMax) > max_possible) |
Definition at line 254 of file check_products.py.
◆ algo_invalid_validMin
bool algo_invalid_validMin = (min_possible > float(algo_validMin)) |
Definition at line 243 of file check_products.py.
◆ algo_max_possible
tuple algo_max_possible = (int_max * product_scaleFactor) + product_addOffset |
Definition at line 241 of file check_products.py.
◆ algo_min_possible
tuple algo_min_possible = (int_min * product_scaleFactor) + product_addOffset |
Algo validity checking ###.
Definition at line 240 of file check_products.py.
◆ algo_name
algo_name = product_name |
Definition at line 210 of file check_products.py.
◆ algo_scaleFactor
algo_scaleFactor = product_scaleFactor |
Definition at line 208 of file check_products.py.
◆ algo_validMax
algo_validMax = product_validMax |
Definition at line 207 of file check_products.py.
◆ algo_validMin
algo_validMin = product_validMin |
Algo checking ###.
Definition at line 206 of file check_products.py.
◆ algorithm_string
Definition at line 33 of file check_products.py.
◆ args
args = parser.parse_args() |
Definition at line 22 of file check_products.py.
◆ default_range
default_range = None |
Definition at line 39 of file check_products.py.
◆ displayMax_string
string displayMax_string = '{http://oceancolor.gsfc.nasa.gov}displayMax' |
Definition at line 30 of file check_products.py.
◆ displayMin_string
string displayMin_string = '{http://oceancolor.gsfc.nasa.gov}displayMin' |
Definition at line 29 of file check_products.py.
◆ end
end |
Definition at line 189 of file check_products.py.
◆ int_max
int_max |
Definition at line 149 of file check_products.py.
◆ int_min
int_min |
validMin/validMax checking ######
Definition at line 149 of file check_products.py.
◆ max_is_valid
bool max_is_valid = max_possible |
Definition at line 162 of file check_products.py.
◆ max_possible
tuple max_possible = (int_max * product_scaleFactor) + product_addOffset |
Definition at line 151 of file check_products.py.
◆ min_is_valid
bool min_is_valid = min_possible |
Definition at line 154 of file check_products.py.
◆ min_possible
tuple min_possible = (int_min * product_scaleFactor) + product_addOffset |
Definition at line 150 of file check_products.py.
◆ parser
parser = argparse.ArgumentParser() |
Definition at line 19 of file check_products.py.
◆ product_addOffset
int product_addOffset = float(default_range.find(addOffset_string).text) |
Definition at line 47 of file check_products.py.
◆ product_has_error
Definition at line 40 of file check_products.py.
◆ product_invalid_validMax
Definition at line 42 of file check_products.py.
◆ product_invalid_validMin
Definition at line 41 of file check_products.py.
◆ product_missing_default_range
Definition at line 45 of file check_products.py.
◆ product_missing_type
Definition at line 43 of file check_products.py.
◆ product_missing_validMax_or_validMin
Definition at line 44 of file check_products.py.
◆ product_name
product_name = product.attrib['name'] |
Definition at line 38 of file check_products.py.
◆ product_scaleFactor
int product_scaleFactor = float(default_range.find(scaleFactor_string).text) |
Definition at line 47 of file check_products.py.
◆ product_string
Definition at line 24 of file check_products.py.
◆ product_type
string product_type = product.find(type_string).text |
Definition at line 55 of file check_products.py.
◆ product_validMax
product_validMax = default_range.find(validMax_string).text |
Definition at line 46 of file check_products.py.
◆ product_validMin
product_validMin = default_range.find(validMin_string).text |
Definition at line 46 of file check_products.py.
◆ range_string
string range_string = '{http://oceancolor.gsfc.nasa.gov}range' |
Definition at line 26 of file check_products.py.
◆ scaleFactor_string
string scaleFactor_string = '{http://oceancolor.gsfc.nasa.gov}scaleFactor' |
Definition at line 32 of file check_products.py.
◆ type_string
string type_string = '{http://oceancolor.gsfc.nasa.gov}type' |
Definition at line 25 of file check_products.py.
◆ validMax_string
string validMax_string = '{http://oceancolor.gsfc.nasa.gov}validMax' |
Definition at line 27 of file check_products.py.
◆ validMin_string
string validMin_string = '{http://oceancolor.gsfc.nasa.gov}validMin' |
Definition at line 28 of file check_products.py.
◆ xml_tree
xml_tree = et.parse(args.filename) |
Definition at line 35 of file check_products.py.
◆ xml_tree_root
xml_tree_root = xml_tree.getroot() |
Definition at line 36 of file check_products.py.