-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
444 changed files
with
13,942 additions
and
9,600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Name,Purpose,Icon | ||
Index...,Open the user manual (if installed),|icon_manual| | ||
View Logs...,Open the directory containing the log files, | ||
About DTOcean...,Open the About dialogue, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# coding: utf-8 | ||
|
||
# Usage: | ||
# > activate _pytablewriter | ||
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data | ||
# > python about_menu_table.py > about_menu_table.rst | ||
|
||
import pytablewriter | ||
from pytablewriter import Align | ||
|
||
if __name__ == "__main__": | ||
writer = pytablewriter.RstGridTableWriter() | ||
writer.from_csv("about_menu_table.csv") | ||
writer.write_table() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Name,Sections,Branches,Purpose | ||
Inspect,"Configuration, Results",Modules,Update the output variable values to the state following execution of the selected module | ||
Reset,Configuration,Modules,"Reset modules and variables to the state prior to execution of the selected module. Note, this action is destructive and cannot be undone." | ||
Load test data...,Configuration,"Modules, Assessment",Load data from a specifically formatted python file into the variables of the selected branch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# coding: utf-8 | ||
|
||
# Usage: | ||
# > activate _pytablewriter | ||
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data | ||
# > python context_menu_table.py > context_menu_table.rst | ||
|
||
import pytablewriter | ||
from pytablewriter import Align | ||
|
||
if __name__ == "__main__": | ||
writer = pytablewriter.RstGridTableWriter() | ||
writer.from_csv("context_menu_table.csv") | ||
writer.write_table() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Name,Purpose,Icon | ||
Select Database...,Open the select database dialogue,|icon_select_db| | ||
Initiate Pipeline,Confirm chosen technology type and collect top level information from the database (if selected),|icon_pipeline| | ||
Initiate Bathymetry,Allow selection of bathymetry from a site chosen from the database (if selected),|icon_bathymetry| | ||
Initiate Dataflow,Calculate required variables for technology and module selection and collect available data from database (if selected),|icon_dataflow| | ||
Export...,Export satisfied data to a datastate file, | ||
Export (mask outputs)...,Export satisfied data (excluding output variables) to a datastate file, | ||
Import...,Import a datastate file, | ||
Import (skip satisfied)...,Import a datastate file but do not overwrite satisfied variables, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# coding: utf-8 | ||
|
||
# Usage: | ||
# > activate _pytablewriter | ||
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data | ||
# > python data_menu_table.py > data_menu_table.rst | ||
|
||
import pytablewriter | ||
from pytablewriter import Align | ||
|
||
if __name__ == "__main__": | ||
writer = pytablewriter.RstGridTableWriter() | ||
writer.from_csv("data_menu_table.csv") | ||
writer.write_table() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Icon,Purpose | ||
|icon_table_edit|,Toggle the editing mode of the table | ||
|icon_add_row|,Appends a new row to the bottom of the table | ||
|icon_remove_row|,Removes the row containing the selected cell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# coding: utf-8 | ||
|
||
# Usage: | ||
# > activate _pytablewriter | ||
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data | ||
# > python data_widget_table_table.py > data_widget_table_table.rst | ||
|
||
import pytablewriter | ||
from pytablewriter import Align | ||
|
||
if __name__ == "__main__": | ||
writer = pytablewriter.RstGridTableWriter() | ||
writer.from_csv("data_widget_table_table.csv") | ||
writer.write_table() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Name,Purpose | ||
Add,Add an empty credentials record to the list of credentials | ||
Delete,Delete the credentials record selected in the list of credentials | ||
Save,Save to file any modifications to the selected credentials made in the credentials table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# coding: utf-8 | ||
|
||
# Usage: | ||
# > activate _pytablewriter | ||
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data | ||
# > python database_credentials_table.py > database_credentials_table.rst | ||
|
||
import pytablewriter | ||
from pytablewriter import Align | ||
|
||
if __name__ == "__main__": | ||
writer = pytablewriter.RstGridTableWriter() | ||
writer.from_csv("database_credentials_table.csv") | ||
writer.write_table() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Section,Description | ||
All,Every table in the database | ||
Device,Only tables specific to devices | ||
Site,Only tables specific to sites | ||
Other,Only tables specific to reference data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# coding: utf-8 | ||
|
||
# Usage: | ||
# > activate _pytablewriter | ||
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data | ||
# > python database_sections_table.py > database_sections_table.rst | ||
|
||
import pytablewriter | ||
from pytablewriter import Align | ||
|
||
if __name__ == "__main__": | ||
writer = pytablewriter.RstGridTableWriter() | ||
writer.from_csv("database_sections_table.csv") | ||
writer.write_table() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Name,Purpose,Icon | ||
New,Create a new project from scratch,|icon_new| | ||
Open...,Open an existing project file,|icon_open| | ||
Save,Save the current project to file,|icon_save| | ||
Save As...,Save the current project using a different file name, | ||
Properties...,Open the project properties dialogue, | ||
Close,Close the current project,|icon_close| | ||
Exit,Leave DTOcean, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# coding: utf-8 | ||
|
||
# Usage: | ||
# > activate _pytablewriter | ||
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data | ||
# > python file_menu_table.py > file_menu_table.rst | ||
|
||
import pytablewriter | ||
from pytablewriter import Align | ||
|
||
if __name__ == "__main__": | ||
writer = pytablewriter.RstGridTableWriter() | ||
writer.from_csv("file_menu_table.csv") | ||
writer.write_table() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Icon,Status,Meaning | ||
|icon_green|,Satisfied,Data for the variable has been entered / outputted | ||
|icon_red|,Required,Data for the variable has not been entered and is required to execute the module or assessment | ||
|icon_blue|,Optional,Data for the variable has not been entered but is not required to execute the module or assessment | ||
|icon_grey|,Unavailable,The module has already been executed and data may not be entered for the variable (but can still be viewed) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# coding: utf-8 | ||
|
||
# Usage: | ||
# > activate _pytablewriter | ||
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data | ||
# > python input_indicator_table.py > input_indicator_table.rst | ||
|
||
import pytablewriter | ||
from pytablewriter import Align | ||
|
||
if __name__ == "__main__": | ||
writer = pytablewriter.RstGridTableWriter() | ||
writer.from_csv("input_indicator_table.csv") | ||
writer.align_list = [Align.CENTER, None, None] | ||
writer.write_table() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Name,Purpose | ||
DATETIME,The date and time of the message | ||
LEVEL,"The logging level of the message. Can be DEBUG, INFO, WARNING, ERROR, or CRITICAL" | ||
ADDRESS,The package and (python) module that generated the message | ||
MESSAGE,The contents of the message itself |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# coding: utf-8 | ||
|
||
# Usage: | ||
# > activate _pytablewriter | ||
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data | ||
# > python log_format_table.py > log_format_table.rst | ||
|
||
import pytablewriter | ||
from pytablewriter import Align | ||
|
||
if __name__ == "__main__": | ||
writer = pytablewriter.RstGridTableWriter() | ||
writer.from_csv("log_format_table.csv") | ||
writer.write_table() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Name,Purpose,Icon | ||
Add Modules...,Open the module selection shuttle,|icon_modules| | ||
Add Assessment...,Open the assessment selection shuttle,|icon_assessment| | ||
Select Strategy...,Open the strategy selection dialogue,|icon_strategy| | ||
Run Current Module,Execute the next module in the sequence,|icon_run_module| | ||
Run Assessments,Execute all assessments for the last executed module,|icon_run_assessments| | ||
Run Strategy,Execute the selected strategy,|icon_run_strategy| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# coding: utf-8 | ||
|
||
# Usage: | ||
# > activate _pytablewriter | ||
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data | ||
# > python simulation_menu_table.py > simulation_menu_table.rst | ||
|
||
import pytablewriter | ||
from pytablewriter import Align | ||
|
||
if __name__ == "__main__": | ||
writer = pytablewriter.RstGridTableWriter() | ||
writer.from_csv("simulation_menu_table.csv") | ||
writer.write_table() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Branch,Variable,Value | ||
Hydrodynamics,Array Rated Power,4.8 | ||
Hydrodynamics,Tidal Probability Bins,12 | ||
Hydrodynamics,Lease Area Boundary Padding,100 | ||
Hydrodynamics,Minimum Q-Factor,0.9 | ||
Hydrodynamics,Power Histogram Bin Width,0.04 | ||
Hydrodynamics,User Option for Array Layout,Staggered | ||
Electrical Sub-Systems,Network Configuration,Radial | ||
Electrical Sub-Systems,Maximum Seabed Gradient,14 | ||
Mooring and Foundations,Foundation Safety Factor,1 | ||
Mooring and Foundations,Grout Strength Safety Factor,1 | ||
Mooring and Foundations,Concrete Cost per kg,0.05 | ||
Mooring and Foundations,Grout Cost per kg,0.05 | ||
Mooring and Foundations,Steel Cost per kg,5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# coding: utf-8 | ||
|
||
# Usage: | ||
# > activate _pytablewriter | ||
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data | ||
# > python tidal_example_inputs_table.py > tidal_example_inputs_table.rst | ||
|
||
import pytablewriter | ||
from pytablewriter import Align | ||
|
||
if __name__ == "__main__": | ||
writer = pytablewriter.RstGridTableWriter() | ||
writer.from_csv("tidal_example_inputs_table.csv") | ||
writer.align_list = [None, None, Align.RIGHT] | ||
writer.write_table() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Name,Purpose,Icon | ||
WEC Simulator,Open the WEC hydrodynamics pre-processing tool,|icon_empty| | ||
Constraints Plot,Calculate and plot constraints to the electrical network layout, |
Oops, something went wrong.