|
ocssw
V2022
|
Classes | |
| class | Tree |
Functions | |
| def | build_my_tree (Tree input_tree) |
| def | count_order (str line, pattern="| ") |
| def | traverse_list (List[str] lines, int i, Tree tree) |
| def | trim_word (str inp_str) |
| def | create_dict_from_tree (Tree tree, json) |
| def | get_the_tree (path_inp_file, out_path) |
Variables | |
| ocdata = os.environ.get('OCDATAROOT') | |
| path_no_glint = os.path.join(ocdata, "viirs", "j1", "cal", "NOAA_20_ADtree_no_glint_R2022.0_results.txt") | |
| path_glint = os.path.join(ocdata, "viirs", "j1", "cal", "NOAA_20_ADtree_mod_glint_R2022.0_results.txt") | |
| path_night = os.path.join(ocdata, "viirs", "j1", "cal", "NOAA_20_ADtree_night_R2022.0_results.txt") | |
| def | tree_no_glint = get_the_tree(path_no_glint, "no_glint_day.json") |
| def | tree_glint = get_the_tree(path_glint, "glint_day.json") |
| dictionary | adt_night = {"version": "v6.R2022"} |
| def | tree_night = get_the_tree(path_night, "night.json") |
| dictionary | adt_full |
| outfile | |
| indent | |
Function Documentation
◆ build_my_tree()
| def build_ADT_json.build_my_tree | ( | Tree | input_tree | ) |
Definition at line 53 of file build_ADT_json.py.
◆ count_order()
| def build_ADT_json.count_order | ( | str | line, |
pattern = "| " |
|||
| ) |
Definition at line 77 of file build_ADT_json.py.
◆ create_dict_from_tree()
| def build_ADT_json.create_dict_from_tree | ( | Tree | tree, |
| json | |||
| ) |
Definition at line 124 of file build_ADT_json.py.
◆ get_the_tree()
| def build_ADT_json.get_the_tree | ( | path_inp_file, | |
| out_path | |||
| ) |
Definition at line 153 of file build_ADT_json.py.
◆ traverse_list()
Definition at line 88 of file build_ADT_json.py.
◆ trim_word()
| def build_ADT_json.trim_word | ( | str | inp_str | ) |
Definition at line 119 of file build_ADT_json.py.
Variable Documentation
◆ adt_full
| adt_full |
Definition at line 191 of file build_ADT_json.py.
◆ adt_night
| adt_night = {"version": "v6.R2022"} |
Definition at line 188 of file build_ADT_json.py.
◆ indent
| indent |
Definition at line 199 of file build_ADT_json.py.
◆ ocdata
| ocdata = os.environ.get('OCDATAROOT') |
Definition at line 180 of file build_ADT_json.py.
◆ outfile
| outfile |
Definition at line 199 of file build_ADT_json.py.
◆ path_glint
| path_glint = os.path.join(ocdata, "viirs", "j1", "cal", "NOAA_20_ADtree_mod_glint_R2022.0_results.txt") |
Definition at line 184 of file build_ADT_json.py.
◆ path_night
| path_night = os.path.join(ocdata, "viirs", "j1", "cal", "NOAA_20_ADtree_night_R2022.0_results.txt") |
Definition at line 185 of file build_ADT_json.py.
◆ path_no_glint
| path_no_glint = os.path.join(ocdata, "viirs", "j1", "cal", "NOAA_20_ADtree_no_glint_R2022.0_results.txt") |
Definition at line 183 of file build_ADT_json.py.
◆ tree_glint
| def tree_glint = get_the_tree(path_glint, "glint_day.json") |
Definition at line 187 of file build_ADT_json.py.
◆ tree_night
| def tree_night = get_the_tree(path_night, "night.json") |
Definition at line 189 of file build_ADT_json.py.
◆ tree_no_glint
| def tree_no_glint = get_the_tree(path_no_glint, "no_glint_day.json") |
Definition at line 186 of file build_ADT_json.py.


