Former-commit-id:30c786a885
[formerlyfba4a443a0
] [formerly30c786a885
[formerlyfba4a443a0
] [formerly5c1f3cdc46
[formerly 18939af3b7cf54a36970d65d528003f4fe489eb7]]] Former-commit-id:5c1f3cdc46
Former-commit-id:8beb6fc0b8
[formerly08fc9f6b14
] Former-commit-id:4f27cbb406
38 lines
1.3 KiB
Python
38 lines
1.3 KiB
Python
##
|
|
# This software was developed and / or modified by Raytheon Company,
|
|
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
|
#
|
|
# U.S. EXPORT CONTROLLED TECHNICAL DATA
|
|
# This software product contains export-restricted data whose
|
|
# export/transfer/disclosure is restricted by U.S. law. Dissemination
|
|
# to non-U.S. persons whether in the United States or abroad requires
|
|
# an export license or other authorization.
|
|
#
|
|
# Contractor Name: Raytheon Company
|
|
# Contractor Address: 6825 Pine Street, Suite 340
|
|
# Mail Stop B8
|
|
# Omaha, NE 68106
|
|
# 402.291.0100
|
|
#
|
|
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
|
# further licensing information.
|
|
##
|
|
# Example localMaps.py configuration file
|
|
|
|
# You must include the following line
|
|
from Maps import *
|
|
|
|
# The following changes the configuration of the CWAzones maps. It overrides
|
|
# every possible item that can be overridden.
|
|
|
|
# Rename by name of the CWAzones map
|
|
CWAzones.name = "MyCWAZones"
|
|
|
|
# Change the filter to only include "OH" (Ohio) zones
|
|
CWAzones.filter(lambda x : x['state'] == "OH")
|
|
|
|
# Change the edit area naming to be state_zone (e.g. OH_123)
|
|
CWAzones.editAreaName = ['state', 'zone']
|
|
|
|
# Change the edit area group name to be OH_Zones
|
|
CWAzones.groupName = 'OH_Zones'
|