Exemple #1
0
from ship.utils import utilfunctions as uf

"""Enum for all row data keys used in Isis units.

The 'QMARK' relates to the '?' in the initial conditions part of the .dat file.
"""
ROW_DATA_TYPES = uf.enum('CHAINAGE', 'ELEVATION', 'ROUGHNESS', 'PANEL_MARKER',
                         'RPL', 'BANKMARKER', 'EASTING', 'NORTHING',
                         'DEACTIVATION', 'SPECIAL', 'EMBANKMENT', 'OPEN_START',
                         'OPEN_END', 'SPRINGING_LEVEL', 'SOFFIT_LEVEL',
                         'INVERT', 'SOFFIT', 'AREA', 'CD_PART', 'CD_FULL',
                         'DROWNING', 'TIME', 'LABEL', 'FLOW', 'STAGE',
                         'FROUDE_NO', 'VELOCITY', 'UMODE', 'USTATE', 'QMARK',
                         'RAIN',)
Exemple #2
0
from ship.utils import utilfunctions as uf

"""Enum for all row data keys used in Isis units.

The 'QMARK' relates to the '?' in the initial conditions part of the .dat file.
"""
ROW_DATA_TYPES = uf.enum('CHAINAGE', 'ELEVATION', 'ROUGHNESS', 'PANEL_MARKER',
                         'RPL', 'BANKMARKER', 'EASTING', 'NORTHING', 
                         'DEACTIVATION', 'SPECIAL', 'EMBANKMENT', 'OPEN_START',
                         'OPEN_END', 'SPRINGING_LEVEL', 'SOFFIT_LEVEL', 
                         'INVERT', 'SOFFIT', 'AREA', 'CD_PART', 'CD_FULL', 
                         'DROWNING', 'TIME', 'LABEL', 'FLOW', 'STAGE',
                         'FROUDE_NO', 'VELOCITY', 'UMODE', 'USTATE', 'QMARK',
                         'RAIN',) 
Exemple #3
0
from ship.utils import utilfunctions as uf
"""Enum for all row data keys used in Isis units"""
DATA_TYPES = uf.enum('STRING', 'INT', 'FLOAT', 'CONSTANT', 'SYMBOL')
Exemple #4
0
from ship.utils import utilfunctions as uf

"""Enum for accessing categories of TuflowFilePart types."""
FILEPART_TYPES = uf.enum('MODEL', 'RESULT', 'GIS', 'DATA', 'VARIABLE', 
                         'UNKNOWN_FILE', 'UNKNOWN', 'COMMENT')


"""Enum for all row data keys used in Isis units"""
# ROW_DATA_TYPES = uf.enum('CHAINAGE', 'ELEVATION', 'ROUGHNESS', 'PANEL_MARKER',
#                          'RPL', 'BANKMARKER', 'EASTING', 'NORTHING', 
#                          'DEACTIVATION', 'SPECIAL', 'EMBANKMENT', 'OPEN_START',
#                          'OPEN_END', 'SPRINGING_LEVEL', 'SOFFIT_LEVEL', 
#                          'CULVERT_INVERT', 'CULVERT_SOFFIT', 'CULVERT_AREA',
#                          'CULVERT_CD_PART', 'CULVERT_CD_FULL', 
#                          'CULVERT_DROWNING') 
Exemple #5
0
from ship.utils import utilfunctions as uf
"""Enum for all row data keys used in Isis units"""
ROW_DATA_TYPES = uf.enum('CHAINAGE', 'ELEVATION', 'ROUGHNESS', 'PANEL_MARKER',
                         'RPL', 'BANKMARKER', 'EASTING', 'NORTHING',
                         'DEACTIVATION', 'SPECIAL', 'EMBANKMENT', 'OPEN_START',
                         'OPEN_END', 'SPRINGING_LEVEL', 'SOFFIT_LEVEL',
                         'CULVERT_INVERT', 'CULVERT_SOFFIT', 'CULVERT_AREA',
                         'CULVERT_CD_PART', 'CULVERT_CD_FULL',
                         'CULVERT_DROWNING')
Exemple #6
0
from __future__ import unicode_literals

from ship.utils import utilfunctions as uf
"""Enum for accessing categories of TuflowFilePart types."""
FILEPART_TYPES = uf.enum('MODEL', 'RESULT', 'GIS', 'DATA', 'VARIABLE',
                         'UNKNOWN_FILE', 'UNKNOWN', 'IF_LOGIC', 'EVENT_LOGIC',
                         'USER_VARIABLE', 'EVENT_VARIABLE', 'MODEL_VARIABLE',
                         'SECTION_LOGIC')
Exemple #7
0
from __future__ import unicode_literals

from ship.utils import utilfunctions as uf

"""Enum for accessing categories of TuflowFilePart types."""
FILEPART_TYPES = uf.enum('MODEL', 'RESULT', 'GIS', 'DATA', 'VARIABLE', 
                         'UNKNOWN_FILE', 'UNKNOWN', 'IF_LOGIC', 'EVENT_LOGIC',
                         'USER_VARIABLE', 'EVENT_VARIABLE', 'MODEL_VARIABLE',
                         'SECTION_LOGIC')