-
Notifications
You must be signed in to change notification settings - Fork 1
/
PCSB_rasConfig.py
22 lines (18 loc) · 946 Bytes
/
PCSB_rasConfig.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Simple python class for a constant configuration
# that is used through all HEC Python/Jython scripts
class HecConfig:
"""Simple class maintaining configuration for HEC applications"""
def __init__(self):
import parent_hecConfig_Poplar
# Sets initial batch of config options from parent_hecConfig_USC.py
self = parent_hecConfig_Poplar.setme1(self)
# Sets second batch of config options from parent_hecConfig_USC.py
print("+++++++++++++++++++++++++++++++ rasProjectName ++++++++++++++++++++++++++++++")
self.rasProjectName = "PCSB"
self.rasProjectPath = self.modelVersion + "RAS/PCSB"
self.parent_hecConfig = "parent_hecConfig_Poplar"
self = parent_hecConfig_Poplar.setme2ras(self)
def getDataTransferFilePath(self):
return self.scriptPath + "/jythonDtf.txt"
def getRasProjectPath(self):
return self.rasProjectPath