614 lines
31 KiB
Python
614 lines
31 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.
|
|
##
|
|
# ----------------------------------------------------------------------------
|
|
# This software is in the public domain, furnished "as is", without technical
|
|
# support, and with no warranty, express or implied, as to its usefulness for
|
|
# any purpose.
|
|
#
|
|
# Miscellaneous Tests for FWFTable
|
|
#
|
|
# Author: cheatwood
|
|
# ----------------------------------------------------------------------------
|
|
|
|
FWFTable_createGrids = [
|
|
("Fcst", "MaxT", "SCALAR", "MaxTBegin -24", "MaxTEnd -24", 60, "all"),
|
|
("Fcst", "MaxT", "SCALAR", "MaxTBegin", "MaxTEnd", 78, "all"),
|
|
("Fcst", "MaxT", "SCALAR", "MaxTBegin + 24", "MaxTEnd + 24", 79, "all"),
|
|
("Fcst", "MaxT", "SCALAR", "MaxTBegin + 48", "MaxTEnd + 48", 78, "all"),
|
|
("Fcst", "MaxT", "SCALAR", "MaxTBegin + 72", "MaxTEnd + 72", 80, "all"),
|
|
("Fcst", "MaxT", "SCALAR", "MaxTBegin + 96", "MaxTEnd + 96", 81, "all"),
|
|
("Fcst", "MaxT", "SCALAR", "MaxTBegin + 120", "MaxTEnd + 120", 83, "all"),
|
|
("Fcst", "MaxT", "SCALAR", "MaxTBegin + 144", "MaxTEnd + 144", 84, "all"),
|
|
("Fcst", "MaxT", "SCALAR", "MaxTBegin + 168", "MaxTEnd + 168", 86, "all"),
|
|
|
|
("Fcst", "MinT", "SCALAR", "MinTBegin-24", "MinTEnd-24", 40, "all"),
|
|
("Fcst", "MinT", "SCALAR", "MinTBegin", "MinTEnd", 60, "all"),
|
|
("Fcst", "MinT", "SCALAR", "MinTBegin + 24", "MinTEnd + 24", 68, "all"),
|
|
("Fcst", "MinT", "SCALAR", "MinTBegin + 48", "MinTEnd + 48", 65, "all"),
|
|
("Fcst", "MinT", "SCALAR", "MinTBegin + 72", "MinTEnd + 72", 64, "all"),
|
|
("Fcst", "MinT", "SCALAR", "MinTBegin + 96", "MinTEnd + 96", 63, "all"),
|
|
("Fcst", "MinT", "SCALAR", "MinTBegin + 120", "MinTEnd + 120", 66, "all"),
|
|
("Fcst", "MinT", "SCALAR", "MinTBegin + 144", "MinTEnd + 144", 68, "all"),
|
|
("Fcst", "MinT", "SCALAR", "MinTBegin + 168", "MinTEnd + 168", 67, "all"),
|
|
|
|
("Fcst", "MaxRH", "SCALAR", "MaxRHBegin-24", "MaxRHEnd-24", 60, "all"),
|
|
("Fcst", "MaxRH", "SCALAR", "MaxRHBegin", "MaxRHEnd", 78, "all"),
|
|
("Fcst", "MaxRH", "SCALAR", "MaxRHBegin + 24", "MaxRHEnd + 24", 80, "all"),
|
|
("Fcst", "MaxRH", "SCALAR", "MaxRHBegin + 48", "MaxRHEnd + 48", 85, "all"),
|
|
("Fcst", "MaxRH", "SCALAR", "MaxRHBegin + 72", "MaxRHEnd + 72", 90, "all"),
|
|
("Fcst", "MaxRH", "SCALAR", "MaxRHBegin + 96", "MaxRHEnd + 96", 87, "all"),
|
|
("Fcst", "MaxRH", "SCALAR", "MaxRHBegin + 120", "MaxRHEnd + 120", 88, "all"),
|
|
("Fcst", "MaxRH", "SCALAR", "MaxRHBegin + 144", "MaxRHEnd + 144", 89, "all"),
|
|
("Fcst", "MaxRH", "SCALAR", "MaxRHBegin + 168", "MaxRHEnd + 168", 90, "all"),
|
|
|
|
("Fcst", "MinRH", "SCALAR", "MinRHBegin-24", "MinRHEnd-24", 40, "all"),
|
|
("Fcst", "MinRH", "SCALAR", "MinRHBegin", "MinRHEnd", 65, "all"),
|
|
("Fcst", "MinRH", "SCALAR", "MinRHBegin + 24", "MinRHEnd + 24", 68, "all"),
|
|
("Fcst", "MinRH", "SCALAR", "MinRHBegin + 48", "MinRHEnd + 48", 70, "all"),
|
|
("Fcst", "MinRH", "SCALAR", "MinRHBegin + 72", "MinRHEnd + 72", 73, "all"),
|
|
("Fcst", "MinRH", "SCALAR", "MinRHBegin + 96", "MinRHEnd + 96", 74, "all"),
|
|
("Fcst", "MinRH", "SCALAR", "MinRHBegin + 120", "MinRHEnd + 120", 72, "all"),
|
|
("Fcst", "MinRH", "SCALAR", "MinRHBegin + 144", "MinRHEnd + 144", 70, "all"),
|
|
("Fcst", "MinRH", "SCALAR", "MinRHBegin + 168", "MinRHEnd + 168", 71, "all"),
|
|
|
|
("Fcst", "Wind", "VECTOR", 0, 12, (10, "SW"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 12, 24, (40, "SE"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 24, 36, (35, "NW"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 36, 48, (45, "W"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 48, 60, (50, "SW"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 60, 72, (45, "E"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 72, 84, (60, "W"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 84, 96,(55, "SW"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 96, 108,(55, "SW"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 108, 120, (42, "E"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 120, 132, (45, "E"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 132, 144, (46, "E"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 144, 156, (48, "E"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 156, 168, (60, "E"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 168, 180, (35, "E"), "all"),
|
|
("Fcst", "Wind", "VECTOR", 180, 192, (50, "E"), "all"),
|
|
|
|
("Fcst", "TransWind", "VECTOR", 0, 12, (10, "SW"), "all"),
|
|
("Fcst", "TransWind", "VECTOR", 12, 24, (5, "W"), "all"),
|
|
("Fcst", "TransWind", "VECTOR", 24, 48, (10, "NW"), "all"),
|
|
("Fcst", "TransWind", "VECTOR", 48, 72, (20, "W"), "all"),
|
|
("Fcst", "TransWind", "VECTOR", 72, 96, (30, "W"), "all"),
|
|
("Fcst", "TransWind", "VECTOR", 96, 120, (40, "W"), "all"),
|
|
("Fcst", "TransWind", "VECTOR", 120, 144, (50, "W"), "all"),
|
|
("Fcst", "TransWind", "VECTOR", 144, 168, (60, "W"), "all"),
|
|
("Fcst", "TransWind", "VECTOR", 168, 192, (70, "W"), "all"),
|
|
|
|
("Fcst", "WindGust", "SCALAR", 0, 12, 25, "all"),
|
|
("Fcst", "WindGust", "SCALAR", 12, 24, 0, "all"),
|
|
("Fcst", "WindGust", "SCALAR", 24, 36, 0, "all"),
|
|
("Fcst", "WindGust", "SCALAR", 36, 48, 0, "all"),
|
|
("Fcst", "WindGust", "SCALAR", 48, 60, 0, "all"),
|
|
("Fcst", "WindGust", "SCALAR", 60, 72, 0, "all"),
|
|
("Fcst", "WindGust", "SCALAR", 72, 84, 0, "all"),
|
|
("Fcst", "WindGust", "SCALAR", 84, 96, 0, "all"),
|
|
("Fcst", "WindGust", "SCALAR", 96, 108, 0, "all"),
|
|
|
|
("Fcst", "Sky", "SCALAR", 0, 12, 100, "all"),
|
|
("Fcst", "Sky", "SCALAR", 12, 24, 95, "all"),
|
|
("Fcst", "Sky", "SCALAR", 24, 36, 0, "all"),
|
|
("Fcst", "Sky", "SCALAR", 36, 48, 15, "all"),
|
|
("Fcst", "Sky", "SCALAR", 48, 60, 30, "all"),
|
|
("Fcst", "Sky", "SCALAR", 60, 72, 55, "all"),
|
|
("Fcst", "Sky", "SCALAR", 72, 84, 65, "all"),
|
|
("Fcst", "Sky", "SCALAR", 84, 96, 70, "all"),
|
|
("Fcst", "Sky", "SCALAR", 96, 108, 30, "all"),
|
|
("Fcst", "Sky", "SCALAR", 108, 120, 48, "all"),
|
|
("Fcst", "Sky", "SCALAR", 120, 132, 100, "all"),
|
|
("Fcst", "Sky", "SCALAR", 132, 144, 10, "all"),
|
|
("Fcst", "Sky", "SCALAR", 144, 156, 75, "all"),
|
|
("Fcst", "Sky", "SCALAR", 156, 168, 25, "all"),
|
|
("Fcst", "Sky", "SCALAR", 168, 180, 20, "all"),
|
|
("Fcst", "Sky", "SCALAR", 180, 192, 87, "all"),
|
|
|
|
("Fcst", "Wx", "WEATHER", 0, 12, "Patchy:F:+:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 12, 24, "Wide:T:<NoInten>:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 24, 36, "Chc:RW:-:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 36, 48, "Frq:R:--:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 48, 60, "Wide:ZR:-:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 60, 72, "Lkly:S:--:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 72, 84, "Wide:IP:--:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 84, 96, "Areas:BS:<NoInten>:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 96, 108, "Patchy:F:<NoInten>:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 108, 120, "Lkly:L:--:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 120, 132, "SChc:ZL:--:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 132, 144, "Num:T:<NoInten>:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 144, 156, "Iso:ZY:-:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 156, 168, "Areas:FR:<NoInten>:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 168, 180, "Chc:RW:-:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 180, 192, "Brf:R:m:<NoVis>:", "all"),
|
|
|
|
("Fcst", "LAL", "SCALAR", 0, 12, 1, "all"),
|
|
("Fcst", "LAL", "SCALAR", 12, 24, 2, "all"),
|
|
("Fcst", "LAL", "SCALAR", 24, 36, 3, "all"),
|
|
("Fcst", "LAL", "SCALAR", 36, 48, 4, "all"),
|
|
("Fcst", "LAL", "SCALAR", 48, 60, 5, "all"),
|
|
("Fcst", "LAL", "SCALAR", 60, 72, 6, "all"),
|
|
("Fcst", "LAL", "SCALAR", 72, 84, 3, "all"),
|
|
("Fcst", "LAL", "SCALAR", 84, 96, 1, "all"),
|
|
("Fcst", "LAL", "SCALAR", 96, 108, 2, "all"),
|
|
("Fcst", "LAL", "SCALAR", 108, 120, 4, "all"),
|
|
("Fcst", "LAL", "SCALAR", 120, 132, 5, "all"),
|
|
("Fcst", "LAL", "SCALAR", 132, 144, 3, "all"),
|
|
("Fcst", "LAL", "SCALAR", 144, 156, 2, "all"),
|
|
("Fcst", "LAL", "SCALAR", 156, 168, 5, "all"),
|
|
("Fcst", "LAL", "SCALAR", 168, 180, 6, "all"),
|
|
("Fcst", "LAL", "SCALAR", 180, 192, 3, "all"),
|
|
|
|
("Fcst", "PoP", "SCALAR", 0, 12, 0, "all"),
|
|
("Fcst", "PoP", "SCALAR", 12, 24, 10, "all"),
|
|
("Fcst", "PoP", "SCALAR", 24, 36, 70, "all"),
|
|
("Fcst", "PoP", "SCALAR", 36, 48, 90, "all"),
|
|
("Fcst", "PoP", "SCALAR", 48, 60, 30, "all"),
|
|
("Fcst", "PoP", "SCALAR", 60, 72, 50, "all"),
|
|
("Fcst", "PoP", "SCALAR", 72, 84, 20, "all"),
|
|
("Fcst", "PoP", "SCALAR", 84, 96, 60, "all"),
|
|
("Fcst", "PoP", "SCALAR", 96, 108, 30, "all"),
|
|
("Fcst", "PoP", "SCALAR", 108, 120, 10, "all"),
|
|
("Fcst", "PoP", "SCALAR", 120, 132, 70, "all"),
|
|
("Fcst", "PoP", "SCALAR", 132, 144, 80, "all"),
|
|
("Fcst", "PoP", "SCALAR", 144, 156, 90, "all"),
|
|
("Fcst", "PoP", "SCALAR", 156, 168, 100, "all"),
|
|
("Fcst", "PoP", "SCALAR", 168, 180, 0, "all"),
|
|
("Fcst", "PoP", "SCALAR", 180, 192, 10, "all"),
|
|
|
|
("Fcst", "CWR", "SCALAR", 0, 12, 0, "all"),
|
|
("Fcst", "CWR", "SCALAR", 12, 24, 5, "all"),
|
|
("Fcst", "CWR", "SCALAR", 24, 36, 15, "all"),
|
|
("Fcst", "CWR", "SCALAR", 36, 48, 30, "all"),
|
|
("Fcst", "CWR", "SCALAR", 48, 60, 45, "all"),
|
|
("Fcst", "CWR", "SCALAR", 60, 72, 60, "all"),
|
|
("Fcst", "CWR", "SCALAR", 72, 84, 25, "all"),
|
|
("Fcst", "CWR", "SCALAR", 84, 96, 47, "all"),
|
|
("Fcst", "CWR", "SCALAR", 96, 108, 34, "all"),
|
|
("Fcst", "CWR", "SCALAR", 108, 120, 60, "all"),
|
|
("Fcst", "CWR", "SCALAR", 120, 132, 55, "all"),
|
|
("Fcst", "CWR", "SCALAR", 132, 144, 50, "all"),
|
|
("Fcst", "CWR", "SCALAR", 144, 156, 20, "all"),
|
|
("Fcst", "CWR", "SCALAR", 156, 168, 10, "all"),
|
|
("Fcst", "CWR", "SCALAR", 168, 180, 5, "all"),
|
|
("Fcst", "CWR", "SCALAR", 180, 192, 40, "all"),
|
|
|
|
("Fcst", "QPF", "SCALAR", 0, 12, 0, "all"),
|
|
("Fcst", "QPF", "SCALAR", 12, 24, 0.05, "all"),
|
|
("Fcst", "QPF", "SCALAR", 24, 36, 0.1, "all"),
|
|
("Fcst", "QPF", "SCALAR", 36, 48, 0, "all"),
|
|
("Fcst", "QPF", "SCALAR", 48, 60, 5, "all"),
|
|
("Fcst", "QPF", "SCALAR", 60, 72, 4.5, "all"),
|
|
("Fcst", "QPF", "SCALAR", 72, 84, 1.5, "all"),
|
|
("Fcst", "QPF", "SCALAR", 84, 96, 2.5, "all"),
|
|
("Fcst", "QPF", "SCALAR", 96, 108, 3.5, "all"),
|
|
("Fcst", "QPF", "SCALAR", 108, 120, 4.0, "all"),
|
|
("Fcst", "QPF", "SCALAR", 120, 132, 1.0, "all"),
|
|
("Fcst", "QPF", "SCALAR", 132, 144, 2.0, "all"),
|
|
("Fcst", "QPF", "SCALAR", 144, 156, 3.0, "all"),
|
|
("Fcst", "QPF", "SCALAR", 156, 168, 1.3, "all"),
|
|
("Fcst", "QPF", "SCALAR", 168, 180, 0.12, "all"),
|
|
("Fcst", "QPF", "SCALAR", 180, 192, 0.34, "all"),
|
|
|
|
("Fcst", "Haines", "SCALAR", 0, 12, 2, "all"),
|
|
("Fcst", "Haines", "SCALAR", 12, 24, 3, "all"),
|
|
("Fcst", "Haines", "SCALAR", 24, 36, 4, "all"),
|
|
("Fcst", "Haines", "SCALAR", 36, 48, 6, "all"),
|
|
("Fcst", "Haines", "SCALAR", 48, 60, 2, "all"),
|
|
("Fcst", "Haines", "SCALAR", 60, 72, 3, "all"),
|
|
("Fcst", "Haines", "SCALAR", 72, 84, 2, "all"),
|
|
("Fcst", "Haines", "SCALAR", 84, 96, 3, "all"),
|
|
("Fcst", "Haines", "SCALAR", 96, 108, 5, "all"),
|
|
("Fcst", "Haines", "SCALAR", 108, 120, 6, "all"),
|
|
("Fcst", "Haines", "SCALAR", 120, 132, 3, "all"),
|
|
("Fcst", "Haines", "SCALAR", 132, 144, 2, "all"),
|
|
("Fcst", "Haines", "SCALAR", 144, 156, 3, "all"),
|
|
("Fcst", "Haines", "SCALAR", 156, 168, 4, "all"),
|
|
("Fcst", "Haines", "SCALAR", 168, 180, 3, "all"),
|
|
("Fcst", "Haines", "SCALAR", 180, 192, 6, "all"),
|
|
|
|
("Fcst", "MixHgt", "SCALAR", 0, 24, 50, "all"),
|
|
("Fcst", "MixHgt", "SCALAR", 24, 48, 100, "all"),
|
|
("Fcst", "MixHgt", "SCALAR", 48, 72, 4000, "all"),
|
|
("Fcst", "MixHgt", "SCALAR", 72, 96, 3500, "all"),
|
|
("Fcst", "MixHgt", "SCALAR", 96, 120, 300, "all"),
|
|
("Fcst", "MixHgt", "SCALAR", 120, 144, 10, "all"),
|
|
("Fcst", "MixHgt", "SCALAR", 144, 168, 5000, "all"),
|
|
("Fcst", "MixHgt", "SCALAR", 168, 192, 600, "all"),
|
|
|
|
("Fcst", "Wind20ft", "VECTOR", 0, 12, (5, "N"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 12, 24, (40, "NE"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 24, 36, (10, "NW"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 36, 48, (0, "N"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 48, 60, (125, "E"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 60, 72, (90, "S"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 72, 84, (50, "S"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 84, 96, (100, "S"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 96, 108, (0, "S"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 108, 120, (10, "S"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 120, 132, (30, "S"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 132, 144, (60, "S"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 144, 156, (25, "S"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 156, 168, (68, "S"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 168, 180, (15, "S"), "all"),
|
|
("Fcst", "Wind20ft", "VECTOR", 180, 192, (2, "S"), "all"),
|
|
|
|
("Fcst", "VentRate", "SCALAR", 0, 24, 3000, "all"),
|
|
("Fcst", "VentRate", "SCALAR", 24, 48, 500, "all"),
|
|
("Fcst", "VentRate", "SCALAR", 48, 72, 20000, "all"),
|
|
("Fcst", "VentRate", "SCALAR", 72, 96, 5000, "all"),
|
|
("Fcst", "VentRate", "SCALAR", 96, 120, 500, "all"),
|
|
("Fcst", "VentRate", "SCALAR", 120, 144, 4000, "all"),
|
|
("Fcst", "VentRate", "SCALAR", 144, 168, 6900, "all"),
|
|
("Fcst", "VentRate", "SCALAR", 168, 192, 0, "all"),
|
|
|
|
("Fcst", "Stability", "SCALAR", 0, 12, 1, "all"),
|
|
("Fcst", "Stability", "SCALAR", 12, 24, 2, "all"),
|
|
("Fcst", "Stability", "SCALAR", 24, 36, 1, "all"),
|
|
("Fcst", "Stability", "SCALAR", 36, 48, 3, "all"),
|
|
("Fcst", "Stability", "SCALAR", 48, 60, 4, "all"),
|
|
("Fcst", "Stability", "SCALAR", 60, 72, 5, "all"),
|
|
("Fcst", "Stability", "SCALAR", 72, 84, 1, "all"),
|
|
("Fcst", "Stability", "SCALAR", 84, 96, 2, "all"),
|
|
("Fcst", "Stability", "SCALAR", 96, 108, 3, "all"),
|
|
("Fcst", "Stability", "SCALAR", 108, 120, 4, "all"),
|
|
("Fcst", "Stability", "SCALAR", 120, 132, 5, "all"),
|
|
("Fcst", "Stability", "SCALAR", 132, 144, 4, "all"),
|
|
("Fcst", "Stability", "SCALAR", 144, 156, 3, "all"),
|
|
("Fcst", "Stability", "SCALAR", 156, 168, 2, "all"),
|
|
("Fcst", "Stability", "SCALAR", 168, 180, 1, "all"),
|
|
("Fcst", "Stability", "SCALAR", 180, 192, 3, "all"),
|
|
|
|
("Fcst", "HrsOfSun", "SCALAR", 0, 24, 6, "all"),
|
|
("Fcst", "HrsOfSun", "SCALAR", 24, 48, 7, "all"),
|
|
("Fcst", "HrsOfSun", "SCALAR", 48, 72, 5, "all"),
|
|
("Fcst", "HrsOfSun", "SCALAR", 72, 96, 5, "all"),
|
|
("Fcst", "HrsOfSun", "SCALAR", 96, 120, 5, "all"),
|
|
("Fcst", "HrsOfSun", "SCALAR", 120, 144, 5, "all"),
|
|
("Fcst", "HrsOfSun", "SCALAR", 144, 168, 5, "all"),
|
|
("Fcst", "HrsOfSun", "SCALAR", 168, 192, 5, "all"),
|
|
|
|
("Fcst", "DSI", "SCALAR", 0, 12, 0, "all"),
|
|
("Fcst", "DSI", "SCALAR", 12, 24, 2, "all"),
|
|
("Fcst", "DSI", "SCALAR", 24, 36, 6, "all"),
|
|
("Fcst", "DSI", "SCALAR", 36, 48, 1, "all"),
|
|
("Fcst", "DSI", "SCALAR", 48, 60, 5, "all"),
|
|
("Fcst", "DSI", "SCALAR", 60, 72, 4, "all"),
|
|
("Fcst", "DSI", "SCALAR", 72, 84, 3, "all"),
|
|
("Fcst", "DSI", "SCALAR", 84, 96, 2, "all"),
|
|
("Fcst", "DSI", "SCALAR", 96, 108, 1, "all"),
|
|
("Fcst", "DSI", "SCALAR", 108, 120, 0, "all"),
|
|
("Fcst", "DSI", "SCALAR", 120, 132, 5, "all"),
|
|
("Fcst", "DSI", "SCALAR", 132, 144, 4, "all"),
|
|
("Fcst", "DSI", "SCALAR", 144, 156, 3, "all"),
|
|
("Fcst", "DSI", "SCALAR", 156, 168, 2, "all"),
|
|
("Fcst", "DSI", "SCALAR", 168, 180, 1, "all"),
|
|
("Fcst", "DSI", "SCALAR", 180, 192, 0, "all"),]
|
|
|
|
scripts = [
|
|
{
|
|
"commentary": """
|
|
Morning test
|
|
""",
|
|
"name":"FWFTable_1",
|
|
"productType":"FWFTable",
|
|
"cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None, ('Forecaster Number', 'forecasterNumber'): 99.0 }",
|
|
"comboFlag": 1,
|
|
"deleteGrids": [
|
|
# Remove Ttrend and RHtrend grids to make sure that we do not use them for trends
|
|
("Fcst", "Ttrend", "SFC", "all", "all"),
|
|
("Fcst", "RHtrend", "SFC", "all", "all"),
|
|
],
|
|
"checkStrings": [
|
|
"Fire Weather Planning Forecast for Florida",
|
|
"National Weather Service Tampa Bay Ruskin FL",
|
|
" Today Tonight Sat",
|
|
"Cloud cover Cloudy Cloudy Clear",
|
|
"Precip type NONE tstms showers",
|
|
"Chance precip (%) 0 10 70",
|
|
"Temp (24h trend) 78 (+18) 60 (+20) 79",
|
|
"RH % (24h trend) 65 (+21) 78 (+18) 68",
|
|
"20ftWnd-val/AM(mph) N 5 G23 NW 11",
|
|
"20ftWnd-rdg/PM(mph) N 5 G23 NE 46 NW 11",
|
|
"Precip amount 0.00 0.05 0.10",
|
|
"Precip duration 0 2",
|
|
"Precip begin 6 PM Continuing",
|
|
"Precip end Continuing 6 PM",
|
|
"Mixing hgt(m-AGL/MSL) 15 30",
|
|
"Mixing hgt(ft-AGL/MSL)50 100",
|
|
"Transport wnd (kts) SW 10 NW 10",
|
|
"Transport wnd (m/s) SW 5 NW 5",
|
|
"Transport wnd (mph) SW 12 NW 12",
|
|
"Vent rate (kt-ft) 3000 500",
|
|
"Vent rate (m/s-m) 471 79",
|
|
"Vent rate (mph-ft) 3450 575",
|
|
"Dispersion 2 1",
|
|
"DSI 0 2 6",
|
|
"Sunshine hours 6 7",
|
|
"CWR 0 10 20",
|
|
"LAL 1 2 3",
|
|
"Haines Index 2 3 4",
|
|
"RH recovery Excellent Excellent Excellent",
|
|
"Stability class A B A",
|
|
".FORECAST FOR DAYS 3 THROUGH 7...",
|
|
".SUNDAY...",
|
|
"Widespread light freezing rain and frequent light rain. Lows in the upper 60s. Highs in the upper 70s. Light winds.",
|
|
".MONDAY...Strong winds. Mostly cloudy. Widespread very light sleet and very light snow likely. Lows in the mid 60s. Highs around 80. South winds around 60 mph.",
|
|
".TUESDAY...Partly cloudy. Areas of blowing snow, then patchy fog. Lows in the mid 60s. Highs in the lower 80s. Light winds.",
|
|
".WEDNESDAY...Mostly cloudy. Drizzle likely. Lows in the lower 60s. Highs in the lower 80s. South winds around 10 mph.",
|
|
".THURSDAY...Windy. Numerous thunderstorms. Lows in the mid 60s. Highs in the mid 80s. South winds around 30 mph.",
|
|
],
|
|
"internalStrip": 0,
|
|
"createGrids": FWFTable_createGrids,
|
|
},
|
|
{
|
|
"commentary": """
|
|
Afternoon test
|
|
""",
|
|
"name":"FWFTable_2",
|
|
"productType":"FWFTable",
|
|
"cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon', ('Issued By', 'issuedBy'): None, ('Forecaster Number', 'forecasterNumber'): 99.0 }",
|
|
"deleteGrids": [
|
|
# Remove Ttrend and RHtrend grids to make sure that we do not use them for trends
|
|
("Fcst", "Ttrend", "SFC", "all", "all"),
|
|
("Fcst", "RHtrend", "SFC", "all", "all"),
|
|
],
|
|
"comboFlag": 1,
|
|
"checkStrings": [
|
|
"Fire Weather Planning Forecast for Florida",
|
|
"National Weather Service Tampa Bay Ruskin FL",
|
|
" Tonight Sat Sat Night Sun",
|
|
"Cloud cover Cloudy Clear MClear MClear",
|
|
"Precip type tstms showers rain frz rain",
|
|
"Chance precip (%) 10 70 0 30",
|
|
"Temp (24h trend) 60 (+20) 79 (+4) 68 78",
|
|
"RH % (24h trend) 78 (+15) 68 (+8) 80 70",
|
|
"20ftWnd-val/AM(mph) NW 11 E143",
|
|
"20ftWnd-rdg/PM(mph) NE 46 NW 11 Lgt/Var E143",
|
|
"Precip amount 0.05 0.10 0.00 5.00",
|
|
"Precip duration 0 2 12",
|
|
"Precip begin 6 PM Continuing 6 AM",
|
|
"Precip end Continuing 6 PM Continuing",
|
|
"Mixing hgt(m-AGL/MSL) 30 1219",
|
|
"Mixing hgt(ft-AGL/MSL) 100 4000",
|
|
"Transport wnd (kts) NW 10 W 20",
|
|
"Transport wnd (m/s) NW 5 W 10",
|
|
"Transport wnd (mph) NW 12 W 23",
|
|
"Vent rate (kt-ft) 500 20000",
|
|
"Vent rate (m/s-m) 79 3142",
|
|
"Vent rate (mph-ft) 575 23000",
|
|
"Dispersion 1 5",
|
|
"DSI 2 6 1 5",
|
|
"Sunshine hours 7 5",
|
|
"CWR 10 20 30 50",
|
|
"LAL 2 3 4 5",
|
|
"Haines Index 3 4 6 2",
|
|
"RH recovery Excellent Excellent Excellent Excellent",
|
|
"Stability class B A C D",
|
|
".FORECAST FOR DAYS 3 THROUGH 7...",
|
|
".MONDAY...Strong winds. Mostly cloudy. Widespread very light sleet and very light snow likely. Lows in the mid 60s. Highs around 80. South winds around 60 mph.",
|
|
".TUESDAY...Partly cloudy. Areas of blowing snow, then patchy fog. Lows in the mid 60s. Highs in the lower 80s. Light winds.",
|
|
".WEDNESDAY...Mostly cloudy. Drizzle likely. Lows in the lower 60s. Highs in the lower 80s. South winds around 10 mph.",
|
|
".THURSDAY...Windy. Numerous thunderstorms. Lows in the mid 60s. Highs in the mid 80s. South winds around 30 mph.",
|
|
".FRIDAY...Mostly clear. Areas of frost. A 50 percent chance of showers. Lows in the upper 60s. Highs in the mid 80s. South winds around 15 mph.",
|
|
],
|
|
"internalStrip": 0,
|
|
"createGrids": FWFTable_createGrids,
|
|
},
|
|
|
|
{
|
|
"commentary": """
|
|
Morning test using Ttrend and RHtrend grids
|
|
""",
|
|
"name":"FWFTable_3",
|
|
"productType":"FWFTable",
|
|
"cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None, ('Forecaster Number', 'forecasterNumber'): 99.0 }",
|
|
"comboFlag": 1,
|
|
"checkStrings": [],
|
|
"internalStrip": 0,
|
|
"createGrids": FWFTable_createGrids + [
|
|
("Fcst", "Ttrend", "SCALAR", 0, 48, 10, "all"),
|
|
("Fcst", "RHtrend", "SCALAR", 0, 48, 20, "all"),
|
|
],
|
|
},
|
|
{
|
|
"commentary": """
|
|
Afternoon test using Ttrend and RHtrend grids
|
|
""",
|
|
"name":"FWFTable_4",
|
|
"productType":"FWFTable",
|
|
"cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon', ('Issued By', 'issuedBy'): None, ('Forecaster Number', 'forecasterNumber'): 99.0 }",
|
|
"comboFlag": 1,
|
|
"checkStrings": [],
|
|
"internalStrip": 0,
|
|
"createGrids": FWFTable_createGrids + [
|
|
("Fcst", "Ttrend", "SCALAR", 0, 48, 10, "all"),
|
|
("Fcst", "RHtrend", "SCALAR", 0, 48, 20, "all"),
|
|
],
|
|
},
|
|
|
|
#### FWFTable Precip Begin/End
|
|
|
|
{
|
|
"name":"FWFTable_Precip1",
|
|
"productType":"FWFTable",
|
|
"commentary": "FWFTable Precip Begin/End: PoP 30%, NoWx, QPF 0.5",
|
|
"comboFlag": 1,
|
|
"checkStrings": ["Chance precip (%) 0",
|
|
"Precip amount 0.00",
|
|
"Precip duration ",
|
|
"Precip begin ",
|
|
"Precip end ",
|
|
],
|
|
"internalStrip": 0,
|
|
"createGrids" : [
|
|
("Fcst", "PoP", "SCALAR", 0, 12, 30, "all"),
|
|
("Fcst", "Wx", "WEATHER", 0, 12, "NoWx", "all"),
|
|
("Fcst", "QPF", "SCALAR", 0, 12, 0.5, "all"),
|
|
],
|
|
},
|
|
|
|
{
|
|
"name":"FWFTable_Precip2",
|
|
"productType":"FWFTable",
|
|
"commentary": "FWFTable Precip Begin/End: PoP 0%, Chc RW-, QPF 0.5",
|
|
"comboFlag": 1,
|
|
"checkStrings": ["Chance precip (%) 0",
|
|
"Precip amount 0.00",
|
|
"Precip duration ",
|
|
"Precip begin ",
|
|
"Precip end ",
|
|
],
|
|
"internalStrip": 0,
|
|
"createGrids" : [
|
|
("Fcst", "PoP", "SCALAR", 0, 12, 0, "all"),
|
|
("Fcst", "Wx", "WEATHER", 0, 12, "Chc:RW:-:<NoVis>:", "all"),
|
|
("Fcst", "QPF", "SCALAR", 0, 12, 0.5, "all"),
|
|
],
|
|
},
|
|
|
|
|
|
{
|
|
"name":"FWFTable_Precip3",
|
|
"productType":"FWFTable",
|
|
"commentary": "FWFTable Precip Begin/End: PoP 30%, Chc RW-, QPF 0.0",
|
|
"comboFlag": 1,
|
|
"checkStrings": ["Chance precip (%) 0 ",
|
|
"Precip amount 0.00",
|
|
"Precip duration ",
|
|
"Precip begin ",
|
|
"Precip end ",
|
|
],
|
|
"internalStrip": 0,
|
|
"createGrids" : [
|
|
("Fcst", "PoP", "SCALAR", 0, 12, 30, "all"),
|
|
("Fcst", "Wx", "WEATHER", 0, 12, "Chc:RW:-:<NoVis>:", "all"),
|
|
("Fcst", "QPF", "SCALAR", 0, 12, 0, "all"),
|
|
],
|
|
},
|
|
|
|
{
|
|
"name":"FWFTable_Precip4",
|
|
"productType":"FWFTable",
|
|
"commentary": "FWFTable Precip Begin/End: PoP 40%, Sct SW-, QPF 0.0",
|
|
"comboFlag": 1,
|
|
"checkStrings": [
|
|
"Chance precip (%) 0 ",
|
|
"Precip amount 0.00",
|
|
"Precip duration ",
|
|
"Precip begin ",
|
|
"Precip end ",
|
|
],
|
|
"internalStrip": 0,
|
|
"createGrids" : [
|
|
("Fcst", "PoP", "SCALAR", 0, 12, 40, "all"),
|
|
("Fcst", "Wx", "WEATHER", 0, 12, "Sct:SW:--:<NoVis>:", "all"),
|
|
("Fcst", "QPF", "SCALAR", 0, 12, 0, "all"),
|
|
],
|
|
},
|
|
|
|
{
|
|
"name":"FWFTable_Precip5",
|
|
"productType":"FWFTable",
|
|
"commentary": "FWFTable Precip Begin/End: PoP 40%, Sct SW- -> NoWx, QPF 1.5",
|
|
"comboFlag": 1,
|
|
"checkStrings": ["Chance precip (%) 40",
|
|
"Precip amount 1.50",
|
|
"Precip duration 5",
|
|
"Precip begin 6 AM",
|
|
"Precip end 6 PM",
|
|
],
|
|
"internalStrip": 0,
|
|
"createGrids" : [
|
|
("Fcst", "PoP", "SCALAR", 0, 12, 40, "all"),
|
|
("Fcst", "Wx", "WEATHER", 0, 12, "Sct:SW:--:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 12, 24, "NoWx", "all"),
|
|
("Fcst", "QPF", "SCALAR", 0, 12, 1.5, "all"),
|
|
],
|
|
},
|
|
|
|
{
|
|
"name":"FWFTable_Precip6",
|
|
"productType":"FWFTable",
|
|
"commentary": "FWFTable Precip Begin/End: PoP 40%, Wide SW- -> NoWx, QPF 1.5",
|
|
"comboFlag": 1,
|
|
"checkStrings": ["Chance precip (%) 40",
|
|
"Precip amount 1.50",
|
|
"Precip duration 12",
|
|
"Precip begin 6 AM",
|
|
"Precip end 6 PM",
|
|
],
|
|
"internalStrip": 0,
|
|
"createGrids" : [
|
|
("Fcst", "PoP", "SCALAR", 0, 12, 40, "all"),
|
|
("Fcst", "Wx", "WEATHER", 0, 12, "Wide:SW:-:<NoVis>:", "all"),
|
|
("Fcst", "Wx", "WEATHER", 12, 24, "NoWx", "all"),
|
|
("Fcst", "QPF", "SCALAR", 0, 12, 1.5, "all"),
|
|
],
|
|
},
|
|
{
|
|
"name":"FWFTable_CleanUp",
|
|
"commentary": "Clean out grids",
|
|
"productType": None,
|
|
"deleteGrids": [
|
|
("Fcst", "PoP", "SFC", 0,280),
|
|
("Fcst", "MaxT", "SFC", -24,280),
|
|
("Fcst", "MinT", "SFC", 0,280),
|
|
("Fcst", "T", "SFC", 0,280),
|
|
("Fcst", "Td", "SFC", 0,280),
|
|
("Fcst", "WindChill", "SFC", 0,280),
|
|
("Fcst", "HeatIndex", "SFC", 0,280),
|
|
("Fcst", "Wind", "SFC", 0,280),
|
|
("Fcst", "Sky", "SFC", 0,280),
|
|
("Fcst", "WindGust", "SFC", 0,280),
|
|
("Fcst", "Wx", "SFC", 0,280),
|
|
("Fcst", "QPF", "SFC", 0,280),
|
|
("Fcst", "SnowAmt", "SFC", 0,280),
|
|
("Fcst", "MaxRH", "SFC", 0,280),
|
|
("Fcst", "MinRH", "SFC", -24,280),
|
|
("Fcst", "TransWind", "SFC", 0,280),
|
|
("Fcst", "LAL", "SFC", 0,280),
|
|
("Fcst", "CWR", "SFC", 0,280),
|
|
("Fcst", "Haines", "SFC", 0,280),
|
|
("Fcst", "MixHgt", "SFC", 0,280),
|
|
("Fcst", "Wind20ft", "SFC", 0,280),
|
|
("Fcst", "VentRate", "SFC", 0,280),
|
|
("Fcst", "Stability", "SFC", 0,280),
|
|
("Fcst", "HrsOfSun", "SFC", 0,280),
|
|
("Fcst", "DSI", "SFC", 0,280),
|
|
("Fcst", "RHtrend", "SFC", 0,280),
|
|
("Fcst", "Ttrend", "SFC", 0,280),
|
|
]
|
|
},
|
|
|
|
]
|
|
|
|
import TestScript
|
|
def testScript(self, dataMgr):
|
|
gridsStartTime = self.getAbsFromLocal(2010, 1, 1, 6, 0)
|
|
drtTime = self.getAbsFromLocal(2010, 1, 1, 6, 0)
|
|
defaults = {
|
|
"cmdLineVars" :"{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None}",
|
|
"gridsStartTime": gridsStartTime,
|
|
"orderStrings": 1,
|
|
"drtTime": drtTime,
|
|
}
|
|
return TestScript.generalTestScript(self, dataMgr, scripts, defaults)
|
|
|