Skip to content

Commit d40a03d

Browse files
authored
User Manual update (#70)
* Update cBLUE version number * Updated VDatum MCU values from NOAA https://vdatum.noaa.gov/docs/est_uncertainties.html * Removed turbidity label text * Move water height up next to enviromental params * Update cBLUE user manual
1 parent eb7d918 commit d40a03d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+211
-113
lines changed

CBlueAppGui.py

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def main():
136136
root = tk.Tk()
137137
root.wm_title("cBLUE")
138138
root.iconbitmap(root, "cBLUE_icon.ico")
139-
root.geometry("270x740")
139+
root.geometry("270x730")
140140
norm_font_bold = ("Verdanna", 10, "bold")
141141
padx = (30, 30)
142142
pady = (10, 0)
@@ -201,7 +201,6 @@ def main():
201201
dir_frame.pack(padx=padx, pady=pady, fill="x")
202202

203203
# Environmental parameters
204-
205204
def add_tab(options, tab_name, label_text=None):
206205
"""Add tab to Notebook and return Radiobutton variable"""
207206
tab = ttk.Frame(subaqueous_method_tabs)
@@ -219,10 +218,20 @@ def add_tab(options, tab_name, label_text=None):
219218
tk.Label(env_frame, text="Environmental Parameters", font=norm_font_bold).pack()
220219
subaqueous_method_tabs = ttk.Notebook(env_frame)
221220
wind_var = add_tab(WIND_OPTIONS, tab_name="Water Surface")
222-
turbidity_var = add_tab(TURBIDITY_OPTIONS, tab_name="Turbidity", label_text="Turbidity (kd_490)")
221+
turbidity_var = add_tab(TURBIDITY_OPTIONS, tab_name="Turbidity")
223222
subaqueous_method_tabs.pack(fill="x")
224223
env_frame.pack(padx=padx, pady=pady, fill="x")
225224

225+
# Water Height
226+
water_height_frame = tk.Frame(root)
227+
tk.Label(water_height_frame, text="Water Height", font=norm_font_bold).pack()
228+
water_height_var = tk.StringVar()
229+
water_height_var.set(f'{config_dict["water_surface_ellipsoid_height"]:.2f}')
230+
water_height_msg = "Nominal water surface ellipsoid height \n(in meters):"
231+
tk.Label(water_height_frame, text=water_height_msg).pack()
232+
tk.Entry(water_height_frame, textvariable=water_height_var, justify="center").pack()
233+
water_height_frame.pack(padx=padx, pady=pady, fill="x")
234+
226235
# VDatum Region
227236
vdatum_frame = tk.Frame(root)
228237
tk.Label(vdatum_frame, text="VDatum Region", font=norm_font_bold).pack()
@@ -256,16 +265,6 @@ def add_tab(options, tab_name, label_text=None):
256265
ttk.Radiobutton(csv_frame, text="ExtraBytes + CSV", value=True, variable=csv_var).pack(fill="x", padx=padx[-1])
257266
csv_frame.pack(padx=padx, pady=pady, fill="x")
258267

259-
# Water Height
260-
water_height_frame = tk.Frame(root)
261-
tk.Label(water_height_frame, text="Water Height", font=norm_font_bold).pack()
262-
water_height_var = tk.StringVar()
263-
water_height_var.set(f'{config_dict["water_surface_ellipsoid_height"]:.2f}')
264-
water_height_msg = "Nominal water-surface ellipsoid height \n(in meters):"
265-
tk.Label(water_height_frame, text=water_height_msg).pack()
266-
tk.Entry(water_height_frame, textvariable=water_height_var, justify="center").pack()
267-
water_height_frame.pack(padx=padx, pady=pady, fill="x")
268-
269268
def start_process(just_save_config=False):
270269
"""Generate command for CBlueApp.py command line interface. Run the command."""
271270
# Don't allow saving config if process button is disabled

Manual/src/figs/CREATE.png renamed to Manual/cBLUE User Manual - 10-31-23 Update/figs/CREATE.png

File renamed without changes.

Manual/src/figs/GitHubDesktop.png renamed to Manual/cBLUE User Manual - 10-31-23 Update/figs/GitHubDesktop.png

File renamed without changes.

Manual/src/figs/IMPORT.png renamed to Manual/cBLUE User Manual - 10-31-23 Update/figs/IMPORT.png

File renamed without changes.

Manual/src/figs/SBET_format.png renamed to Manual/cBLUE User Manual - 10-31-23 Update/figs/SBET_format.png

File renamed without changes.

Manual/src/figs/add.png renamed to Manual/cBLUE User Manual - 10-31-23 Update/figs/add.png

File renamed without changes.

Manual/src/figs/cBLUE_splash.png renamed to Manual/cBLUE User Manual - 10-31-23 Update/figs/cBLUE_splash.png

File renamed without changes.
20.3 KB

Manual/src/figs/cblue_download_zip.png renamed to Manual/cBLUE User Manual - 10-31-23 Update/figs/cblue_download_zip.png

File renamed without changes.
19.8 KB

0 commit comments

Comments
 (0)