inasafe/inasafe

View on GitHub
safe/definitions/caveats.py

Summary

Maintainability
A
0 mins
Test Coverage
# coding=utf-8
"""Caveats and advisories that will be shown in reports.

Some of these may be shown only in certain contexts.
"""

from safe.utilities.i18n import tr

__copyright__ = "Copyright 2016, The InaSAFE Project"
__license__ = "GPL version 3"
__email__ = "info@inasafe.org"
__revision__ = '$Format:%H$'

caveat_simulation = tr(
    'The extent and severity of the mapped scenario or hazard zones '
    'may not be consistent with future events.')
caveat_local_conditions = tr(
    'The impacts on roads, people, buildings and other exposure '
    'elements may differ from the analysis results due to local '
    'conditions such as terrain and infrastructure type.')
caveat_incomplete_data = tr(
    'The impacts on roads, people, buildings and other exposure '
    'elements may be underestimated if the exposure data are incomplete.')
caveat_analysis_extent = tr(
    'The analysis extent is limited to the extent of the aggregation '
    'layer or analysis extent. Hazard and exposure data outside the analysis '
    'extent are not included in the impact layer, impact map or impact '
    'reports.')
caveat_analysis_ommission = tr(
    'Structures overlapping the analysis extent may be assigned a hazard '
    'status lower than that to which they are exposed outside the analysis '
    'area.')
no_data_warning = [
    tr(
        'The layers contained "no data" values. This missing data '
        'was carried through to the impact layer.'),
    tr(
        '"No data" values in the impact layer were treated as 0 '
        'when counting the affected or total population.')
]