-
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.
Update source code into 1.01 version
* Reflect changes in the schema such as change Datasets into ResourceTypes * fix bugs in data loading * fix bugs in the Installer (many windows didn't respond in the 1.0 version)
- Loading branch information
Adel M. Abdallah
committed
Apr 4, 2018
1 parent
336de15
commit 803951f
Showing
323 changed files
with
4,582 additions
and
1,065 deletions.
There are no files selected for viewing
Binary file modified
BIN
-10 Bytes
(100%)
WorkbookTemplates/Compare_scenarios_result/CompareScenario_empty.xlsx
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.48 MB
WorkbookTemplates/InputData_Template/WaMDaM_InputData_template_April2018.xlsm
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes
File renamed without changes.
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 |
---|---|---|
@@ -1,11 +1,20 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*-# | ||
|
||
# Wamdam.py | ||
# Wamdam_v1.01.py | ||
"""""" | ||
|
||
""" | ||
WaMDaM: The Water Management Data Model Version 1.01 | ||
See the schema at http://schema.wamdam.org/diagrams/01_WaMDaM.html | ||
Instructions at http://docs.wamdam.org/Getting_started/Steps | ||
Adel M. Abdallah | ||
email: [email protected] | ||
""" | ||
|
||
|
||
""" | ||
Wamdam.py is the key calling/initializing function for the Wizard. | ||
Wamdam.py is the calling/initializing function for the Wizard. | ||
Before you start, make sure to install all the required Python libraries listed in | ||
requirements.md text file/ | ||
|
@@ -27,20 +36,20 @@ | |
dlg_ImportSpreadsheetBasic.py which exist in the viewer Folder. Then when the user | ||
clicks at "load Data" in this dialog box, a function calls one or all the sub-data importers | ||
for the checked boxes from the controller folder: | ||
stp0_loadCVs.py, stp1_loadMetadata.py, | ||
stp2_loadDataStructure.py, | ||
stp3_loadNetworks.py, | ||
and stp4_loadDataValues.py | ||
stp0_loadCVs.py, stp1_loadMetadata.py, | ||
stp2_loadDataStructure.py, | ||
stp3_loadNetworks.py, | ||
and stp4_loadDataValues.py | ||
stp0_loadCVs.py, load_step_1.py, load_step_2.py, load_step_3.py, stp4_loadDataValues.py | ||
It's important to note that the controlled vocabulary (CV) data in the stp0_loadCVs.py | ||
are called from the online registry http://vocabulary.wamdam.org/ | ||
while the data for the rest of the steps are obtained form the provided spreadsheet template or other source of data. | ||
It's important to note that the controlled vocabulary (CV) data in the stp0_loadCVs.py | ||
are called from the online registry http://vocabulary.wamdam.org/ | ||
while the data for the rest of the steps are obtained form the provided spreadsheet template or other source of data. | ||
The Wizard implements dozens of validations and checks on the imported data | ||
The Wizard implements dozens of validations and checks on the imported data | ||
to make sure it complies with WaMDaM business rules | ||
The Wizard either loads all the dataset and it's metadata etc or nothing. | ||
The Wizard either loads all the dataset and it's metadata etc or nothing. | ||
See the software architecture in a flowchart @ https://github.com/WamdamProject/WaMDaM_Wizard | ||
""" | ||
|
@@ -70,4 +79,3 @@ def main(): | |
|
||
if __name__ == '__main__': | ||
main() | ||
|
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.