Changeset 4130
- Timestamp:
- 2013-10-24T23:13:30+02:00 (11 years ago)
- Location:
- branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/TOOLS/OBSTOOLS/OOO/ooo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/TOOLS/OBSTOOLS/OOO/ooo/locator.py
r4122 r4130 94 94 95 95 # Initialise data 96 o ff_files = []97 nn_o ff_idx = []96 ooo_files = [] 97 nn_ooo_idx = [] 98 98 cl4_vars = [] 99 99 cl4_fcst_idx = [] … … 110 110 out_indices.append(ilt + 1) 111 111 # Expand return lists 112 o ff_files += files113 nn_o ff_idx += in_indices112 ooo_files += files 113 nn_ooo_idx += in_indices 114 114 cl4_fcst_idx += out_indices 115 115 cl4_vars += len(files) * [type] 116 116 117 117 # Namoff 118 namoff["o ff_files"] = off_files119 namoff["nn_o ff_idx"] = nn_off_idx118 namoff["ooo_files"] = ooo_files 119 namoff["nn_ooo_idx"] = nn_ooo_idx 120 120 121 121 # Namcl4 -
branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/TOOLS/OBSTOOLS/OOO/ooo/ooo.py
r4127 r4130 65 65 namcl4["cl4_match_len"] = len(namcl4["cl4_vars"]) 66 66 namcl4["cl4_fcst_len"] = len(namcl4["cl4_leadtime"]) 67 # Add naming convention 68 namcl4["cl4_sys"] = "FOAM" 69 namcl4["cl4_cfg"] = "orca025" 70 namcl4["cl4_vn"] = "1.0" 71 namcl4["cl4_prefix"] = "class4" 72 namcl4["cl4_contact"] = "example@example.com" 73 namcl4["cl4_inst"] = "institute" 67 74 text = nml.update("namcl4", text, data=namcl4) 68 75
Note: See TracChangeset
for help on using the changeset viewer.