##
# 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.
#
# AFM tests
#
# Author: cheatwood/mathewson
# ----------------------------------------------------------------------------

import TestScript

Day=24   #day in hours

#common data sets for testing
AFM1_createGrids = [
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin", "MaxTEnd", 70, "all"),
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin + 24", "MaxTEnd + 24", 50, "all"),
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin + 48", "MaxTEnd + 48", 70, "all"),
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin + 72", "MaxTEnd + 72", 71, "all"),
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin + 96", "MaxTEnd + 96", 75, "all"),
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin + 120", "MaxTEnd + 120", 83, "all"),
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin + 144", "MaxTEnd + 144", 90, "all"),
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin + 168", "MaxTEnd + 168", 93, "all"),

       ("Fcst", "MinT", "SCALAR", "MinTBegin", "MinTEnd", 43, "all"),
       ("Fcst", "MinT", "SCALAR", "MinTBegin + 24", "MinTEnd + 24", 33, "all"),
       ("Fcst", "MinT", "SCALAR", "MinTBegin + 48", "MinTEnd + 48", 50, "all"),
       ("Fcst", "MinT", "SCALAR", "MinTBegin + 72", "MinTEnd + 72", 65, "all"),
       ("Fcst", "MinT", "SCALAR", "MinTBegin + 96", "MinTEnd + 96", 68, "all"),
       ("Fcst", "MinT", "SCALAR", "MinTBegin + 120", "MinTEnd + 120", 78, "all"),
       ("Fcst", "MinT", "SCALAR", "MinTBegin + 144", "MinTEnd + 144", 83, "all"),
       ("Fcst", "MinT", "SCALAR", "MinTBegin + 168", "MinTEnd + 168", 90, "all"),
       ("Fcst", "T", "SCALAR", 6, 9, 70, "all"),
       ("Fcst", "T", "SCALAR", 9, 12, 65, "all"),
       ("Fcst", "T", "SCALAR", 12, 15, 60, "all"),
       ("Fcst", "T", "SCALAR", 15, 18, 55, "all"),
       ("Fcst", "T", "SCALAR", 18, 21, 50, "all"),
       ("Fcst", "T", "SCALAR", 21, Day, 50, "all"),
       ("Fcst", "T", "SCALAR", Day, Day+3, 48, "all"),
       ("Fcst", "T", "SCALAR", Day+3, Day+6, 43, "all"),
       ("Fcst", "T", "SCALAR", Day+6, Day+9, 40, "all"),
       ("Fcst", "T", "SCALAR", Day+9, Day+12, 41, "all"),
       ("Fcst", "T", "SCALAR", Day+12, Day+15, 40, "all"),
       ("Fcst", "T", "SCALAR", Day+15, Day+18, Day+9, "all"),
       ("Fcst", "T", "SCALAR", Day+18, Day+21, 35, "all"),
       ("Fcst", "T", "SCALAR", Day+21, (2*Day), 40, "all"),
       ("Fcst", "T", "SCALAR", (2*Day), (2*Day)+3, 45, "all"),
       ("Fcst", "T", "SCALAR", (2*Day)+3, (2*Day)+6, 50, "all"),
       ("Fcst", "T", "SCALAR", (2*Day)+6, (2*Day)+9, 50, "all"),
       ("Fcst", "T", "SCALAR", (2*Day)+9, (2*Day)+12, 55, "all"),
       ("Fcst", "T", "SCALAR", (2*Day)+12, (2*Day)+15, 65, "all"),
       ("Fcst", "T", "SCALAR", (2*Day)+15, (2*Day)+18, 70, "all"),
       ("Fcst", "T", "SCALAR", (2*Day)+18, (3*Day), 68, "all"),
       ("Fcst", "T", "SCALAR", (3*Day), (3*Day)+6, 69, "all"),
       ("Fcst", "T", "SCALAR", (3*Day)+6, (3*Day)+12, 69, "all"),
       ("Fcst", "T", "SCALAR", (3*Day)+12, (3*Day)+18, 70, "all"),
       ("Fcst", "T", "SCALAR", (3*Day)+18, (4*Day), 71, "all"),
       ("Fcst", "T", "SCALAR", (4*Day), (4*Day)+6, 65, "all"),
       ("Fcst", "T", "SCALAR", (4*Day)+6, (4*Day)+12, 68, "all"),
       ("Fcst", "T", "SCALAR", (4*Day)+12, (4*Day)+18, 70, "all"),
       ("Fcst", "T", "SCALAR", (4*Day)+18, (5*Day), 73, "all"),
       ("Fcst", "T", "SCALAR", (5*Day), (5*Day)+6, 75, "all"),
       ("Fcst", "T", "SCALAR", (5*Day)+6, (5*Day)+12, 78, "all"),
       ("Fcst", "T", "SCALAR", (5*Day)+12, (5*Day)+18, 80, "all"),
       ("Fcst", "T", "SCALAR", (5*Day)+18, (6*Day), 81, "all"),
       ("Fcst", "T", "SCALAR", (6*Day), (6*Day)+6, 83, "all"),
       ("Fcst", "T", "SCALAR", (6*Day)+6, (6*Day)+12, 83, "all"),
       ("Fcst", "T", "SCALAR", (6*Day)+12, (6*Day)+18, 85, "all"),
       ("Fcst", "T", "SCALAR", (6*Day)+18, (7*Day), 86, "all"),
       ("Fcst", "T", "SCALAR", (7*Day), (7*Day)+6, 90, "all"),
       ("Fcst", "T", "SCALAR", (7*Day)+6, (7*Day)+12, 93, "all"),
       ("Fcst", "T", "SCALAR", (7*Day)+12, (7*Day)+18, 91, "all"),
       ("Fcst", "T", "SCALAR", (7*Day)+18, (8*Day), 90, "all"),

       ("Fcst", "Td", "SCALAR", 6, 9, Day+6, "all"),  
       ("Fcst", "Td", "SCALAR", 9, 12, 40, "all"),  
       ("Fcst", "Td", "SCALAR", 12, 15, 45, "all"),  
       ("Fcst", "Td", "SCALAR", 15, 18, 50, "all"),  
       ("Fcst", "Td", "SCALAR", 18, 21, 50, "all"),  
       ("Fcst", "Td", "SCALAR", 21, Day, 48, "all"),  
       ("Fcst", "Td", "SCALAR", Day, Day+3, 48, "all"),  
       ("Fcst", "Td", "SCALAR", Day+3, Day+6, 43, "all"),  
       ("Fcst", "Td", "SCALAR", Day+6, Day+9, Day+15, "all"),  
       ("Fcst", "Td", "SCALAR", Day+9, Day+12, 39, "all"),  
       ("Fcst", "Td", "SCALAR", Day+12, Day+15, 40, "all"),  
       ("Fcst", "Td", "SCALAR", Day+15, Day+18, 33, "all"),  
       ("Fcst", "Td", "SCALAR", Day+18, Day+21, 33, "all"),  
       ("Fcst", "Td", "SCALAR", Day+21, (2*Day), 35, "all"),  
       ("Fcst", "Td", "SCALAR", (2*Day), (2*Day)+3, 38, "all"),  
       ("Fcst", "Td", "SCALAR", (2*Day)+3, (2*Day)+6, 40, "all"),  
       ("Fcst", "Td", "SCALAR", (2*Day)+6, (2*Day)+9, 45, "all"),  
       ("Fcst", "Td", "SCALAR", (2*Day)+9, (2*Day)+12, 47, "all"),  
       ("Fcst", "Td", "SCALAR", (2*Day)+12, (2*Day)+15, 43, "all"),  
       ("Fcst", "Td", "SCALAR", (2*Day)+15, (2*Day)+18, 40, "all"),  
       ("Fcst", "Td", "SCALAR", (2*Day)+18, (3*Day), 55, "all"),  
       ("Fcst", "Td", "SCALAR", (3*Day), (3*Day)+6, 56, "all"),  
       ("Fcst", "Td", "SCALAR", (3*Day)+6, (3*Day)+12, 60, "all"),  
       ("Fcst", "Td", "SCALAR", (3*Day)+12, (3*Day)+18, 61, "all"),  
       ("Fcst", "Td", "SCALAR", (3*Day)+18, (4*Day), 65, "all"),  
       ("Fcst", "Td", "SCALAR", (4*Day), (4*Day)+6, 65, "all"),  
       ("Fcst", "Td", "SCALAR", (4*Day)+6, (4*Day)+12, 65, "all"),  
       ("Fcst", "Td", "SCALAR", (4*Day)+12, (4*Day)+18, 65, "all"),  
       ("Fcst", "Td", "SCALAR", (4*Day)+18, (5*Day), 65, "all"),  
       ("Fcst", "Td", "SCALAR", (5*Day), (5*Day)+6, 60, "all"),  
       ("Fcst", "Td", "SCALAR", (5*Day)+6, (5*Day)+12, 55, "all"),  
       ("Fcst", "Td", "SCALAR", (5*Day)+12, (5*Day)+18, 50, "all"),  
       ("Fcst", "Td", "SCALAR", (5*Day)+18, (6*Day), 45, "all"),  
       ("Fcst", "Td", "SCALAR", (6*Day), (6*Day)+6, 43, "all"),  
       ("Fcst", "Td", "SCALAR", (6*Day)+6, (6*Day)+12, 40, "all"),  
       ("Fcst", "Td", "SCALAR", (6*Day)+12, (6*Day)+18, 40, "all"),  
       ("Fcst", "Td", "SCALAR", (6*Day)+18, (7*Day), 39, "all"),  
       ("Fcst", "Td", "SCALAR", (7*Day), (7*Day)+6, 30, "all"),  
       ("Fcst", "Td", "SCALAR", (7*Day)+6, (7*Day)+12, 30, "all"),  
       ("Fcst", "Td", "SCALAR", (7*Day)+12, (7*Day)+18, 40, "all"),  
       ("Fcst", "Td", "SCALAR", (7*Day)+18, (8*Day), 35, "all"),  

       ("Fcst", "Sky", "SCALAR", 6, 9, 0, "all"),
       ("Fcst", "Sky", "SCALAR", 9, 12, 5, "all"),
       ("Fcst", "Sky", "SCALAR", 12, 15, 6, "all"),
       ("Fcst", "Sky", "SCALAR", 15, 18, 25, "all"),
       ("Fcst", "Sky", "SCALAR", 18, 21, 26, "all"),
       ("Fcst", "Sky", "SCALAR", 21, Day, 50, "all"),
       ("Fcst", "Sky", "SCALAR", Day, Day+3, 51, "all"),
       ("Fcst", "Sky", "SCALAR", Day+3, Day+6, 69, "all"),
       ("Fcst", "Sky", "SCALAR", Day+6, Day+9, 70, "all"),
       ("Fcst", "Sky", "SCALAR", Day+9, Day+12, 87, "all"),
       ("Fcst", "Sky", "SCALAR", Day+12, Day+15, 88, "all"),
       ("Fcst", "Sky", "SCALAR", Day+15, Day+18, 100, "all"),
       ("Fcst", "Sky", "SCALAR", Day+18, Day+21, 3, "all"),
       ("Fcst", "Sky", "SCALAR", Day+21, (2*Day), 10, "all"),
       ("Fcst", "Sky", "SCALAR", (2*Day), (2*Day)+3, 20, "all"),
       ("Fcst", "Sky", "SCALAR", (2*Day)+3, (2*Day)+6, 30, "all"),
       ("Fcst", "Sky", "SCALAR", (2*Day)+6, (2*Day)+9, 40, "all"),
       ("Fcst", "Sky", "SCALAR", (2*Day)+9, (2*Day)+12, 50, "all"),
       ("Fcst", "Sky", "SCALAR", (2*Day)+12, (2*Day)+15, 60, "all"),
       ("Fcst", "Sky", "SCALAR", (2*Day)+15, (2*Day)+18, 70, "all"),
       ("Fcst", "Sky", "SCALAR", (2*Day)+18, (3*Day), 80, "all"),
       ("Fcst", "Sky", "SCALAR", (3*Day), (3*Day)+6, 90, "all"),
       ("Fcst", "Sky", "SCALAR", (3*Day)+6, (3*Day)+12, 100, "all"),
       ("Fcst", "Sky", "SCALAR", (3*Day)+12, (3*Day)+18, 5, "all"),
       ("Fcst", "Sky", "SCALAR", (3*Day)+18, (4*Day), 15, "all"),
       ("Fcst", "Sky", "SCALAR", (4*Day), (4*Day)+6, 25, "all"),
       ("Fcst", "Sky", "SCALAR", (4*Day)+6, (4*Day)+12, 35, "all"),
       ("Fcst", "Sky", "SCALAR", (4*Day)+12, (4*Day)+18, 45, "all"),
       ("Fcst", "Sky", "SCALAR", (4*Day)+18, (5*Day), 55, "all"),
       ("Fcst", "Sky", "SCALAR", (5*Day), (5*Day)+6, 65, "all"),
       ("Fcst", "Sky", "SCALAR", (5*Day)+6, (5*Day)+12, 75, "all"),
       ("Fcst", "Sky", "SCALAR", (5*Day)+12, (5*Day)+18, 85, "all"),
       ("Fcst", "Sky", "SCALAR", (5*Day)+18, (6*Day), 95, "all"),
       ("Fcst", "Sky", "SCALAR", (6*Day), (6*Day)+6, 0, "all"),
       ("Fcst", "Sky", "SCALAR", (6*Day)+6, (6*Day)+12, 5, "all"),
       ("Fcst", "Sky", "SCALAR", (6*Day)+12, (6*Day)+18, 6, "all"),
       ("Fcst", "Sky", "SCALAR", (6*Day)+18, (7*Day), 25, "all"),
       ("Fcst", "Sky", "SCALAR", (7*Day), (7*Day)+6, 26, "all"),
#       ("Fcst", "Sky", "SCALAR", (7*Day)+6, (7*Day)+12, 10, "all"),  #missing data test
       ("Fcst", "Sky", "SCALAR", (7*Day)+12, (7*Day)+18, 51, "all"),
       ("Fcst", "Sky", "SCALAR", (7*Day)+18, (8*Day), 87, "all"),

       ("Fcst", "PoP", "SCALAR", 6, 9, 0, "all"),
       ("Fcst", "PoP", "SCALAR", 9, 12, 10, "all"),
       ("Fcst", "PoP", "SCALAR", 12, 15, 20, "all"),
       ("Fcst", "PoP", "SCALAR", 15, 18, 20, "all"),
       ("Fcst", "PoP", "SCALAR", 18, 21, 25, "all"),
       ("Fcst", "PoP", "SCALAR", 21, Day, 20, "all"),
       ("Fcst", "PoP", "SCALAR", Day, Day+3, 25, "all"),
       ("Fcst", "PoP", "SCALAR", Day+3, Day+6, 50, "all"),
       ("Fcst", "PoP", "SCALAR", Day+6, Day+9, 60, "all"),
       ("Fcst", "PoP", "SCALAR", Day+9, Day+12, 70, "all"),
       ("Fcst", "PoP", "SCALAR", Day+12, Day+15, 100, "all"),
       ("Fcst", "PoP", "SCALAR", Day+15, Day+18, 100, "all"),
       ("Fcst", "PoP", "SCALAR", Day+18, Day+21, 95, "all"),
       ("Fcst", "PoP", "SCALAR", Day+21, (2*Day), 65, "all"),
       ("Fcst", "PoP", "SCALAR", (2*Day), (2*Day)+3, 60, "all"),
       ("Fcst", "PoP", "SCALAR", (2*Day)+3, (2*Day)+6, 50, "all"),
       ("Fcst", "PoP", "SCALAR", (2*Day)+6, (2*Day)+9, 55, "all"),
       ("Fcst", "PoP", "SCALAR", (2*Day)+9, (2*Day)+12, 40, "all"),
       ("Fcst", "PoP", "SCALAR", (2*Day)+12, (2*Day)+15, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (2*Day)+15, (2*Day)+18, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (2*Day)+18, (3*Day), 10, "all"),
       ("Fcst", "PoP", "SCALAR", (3*Day), (3*Day)+6, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (3*Day)+6, (3*Day)+12, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (3*Day)+12, (3*Day)+18, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (3*Day)+18, (4*Day), 30, "all"),
       ("Fcst", "PoP", "SCALAR", (4*Day), (4*Day)+6, 50, "all"),
       ("Fcst", "PoP", "SCALAR", (4*Day)+6, (4*Day)+12, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (4*Day)+12, (4*Day)+18, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (4*Day)+18, (5*Day), 10, "all"),
       ("Fcst", "PoP", "SCALAR", (5*Day), (5*Day)+6, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (5*Day)+6, (5*Day)+12, 15, "all"),
       ("Fcst", "PoP", "SCALAR", (5*Day)+12, (5*Day)+18, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (5*Day)+18, (6*Day), 10, "all"),
       ("Fcst", "PoP", "SCALAR", (6*Day), (6*Day)+6, 20, "all"),
       ("Fcst", "PoP", "SCALAR", (6*Day)+6, (6*Day)+12, 20, "all"),
       ("Fcst", "PoP", "SCALAR", (6*Day)+12, (6*Day)+18, 20, "all"),
       ("Fcst", "PoP", "SCALAR", (6*Day)+18, (7*Day), 10, "all"),
       ("Fcst", "PoP", "SCALAR", (7*Day), (7*Day)+6, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (7*Day)+6, (7*Day)+12, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (7*Day)+12, (7*Day)+18, 10, "all"),
       ("Fcst", "PoP", "SCALAR", (7*Day)+18, (8*Day), 10, "all"),

       ("Fcst", "Wx", "WEATHER", 6, 9, "Iso:T:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 9, 12,
        "Sct:T:<NoInten>:<NoVis>:^Num:T:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 12, 15,
        "Wide:T:<NoInten>:<NoVis>:^Ocnl:T:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 15, 18,
        "SChc:T:<NoInten>:<NoVis>:^Chc:T:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 18, 21,
        "Lkly:T:<NoInten>:<NoVis>:^Def:T:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 21, Day,
        "Frq:T:<NoInten>:<NoVis>:^Brf:T:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day, Day+3,
        "Pds:T:<NoInten>:<NoVis>:^Inter:T:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+3, Day+6, "Wide:R:-:3SM:^Ocnl:R:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+6, Day+9, "SChc:R:--:0SM:^Chc:R:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+9, Day+12, "Lkly:R:m:1/2SM:^Def:R:m:4SM:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+12, Day+15, "Frq:R:+:<NoVis>:^Brf:R:+:5SM:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+15, Day+18, "Pds:R:m:<NoVis>:^Inter:R:m:2SM:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+18, Day+21, "Iso:RW:+:<NoVis>:^Sct:RW:+:3/4SM:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+21, (2*Day), "Num:RW:m:<NoVis>:^Wide:RW:-:1/2SM:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day), (2*Day)+3, "Ocnl:RW:-:<NoVis>:^SChc:RW:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+3, (2*Day)+6, "Chc:RW:--:<NoVis>:^Lkly:RW:--:1SM:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+6, (2*Day)+9, "Def:RW:--:<NoVis>:^Frq:RW:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+9, (2*Day)+12, "Brf:RW:-:4SM:^Pds:RW:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+12, (2*Day)+15, "Inter:RW:--:<NoVis>:^Wide:L:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+15, (2*Day)+18, "Ocnl:L:--:<NoVis>:^SChc:L:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+18, (3*Day), "Chc:L:-:3SM:^Lkly:L:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (3*Day), (3*Day)+6, "Def:L:--:<NoVis>:^Areas:L:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (3*Day)+6, (3*Day)+12, "Patchy:L:--:<NoVis>:^Frq:L:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (3*Day)+12, (3*Day)+18, "Brf:L:--:<NoVis>:^Pds:L:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (3*Day)+18, (4*Day), "Inter:L:-:<NoVis>:^Wide:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (4*Day), (4*Day)+6, "Ocnl:ZL:-:<NoVis>:^SChc:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (4*Day)+6, (4*Day)+12, "Chc:ZL:--:<NoVis>:^Lkly:ZL:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (4*Day)+12, (4*Day)+18, "Def:ZL:--:<NoVis>:^Areas:ZL:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (4*Day)+18, (5*Day), "Patchy:ZL:--:<NoVis>:^Frq:ZL:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (5*Day), (5*Day)+6, "Brf:ZL:--:<NoVis>:^Pds:ZL:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (5*Day)+6, (5*Day)+12, "Inter:ZL:--:<NoVis>:^Wide:ZR:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (5*Day)+12, (5*Day)+18, "Ocnl:ZR:--:<NoVis>:^SChc:ZR:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (5*Day)+18, (6*Day), "Chc:ZR:--:<NoVis>:^Lkly:ZR:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (6*Day), (6*Day)+6, "Def:ZR:--:<NoVis>:^Frq:ZR:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (6*Day)+6, (6*Day)+12, "Brf:ZR:--:<NoVis>:^Pds:ZR:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (6*Day)+12, (6*Day)+18, "Inter:ZR:--:<NoVis>:^Wide:S:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (6*Day)+18, (7*Day), "Ocnl:S:--:<NoVis>:^SChc:S:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (7*Day), (7*Day)+6, "Chc:S:--:<NoVis>:^Lkly:S:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (7*Day)+6, (7*Day)+12, "Def:S:--:<NoVis>:^Frq:S:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (7*Day)+12, (7*Day)+18, "Brf:S:--:<NoVis>:^Pds:S:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (7*Day)+18, (8*Day), "Inter:S:--:<NoVis>:^Iso:SW:--:<NoVis>:", "all"),


       ("Fcst", "Wind", "VECTOR", 6, 9, (10, "SW"), "all"),
       ("Fcst", "Wind", "VECTOR", 9, 12, (15, "S"), "all"),
       ("Fcst", "Wind", "VECTOR", 12, 15, (15, "SE"), "all"),
       ("Fcst", "Wind", "VECTOR", 15, 18, (25, "E"), "all"),
       ("Fcst", "Wind", "VECTOR", 18, 21, (30, "NE"), "all"),
       ("Fcst", "Wind", "VECTOR", 21, Day, (25, "N"), "all"),
       ("Fcst", "Wind", "VECTOR", Day, Day+3, (22, "NW"), "all"),
       ("Fcst", "Wind", "VECTOR", Day+3, Day+6, (15, "W"), "all"),
       ("Fcst", "Wind", "VECTOR", Day+6, Day+9, (10, "SW"), "all"),
       ("Fcst", "Wind", "VECTOR", Day+9, Day+12, (10, "S"), "all"),
       ("Fcst", "Wind", "VECTOR", Day+12, Day+15, (5, "SE"), "all"),
       ("Fcst", "Wind", "VECTOR", Day+15, Day+18, (5, "E"), "all"),
       ("Fcst", "Wind", "VECTOR", Day+18, Day+21, (2.5, "E"), "all"),
       ("Fcst", "Wind", "VECTOR", Day+21, (2*Day), (2, "NE"), "all"),
       ("Fcst", "Wind", "VECTOR", (2*Day), (2*Day)+3, (5, "N"), "all"),
       ("Fcst", "Wind", "VECTOR", (2*Day)+3, (2*Day)+6, (7, "NW"), "all"),
       ("Fcst", "Wind", "VECTOR", (2*Day)+6, (2*Day)+9, (10, "W"), "all"),
       ("Fcst", "Wind", "VECTOR", (2*Day)+9, (2*Day)+12, (12, "E"), "all"),
       ("Fcst", "Wind", "VECTOR", (2*Day)+12, (2*Day)+15, (15, "S"), "all"),
       ("Fcst", "Wind", "VECTOR", (2*Day)+15, (2*Day)+18, (15, "N"), "all"),
       ("Fcst", "Wind", "VECTOR", (2*Day)+18, (3*Day)+6, (3, "W"), "all"),
       ("Fcst", "Wind", "VECTOR", (3*Day)+6, (3*Day)+18, (6, "SW"), "all"),
       ("Fcst", "Wind", "VECTOR", (3*Day)+18, (4*Day)+6, (12, "W"), "all"),
       ("Fcst", "Wind", "VECTOR", (4*Day)+6, (4*Day)+18, (14, "NW"), "all"),
       ("Fcst", "Wind", "VECTOR", (4*Day)+18, (5*Day)+6, (20, "N"), "all"),
       ("Fcst", "Wind", "VECTOR", (5*Day)+6, (5*Day)+18, (21, "NE"), "all"),
       ("Fcst", "Wind", "VECTOR", (5*Day)+18, (6*Day)+6, (26, "E"), "all"),
       ("Fcst", "Wind", "VECTOR", (6*Day)+6, (6*Day)+18, (28, "SE"), "all"),
       ("Fcst", "Wind", "VECTOR", (6*Day)+18, (7*Day)+6, (34, "S"), "all"),
       ("Fcst", "Wind", "VECTOR", (7*Day)+6, (7*Day)+18, (35, "SW"), "all"),
       ("Fcst", "Wind", "VECTOR", (7*Day)+18, (8*Day)+6, (65, "W"), "all"),

       ("Fcst", "QPF", "SCALAR", 6, 9, .01, "all"),
       ("Fcst", "QPF", "SCALAR", 9, 12, .01, "all"),
       ("Fcst", "QPF", "SCALAR", 12, 15, .01, "all"),
       ("Fcst", "QPF", "SCALAR", 15, 18, .1, "all"),
       ("Fcst", "QPF", "SCALAR", 18, 21, .2, "all"),
       ("Fcst", "QPF", "SCALAR", 21, Day, .25, "all"),
       ("Fcst", "QPF", "SCALAR", Day, Day+3, 1, "all"),
       ("Fcst", "QPF", "SCALAR", Day+3, Day+6, 3, "all"),
       ("Fcst", "QPF", "SCALAR", Day+6, Day+9, 2.5, "all"),
       ("Fcst", "QPF", "SCALAR", Day+9, Day+12, 4, "all"),
       ("Fcst", "QPF", "SCALAR", Day+12, Day+15, 5, "all"),
       ("Fcst", "QPF", "SCALAR", Day+15, Day+18, 5, "all"),
       ("Fcst", "QPF", "SCALAR", Day+18, Day+21, 5, "all"),
       ("Fcst", "QPF", "SCALAR", Day+21, (2*Day), 5, "all"),
       ("Fcst", "QPF", "SCALAR", (2*Day), (2*Day)+3, 3, "all"),
       ("Fcst", "QPF", "SCALAR", (2*Day)+3, (2*Day)+6, 2, "all"),
       ("Fcst", "QPF", "SCALAR", (2*Day)+6, (2*Day)+9, 1, "all"),
       ("Fcst", "QPF", "SCALAR", (2*Day)+9, (2*Day)+12, .5, "all"),
       ("Fcst", "QPF", "SCALAR", (2*Day)+12, (2*Day)+15, .01, "all"),
       ("Fcst", "QPF", "SCALAR", (2*Day)+15, (2*Day)+18, .01, "all"),
       ("Fcst", "QPF", "SCALAR", (2*Day)+18, (3*Day), .01, "all"),
       ("Fcst", "QPF", "SCALAR", (3*Day), (3*Day)+6, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (3*Day)+6, (3*Day)+12, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (3*Day)+12, (3*Day)+18, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (3*Day)+18, (4*Day), .01, "all"),
       ("Fcst", "QPF", "SCALAR", (4*Day), (4*Day)+6, .01, "all"),
       ("Fcst", "QPF", "SCALAR", (4*Day)+6, (4*Day)+12, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (4*Day)+12, (4*Day)+18, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (4*Day)+18, (5*Day), 0, "all"),
       ("Fcst", "QPF", "SCALAR", (5*Day), (5*Day)+6, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (5*Day)+6, (5*Day)+12, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (5*Day)+12, (5*Day)+18, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (5*Day)+18, (6*Day), 0, "all"),
       ("Fcst", "QPF", "SCALAR", (6*Day), (6*Day)+6, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (6*Day)+6, (6*Day)+12, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (6*Day)+12, (6*Day)+18, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (6*Day)+18, (7*Day), 0, "all"),
       ("Fcst", "QPF", "SCALAR", (7*Day), (7*Day)+6, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (7*Day)+6, (7*Day)+12, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (7*Day)+12, (7*Day)+18, 0, "all"),
       ("Fcst", "QPF", "SCALAR", (7*Day)+18, (8*Day), 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 6, 9, 1, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 9, 12, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 12, 15, 2, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 15, 18, 1, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 18, 21, 1.5, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 21, Day, 1.2, "all"),
       ("Fcst", "SnowAmt", "SCALAR", Day, Day+3, 1, "all"),
       ("Fcst", "SnowAmt", "SCALAR", Day+3, Day+6, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", Day+6, Day+9, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", Day+9, Day+12, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", Day+12, Day+15, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", Day+15, Day+18, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", Day+18, Day+21, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", Day+21, (2*Day), 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (2*Day), (2*Day)+3, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (2*Day)+3, (2*Day)+6, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (2*Day)+6, (2*Day)+9, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (2*Day)+9, (2*Day)+12, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (2*Day)+12, (2*Day)+15, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (2*Day)+15, (2*Day)+18, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (2*Day)+18, (3*Day), 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (3*Day), (3*Day)+6, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (3*Day)+6, (3*Day)+12, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (3*Day)+12, (3*Day)+18, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (3*Day)+18, (4*Day), 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (4*Day), (4*Day)+6, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (4*Day)+6, (4*Day)+12, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (4*Day)+12, (4*Day)+18, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (4*Day)+18, (5*Day), 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (5*Day), (5*Day)+6, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (5*Day)+6, (5*Day)+12, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (5*Day)+12, (5*Day)+18, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (5*Day)+18, (6*Day), 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (6*Day), (6*Day)+6, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (6*Day)+6, (6*Day)+12, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (6*Day)+12, (6*Day)+18, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (6*Day)+18, (7*Day), 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (7*Day), (7*Day)+6, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (7*Day)+6, (7*Day)+12, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (7*Day)+12, (7*Day)+18, 0, "all"),
       ("Fcst", "SnowAmt", "SCALAR", (7*Day)+18, (8*Day), 0, "all"),
       ]

AFM_createGrids2 = [
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin", "MaxTEnd", 70, "all"),
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin + 24", "MaxTEnd + 24", 50, "all"),
       ("Fcst", "MinT", "SCALAR", "MinTBegin", "MinTEnd", 43, "all"),
       ("Fcst", "MinT", "SCALAR", "MinTBegin + 24", "MinTEnd + 24", 33, "all"),
       ("Fcst", "T", "SCALAR", 12, 13, 70, "all"),
       ("Fcst", "T", "SCALAR", 13, 14, 80, "all"),
       ("Fcst", "T", "SCALAR", 14, 15, 30, "all"),
       ("Fcst", "T", "SCALAR", 15, 16, 40, "all"),
       ("Fcst", "T", "SCALAR", 16, 17, 50, "all"),
       ("Fcst", "Td", "SCALAR", 12, 13, 20, "all"),
       ("Fcst", "Td", "SCALAR", 13, 14, 30, "all"),
       ("Fcst", "Td", "SCALAR", 14, 15, 10, "all"),
       ("Fcst", "Td", "SCALAR", 15, 16, 20, "all"),
       ("Fcst", "Td", "SCALAR", 16, 17, 45, "all"),
       ("Fcst", "Wind", "VECTOR", 12, 13, (10, "SW"), "all"),
       ("Fcst", "Wind", "VECTOR", 13, 14, (20, "W"), "all"),
       ("Fcst", "Wind", "VECTOR", 14, 15, (30, "NW"), "all"),
       ("Fcst", "Wind", "VECTOR", 15, 16, (40, "N"), "all"),
       ("Fcst", "Wind", "VECTOR", 16, 17, (50, "NE"), "all"),
       ("Fcst", "Sky", "SCALAR", 12, 13, 4, "all"),
       ("Fcst", "Sky", "SCALAR", 13, 14, 15, "all"),
       ("Fcst", "Sky", "SCALAR", 14, 15, 35, "all"),
       ("Fcst", "Sky", "SCALAR", 15, 16, 65, "all"),
       ("Fcst", "Sky", "SCALAR", 16, 17, 85, "all"),
       ("Fcst", "Wx", "WEATHER", 12, 13, "Iso:T:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 13, 14, "Wide:R:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 14, 15, "Wide:S:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 15, 16, "Wide:RW:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 16, 17, "Wide:SW:-:<NoVis>:", "all"),
       ("Fcst", "SnowAmt", "SCALAR", 12, 13, 1, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 13, 14, 2, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 14, 15, 3, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 15, 16, 4, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 16, 17, 5, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 17, 18, 6, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 18, 19, 7, "all"),
       ("Fcst", "QPF", "SCALAR", 12, 13, 0.1, "all"),
       ("Fcst", "QPF", "SCALAR", 13, 14, 0.2, "all"),
       ("Fcst", "QPF", "SCALAR", 14, 15, 0.3, "all"),
       ("Fcst", "QPF", "SCALAR", 15, 16, 0.4, "all"),
       ("Fcst", "QPF", "SCALAR", 16, 17, 0.5, "all"),
       ("Fcst", "QPF", "SCALAR", 17, 18, 0.6, "all"),
       ("Fcst", "QPF", "SCALAR", 18, 19, 0.7, "all"),
       ("Fcst", "PoP", "SCALAR", 12, 13, 20, "all"),
       ("Fcst", "PoP", "SCALAR", 13, 14, 30, "all"),
       ("Fcst", "PoP", "SCALAR", 14, 15, 40, "all"),
       ("Fcst", "PoP", "SCALAR", 15, 16, 50, "all"),
       ("Fcst", "PoP", "SCALAR", 16, 17, 60, "all"),
       ("Fcst", "PoP", "SCALAR", 17, 18, 70, "all"),
       ("Fcst", "PoP", "SCALAR", 18, 19, 80, "all"),
          ]

AFM_deleteGrids = [
        ("Fcst", "PoP", "SFC", -100,280),
        ("Fcst", "MaxT", "SFC", -100,280),
        ("Fcst", "MinT", "SFC", -100,280),
        ("Fcst", "T", "SFC", -100,280),
        ("Fcst", "Td", "SFC", -100,280),
        ("Fcst", "WindChill", "SFC", -100,280),
        ("Fcst", "HeatIndex", "SFC", -100,280),
        ("Fcst", "StormTotalSnow", "SFC", -100,280),
        ("Fcst", "SnowLevel", "SFC", -100,280),
        ("Fcst", "FzLevel", "SFC", -100,280),
        ("Fcst", "RH", "SFC", -100,280),
        ("Fcst", "Wind", "SFC", -100,280),
        ("Fcst", "Sky", "SFC", -100,280),
        ("Fcst", "WindGust", "SFC", -100,280),
        ("Fcst", "Wx", "SFC", -100,280),
        ("Fcst", "QPF", "SFC", -100,280),
        ("Fcst", "SnowAmt", "SFC", -100,280),
        ("Fcst", "Hazards", "SFC", -100,280),
        ]

AFM_shortenGrids = [
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin", "MaxTEnd", 70, "all"),
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin+24", "MaxTEnd+24", 70, "all"),
       ("Fcst", "MinT", "SCALAR", "MinTBegin", "MinTEnd", 43, "all"),
       ("Fcst", "MinT", "SCALAR", "MinTBegin+24", "MinTEnd+24", 43, "all"),
       ("Fcst", "T", "SCALAR", 6, 24, 35, "all"),
       ("Fcst", "QPF", "SCALAR", 6, 9, .10, "all"),
       ("Fcst", "QPF", "SCALAR", 9, 12, .20, "all"),
       ("Fcst", "QPF", "SCALAR", 12, 15, .30, "all"),
       ("Fcst", "QPF", "SCALAR", 15, 18, .40, "all"),
       ("Fcst", "QPF", "SCALAR", 18, 21, .10, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 6, 9, 1, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 9, 12, 2, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 12, 15, 3, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 15, 18, 4, "all"),
       ("Fcst", "SnowAmt", "SCALAR", 18, 21, 5, "all"),
       ("Fcst", "PoP", "SCALAR", 6, 9, 100, "all"),
       ("Fcst", "PoP", "SCALAR", 9, 12, 80, "all"),
       ("Fcst", "PoP", "SCALAR", 12, 15, 60, "all"),
       ("Fcst", "PoP", "SCALAR", 15, 18, 40, "all"),
       ("Fcst", "PoP", "SCALAR", 18, 21, 20, "all"),
       ("Fcst", "HeatIndex", "SCALAR", 6, 9, 110, "all"),
       ("Fcst", "HeatIndex", "SCALAR", 9, 12, 105, "all"),
       ("Fcst", "HeatIndex", "SCALAR", 12, 15, 100, "all"),
       ("Fcst", "HeatIndex", "SCALAR", 15, 18, 95, "all"),
       ("Fcst", "HeatIndex", "SCALAR", 18, 21, 90, "all"),
       ("Fcst", "WindChill", "SCALAR", 6, 9, -40, "all"),
       ("Fcst", "WindChill", "SCALAR", 9, 12, -35, "all"),
       ("Fcst", "WindChill", "SCALAR", 12, 15, -30, "all"),
       ("Fcst", "WindChill", "SCALAR", 15, 18, -25, "all"),
       ("Fcst", "WindChill", "SCALAR", 18, 21, -20, "all"),
         ]

#time zone tests
tzdef = [
"AreaDictionary['FLZ050']['ugcTimeZone'] = 'EST5EDT'",
"AreaDictionary['FLZ051']['ugcTimeZone'] = 'America/Puerto_Rico'",
"AreaDictionary['FLZ052']['ugcTimeZone'] = 'EST5'",
"AreaDictionary['FLZ055']['ugcTimeZone'] = 'CST6CDT'"
]



scripts = [
    {    
    "name":"AFM1a", 
    "productType":"AFM",
    "commentary": "AFM morning issuance",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050"],"")],
    "checkStrings": [
         "AREA FORECAST MATRICES",
         "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
         "400 AM EST FRI JAN 1 2010",
         "FLZ050-012100-",
         "PINELLAS-",
         "400 AM EST FRI JAN 1 2010",
         "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
         "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
         "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
         "MAX/MIN                      70          43          50          33          70",
         "TEMP          MM 70 65 60 55 50 50 48 43 40 41 40 33 35 40 45 50 50 55 65 70 68",
         "DEWPT         MM 30 40 45 50 50 48 48 43 39 39 40 33 33 35 38 40 45 47 43 40 55",
         "RH            MM 22 40 58 83100 93100100 96 92100100 92 82 76 68 83 74 45 33 63",
         "WIND DIR      MM SW  S SE  E NE  N NW  W SW  S SE  E  E NE  N NW  W  E  S  N  W",
         "WIND SPD      MM 11 17 17 28 34 28 25 17 11 11  5  5  3  2  5  8 11 13 17 17  3",
         "CLOUDS        MM CL CL FW FW SC SC B1 B1 B2 B2 OV OV CL FW FW SC SC SC B1 B2 B2",
         "POP 12HR                     30          60         100         100          60",
         "QPF 12HR                   0.19        5.22       17.33       13.67        1.19",
         "SNOW 12HR                     4           3       00-00",
         "DRIZZLE                                                                WD  O  L",
         "RAIN                                   O  C  D  O  O",
         "RAIN SHWRS                                           SC EC  O     O  O",
         "SPRINKLES                                                   S  L  D  O  O",
         "TSTMS            IS NM  O  C  D  O  O",
         "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
         "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
         "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
         "MIN/MAX          50    71      65    75      68    83      78    90",
         "TEMP          69 69 70 71   65 68 70 73   75 78 80 81   83 83 85 86",
         "DEWPT         56 60 61 65   65 65 65 65   60 55 50 45   43 40 40 39",
         "PWIND DIR         W    SW       W    NW       N    NE       E    SE",
         "WIND CHAR        LT    LT      GN    BZ      WY    WY      WY    VW",
         "AVG CLOUDS    B2 OV OV CL   FW FW SC SC   B1 B1 B2 B2   OV CL CL FW",
         "POP 12HR         10    30      50    10      20    20      20    20",
         "DRIZZLE        L  D  O  O    O",
         "FRZG DRZL                   WD  O  L  D    O  O  O",
         "FRZG RAIN                                       WD  O    L  O  O  O",
         "SNOW                                                              O",
         "$$"

                     ],
    "createGrids": AFM1_createGrids,
    },

    {    
    "name":"AFM1b", 
    "productType":"AFM",
    "commentary": "AFM afternoon issuance",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050"],"")],
    "checkStrings": [
       "AREA FORECAST MATRICES",
       "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
       "400 AM EST FRI JAN 1 2010",
       "FLZ050-020900-",
       "PINELLAS-",
       "400 AM EST FRI JAN 1 2010",
       "DATE           01/01/10      SAT 01/02/10            SUN 01/03/10            MON",
       "EST 3HRLY     16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07",
       "UTC 3HRLY     21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12",
       "MIN/MAX                      43          50          33          70          50",
       "TEMP          55 50 50 48 43 40 41 40 33 35 40 45 50 50 55 65 70 68 68 69 69 69",
       "DEWPT         50 50 48 48 43 39 39 40 33 33 35 38 40 45 47 43 40 55 55 56 56 60",
       "RH            83100 93100100 96 92100100 92 82 76 68 83 74 45 33 63 63 63 63 73",
       "WIND DIR       E NE  N NW  W SW  S SE  E  E NE  N NW  W  E  S  N  W  W  W  W SW",
       "WIND SPD      28 34 28 25 17 11 11  5  5  3  2  5  8 11 13 17 17  3  3  3  3  6",
       "CLOUDS        FW SC SC B1 B1 B2 B2 OV OV CL FW FW SC SC SC B1 B2 B2 B2 OV OV OV",
       "POP 12HR                     60         100         100          60          10",
       "QPF 12HR                   5.22       17.33       13.67        1.19        0.01",
       "SNOW 12HR                     3       00-00       00-00",
       "DRIZZLE                                                    WD  O  L  L  D  D  O",
       "RAIN                       O  C  D  O  O",
       "RAIN SHWRS                               SC EC  O     O  O",
       "SPRINKLES                                       S  L  D  O  O",
       "TSTMS          C  D  O  O",
       "DATE           01/04  TUE 01/05/10  WED 01/06/10  THU 01/07/10  FRI 01/08/10",
       "EST 6HRLY     13 19   01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
       "UTC 6HRLY     18 00   06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
       "MAX/MIN          71      65    75      68    83      78    90      83    93",
       "TEMP          70 71   65 68 70 73   75 78 80 81   83 83 85 86   90 93 91 90",
       "DEWPT         61 65   65 65 65 65   60 55 50 45   43 40 40 39   30 30 40 35",
       "PWIND DIR        SW       W    NW       N    NE       E    SE       S    SW",
       "WIND CHAR        LT      GN    BZ      WY    WY      WY    VW      VW    SD",
       "AVG CLOUDS    OV CL   FW FW SC SC   B1 B1 B2 B2   OV CL CL FW   FW SC MM B1",
       "POP 12HR         30      50    10      20    20      20    20      10    10",
       "DRIZZLE        O  O    O",
       "FRZG DRZL             WD  O  L  D    O  O  O",
       "FRZG RAIN                                 WD  O    L  O  O  O",
       "SNOW                                                        O    O  L  O  O",
       "$$",
                     ],
    "createGrids": AFM1_createGrids,
    },
    

# Testing OBVIS and new volanic ash 
    {    
    "name":"AFM_ObVis", 
    "productType":"AFM",
    "commentary": "AFM OBVIS and volanic ash",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050"],"")],
    "checkStrings": [
       "AREA FORECAST MATRICES",
       "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
       "400 AM EST FRI JAN 1 2010",
       "FLZ050-012100-",
       "PINELLAS-",
       "400 AM EST FRI JAN 1 2010",
       "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
       "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
       "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
       "MAX/MIN                      MM          MM          MM          MM          MM",
       "TEMP          MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
       "DEWPT         MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
       "RH            MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
       "WIND DIR      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
       "WIND SPD      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
       "CLOUDS        MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
       "POP 12HR                     MM          MM          MM          MM          MM",
       "QPF 12HR                     MM          MM          MM          MM          MM",
       "SNOW 12HR                    MM          MM          MM",
       "OBVIS             F PF F+PF+  H BS  K BD AF  F PF  F PF",
       "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
       "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
       "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
       "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
       "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
       "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
       "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
       "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
       "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
       "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
       "$$",

       ],
    "createGrids": [
       ("Fcst", "Wx", "WEATHER", 6, 9, "Wide:F:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 9, 12, "Patchy:F:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 12, 15, "Wide:F:+:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 15, 18, "Patchy:F:+:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 18, 21, "Def:H:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 21, Day, "Def:BS:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day, Day+3, "Def:K:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+3, Day+6, "Def:BD:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+6, Day+9, "<NoCov>:VA:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+9, Day+12, "Wide:ZF:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+12, Day+15, "Patchy:ZF:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+15, Day+18, "Wide:IF:<NoInten>:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+18, Day+21, "Patchy:IF:<NoInten>:<NoVis>:", "all"),
       ],
    },
   
# Testing Weather rows
    {    
    "name":"AFM_Wx", 
    "productType":"AFM",
    "commentary": "AFM Weather Rows",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050"],"")],
    "checkStrings": [
        "AREA FORECAST MATRICES",
        "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
        "400 AM EST FRI JAN 1 2010",
        "FLZ050-012100-",
        "PINELLAS- ",
        "400 AM EST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      MM          MM          MM          MM          MM",
        "TEMP          MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     MM          MM          MM          MM          MM",
        "QPF 12HR                     MM          MM          MM          MM          MM",
        "SNOW 12HR                    MM          MM          MM                        ",
        "DRIZZLE                                                    PA AR WD  S  C  L  D",
        "FLURRIES                                                EC",
        "FRZG DRZL                                    S  C  L WD     O  O  O  O  O  D",
        "FRZG RAIN                                   WD  S  C  L     D  O  O  O  O  O",
        "RAIN              O  S  C  L  D  O  O  O  O",
        "RAIN SHWRS       IS SC NM EC  S  C  L  D  O  O  O  O  O",
        "SLEET                                                       O  S  C  L  D  O  O",
        "SNOW              S  C  L  D  O  O  O  O  O  O  O  O  O",
        "SNOWSHWRS        SC NM EC  S  C  L  D  O  O  O  O  O IS",
        "SPRINKLES                                                O",
        "TSTMS                                                      IS SC NM EC  S  C  L",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "DRIZZLE        D  O  O  O    O",
        "SLEET          O  O  O",
        "TSTMS          D  O  O  O    O  O",
        "$$",

      ],

    "createGrids": [
       ("Fcst", "Wx", "WEATHER", 6, 9, 
         "Wide:R:-:<NoVis>:^Iso:RW:-:<NoVis>:^SChc:S:-:<NoVis>:^Sct:SW:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 9, 12,
         "SChc:R:-:<NoVis>:^Sct:RW:-:<NoVis>:^Chc:S:-:<NoVis>:^Num:SW:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 12, 15,
         "Chc:R:-:<NoVis>:^Num:RW:-:<NoVis>:^Lkly:S:-:<NoVis>:^Wide:SW:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 15, 18,
         "Lkly:R:-:<NoVis>:^Wide:RW:-:<NoVis>:^Def:S:-:<NoVis>:^SChc:SW:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 18, 21,
         "Def:R:-:<NoVis>:^SChc:RW:-:<NoVis>:^Ocnl:S:-:<NoVis>:^Chc:SW:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", 21, Day,
         "Ocnl:R:-:<NoVis>:^Chc:RW:-:<NoVis>:^Frq:S:-:<NoVis>:^Lkly:SW:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day, Day+3,
         "Frq:R:-:<NoVis>:^Lkly:RW:-:<NoVis>:^Brf:S:-:<NoVis>:^Def:SW:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+3, Day+6,
         "Brf:R:-:<NoVis>:^Def:RW:-:<NoVis>:^Pds:S:-:<NoVis>:^Ocnl:SW:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+6, Day+9,
         "Pds:R:-:<NoVis>:^Ocnl:RW:-:<NoVis>:^Inter:S:-:<NoVis>:^Frq:SW:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+9, Day+12,
         "Frq:RW:-:<NoVis>:^Wide:S:-:<NoVis>:^Brf:SW:-:<NoVis>:^Wide:ZR:-:<NoVis>:^SChc:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+12, (2*Day)+15,
         "Brf:RW:-:<NoVis>:^Wide:S:-:<NoVis>:^Pds:SW:-:<NoVis>:^SChc:ZR:-:<NoVis>:^Chc:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+15, Day+18,
         "Pds:RW:-:<NoVis>:^Wide:S:-:<NoVis>:^Inter:SW:-:<NoVis>:^Chc:ZR:-:<NoVis>:^Lkly:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+18, Day+21,
         "Inter:RW:-:<NoVis>:^Wide:S:-:<NoVis>:^Iso:SW:-:<NoVis>:^Lkly:ZR:-:<NoVis>:^Wide:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", Day+21, Day*2,
         "Ocnl:RW:--:<NoVis>:^Wide:SW:--:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day), (2*Day)+3,
         "Iso:T:<NoInten>:<NoVis>:^Patchy:L:-:<NoVis>:^Wide:IP:-:<NoVis>:^Def:ZR:-:<NoVis>:^Ocnl:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+3, (2*Day)+6,
         "Sct:T:<NoInten>:<NoVis>:^Areas:L:-:<NoVis>:^SChc:IP:-:<NoVis>:^Ocnl:ZR:-:<NoVis>:^Frq:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+6, (2*Day)+9,
         "Num:T:<NoInten>:<NoVis>:^Wide:L:-:<NoVis>:^Chc:IP:-:<NoVis>:^Frq:ZR:-:<NoVis>:^Brf:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+9, (2*Day)+12,
         "Wide:T:<NoInten>:<NoVis>:^SChc:L:-:<NoVis>:^Lkly:IP:-:<NoVis>:^Brf:ZR:-:<NoVis>:^Pds:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+12, (2*Day)+15,
         "SChc:T:<NoInten>:<NoVis>:^Chc:L:-:<NoVis>:^Def:IP:-:<NoVis>:^Pds:ZR:-:<NoVis>:^Inter:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+15, (2*Day)+18,
         "Chc:T:<NoInten>:<NoVis>:^Lkly:L:-:<NoVis>:^Ocnl:IP:-:<NoVis>:^Inter:ZR:-:<NoVis>:^Def:ZL:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (2*Day)+18, (3*Day),
         "Lkly:T:<NoInten>:<NoVis>:^Def:L:-:<NoVis>:^Frq:IP:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (3*Day), (3*Day)+1,
         "Def:T:<NoInten>:<NoVis>:^Ocnl:L:-:<NoVis>:^Brf:IP:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (3*Day)+6, (3*Day)+7,
         "Ocnl:T:<NoInten>:<NoVis>:^Frq:L:-:<NoVis>:^Pds:IP:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (3*Day)+12, (3*Day)+13,
         "Frq:T:<NoInten>:<NoVis>:^Brf:L:-:<NoVis>:^Inter:IP:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (3*Day)+18, (3*Day)+19,
         "Brf:T:<NoInten>:<NoVis>:^Pds:L:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (4*Day), (4*Day)+1,
         "Pds:T:<NoInten>:<NoVis>:^Inter:L:-:<NoVis>:", "all"),
       ("Fcst", "Wx", "WEATHER", (4*Day)+6, (4*Day)+7,
         "Inter:T:<NoInten>:<NoVis>:", "all"),
       ],
    },
   
# Testing Spans
    {    
    "name":"AFM_Spans", 
    "productType":"AFM",
    "commentary": "AFM Spans of Max/Min, QPF, Snow",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050","FLZ051"],"")],
    "checkStrings": [
        "FOUS52 KTBW 010900",
        "AFMTBW",
        "AREA FORECAST MATRICES",
        "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
        "400 AM EST FRI JAN 1 2010",
        "FLZ050-051-012100-",
        "PINELLAS-HILLSBOROUGH-",
        "400 AM EST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                70 78 80          MM          88          MM          MM",
        "TEMP          MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     MM          MM          MM          MM          MM",
        "QPF 12HR              0.67-1.33        0.75        1.49          MM          MM",
        "SNOW 12HR                  8-14          13          MM",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",

      ],

    "createGrids": [
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin", "MaxTEnd", 70, ['FLZ050']),
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin", "MaxTEnd", 80, ['FLZ051']),
       ("Fcst", "MaxT", "SCALAR", "MaxTBegin+24", "MaxTEnd+24", 88, ['FLZ051','FLZ050']),
       ("Fcst", "QPF", "SCALAR", 6, 9, 1.00, ['FLZ050']),
       ("Fcst", "QPF", "SCALAR", 6, 9, 2.00, ['FLZ051']),
       ("Fcst", "QPF", "SCALAR", Day+6, Day+9, 2.24, ['FLZ051','FLZ050']),
       ("Fcst", "SnowAmt", "SCALAR", 6, 18, 6, ['FLZ050']),
       ("Fcst", "SnowAmt", "SCALAR", 6, 18, 12, ['FLZ051']),
       ("Fcst", "SnowAmt", "SCALAR", 18, Day, 15, ['FLZ051','FLZ050']),
       ],
    },
   
# Testing Hazards
    {    
    "name":"AFM_WWA", 
    "productType":"AFM",
    "commentary": "AFM Hazard Rows",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050","FLZ051","FLZ052","FLZ055"],"")],
    "checkStrings": [
        "FOUS52 KTBW 010900",
        "AFMTBW",
        "AREA FORECAST MATRICES",
        "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
        "400 AM EST FRI JAN 1 2010",
        "FLZ050-012100-",
        "PINELLAS-",
        "400 AM EST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      MM          MM          MM          MM          MM",
        "TEMP          MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     MM          MM          MM          MM          MM",
        "QPF 12HR                     MM          MM          MM          MM          MM",
        "SNOW 12HR                    MM          MM          MM",
        "BLIZZARD                                                 A",
        "DENSE FOG                        Y",
        "DENSE SMOKE                                              Y",
        "EXCESS HEAT                                              A",
        "FREEZING FOG                                             Y",
        "HURRICANE      W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W",
        "LKSHORE FLD                                              Y",
        "TROP STORM     W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W",
        "WIND CHILL                       W",
        "WINTER STORM                     W",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",
        "FLZ051-012100-",
        "HILLSBOROUGH-",
        "400 AM EST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      MM          MM          MM          MM          MM",
        "TEMP          MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     MM          MM          MM          MM          MM",
        "QPF 12HR                     MM          MM          MM          MM          MM",
        "SNOW 12HR                    MM          MM          MM            ",
        "TROP STORM     A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A",
        "TYPHOON        W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",
        "FLZ052-012100-",
        "POLK-",
        "400 AM EST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      MM          MM          MM          MM          MM",
        "TEMP          MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     MM          MM          MM          MM          MM",
        "QPF 12HR                     MM          MM          MM          MM          MM",
        "SNOW 12HR                    MM          MM          MM",
        "HURRICANE      A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",
        "FLZ055-012100-",
        "MANATEE-",
        "400 AM EST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      MM          MM          MM          MM          MM",
        "TEMP          MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     MM          MM          MM          MM          MM",
        "QPF 12HR                     MM          MM          MM          MM          MM",
        "SNOW 12HR                    MM          MM          MM",
        "TYPHOON        A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",

      ],

    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 240, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 6, 6+1, "TR.W^HU.W^HF.W^BZ.W", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", 6, 6+1, "TR.A^TY.W^HF.W^BZ.W", ['FLZ051']),
       ("Fcst", "Hazards", "DISCRETE", 6, 6+1, "BZ.W^HU.A", ['FLZ052']),
       ("Fcst", "Hazards", "DISCRETE", 6, 6+1, "TY.A", ['FLZ055']),
       ("Fcst", "Hazards", "DISCRETE", 9, 9+1, "IS.W", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", 15, 15+1, "LE.W", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", 21, 22+1, "WS.W^WC.W^FG.Y", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", Day, Day+1, "ZR.Y^WC.Y^FZ.W", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", Day+3, Day+3+1, "WC.A^FR.Y", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", Day+6, Day+6+1, "LE.Y^DS.W^FZ.A", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", Day+9, Day+9+1, "DU.Y^HW.W^HZ.A", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", Day+12, Day+12+1, "EC.W^WI.Y^CF.W^HZ.W", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", Day+15, Day+15+1, "EC.A^LW.Y^LS.W", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", Day+18, Day+18+1, "WW.Y^EH.W^HW.A^CF.Y", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", Day+21, Day+21+2, "BZ.A^EH.A^SM.Y^ZF.Y^LS.Y", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", (2*Day), (2*Day)+1, "LE.A^HT.Y^FF.A^CF.A", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", (2*Day)+3, (2*Day)+3+1, "WS.A^FA.W^LS.A", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", (2*Day)+6, (2*Day)+6+1, "UP.W", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", (2*Day)+9, (2*Day)+9+1, "FA.Y^UP.Y", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", (2*Day)+12, (2*Day)+12+1, "AS.Y^SU.W", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", (2*Day)+15, (2*Day)+15+1, "SU.Y^AF.Y", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", (2*Day)+18, (2*Day)+18+1, "TO.A:1234", ['FLZ050']),
       ("Fcst", "Hazards", "DISCRETE", (2*Day)+21, (2*Day)+21+1, "SV.A:1235", ['FLZ050']),
       ],
    },
  

#multiple time zone tests - explicit separation
    {    
    "name":"AFM_TimeZone1", 
    "productType":"AFM",
    "commentary": "AFM Multiple Time Zones, with explicit separation",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050"],""), (["FLZ051"], ""), (["FLZ052"],""),
      (["FLZ055"],"")],
    "checkStrings": [
        "FOUS52 KTBW 010900",
        "AFMTBW",
        "AREA FORECAST MATRICES",
        "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
        "400 AM EST FRI JAN 1 2010",
        "FLZ050-012100-",
        "PINELLAS-",
        "400 AM EST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      70          43          50          33          MM",
        "TEMP          MM MM MM 80 50 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM 30 45 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM 16 83 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM  W NE MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM 23 57 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM FW B2 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     80          MM          MM          MM          MM",
        "QPF 12HR                   2.80          MM          MM          MM          MM",
        "SNOW 12HR                    28          MM          MM",
        "RAIN                    O",
        "SNOWSHWRS                 EC",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",
        "FLZ051-012100-",
        "HILLSBOROUGH-",
        "500 AM AST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "AST 3HRLY     05 08 11 14 17 20 23 02 05 08 11 14 17 20 23 02 05 08 11 14 17 20",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      70          43          50          33          MM",
        "TEMP          MM MM MM 80 50 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM 30 45 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM 16 83 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM  W NE MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM 23 57 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM FW B2 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     80          MM          MM          MM          MM",
        "QPF 12HR                   2.80          MM          MM          MM          MM",
        "SNOW 12HR                    28          MM          MM",
        "RAIN                    O",
        "SNOWSHWRS                 EC",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "AST 6HRLY     02 08 14 20   02 08 14 20   02 08 14 20   02 08 14 20",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",
        "FLZ052-012100-",
        "POLK-",
        "INCLUDING THE CITIES OF...LAKELAND...WINTER HAVEN",
        "400 AM EST FRI JAN 1 2010 ",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      70          43          50          33          MM",
        "TEMP          MM MM MM 80 50 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM 30 45 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM 16 83 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM  W NE MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM 23 57 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM FW B2 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     80          MM          MM          MM          MM",
        "QPF 12HR                   2.80          MM          MM          MM          MM",
        "SNOW 12HR                    28          MM          MM",
        "RAIN                    O",
        "SNOWSHWRS                 EC",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",
        "FLZ055-012100-",
        "MANATEE-",
        "300 AM CST FRI JAN 1 2010 ",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "CST 3HRLY     03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      70          43          50          33          MM",
        "TEMP          MM MM MM 80 50 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM 30 45 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM 16 83 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM  W NE MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM 23 57 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM FW B2 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     80          MM          MM          MM          MM",
        "QPF 12HR                   2.80          MM          MM          MM          MM",
        "SNOW 12HR                    28          MM          MM",
        "RAIN                    O",
        "SNOWSHWRS                 EC",
        "DATE               MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "CST 6HRLY     00   06 12 18 00   06 12 18 00   06 12 18 00   06 12 18",
        "UTC 6HRLY     06   12 18 00 06   12 18 00 06   12 18 00 06   12 18 00",
        "MIN/MAX            MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM   MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM",
        "DEWPT         MM   MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM",
        "PWIND DIR          MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR          MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM   MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM",
        "POP 12HR           MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",

      ],
    "fileChanges": [
              ("AreaDictionary", "TextUtility", "add", tzdef, "undo"),
           ],
    "createGrids": AFM_createGrids2,
    },
   
#multiple time zone tests - implicit separation
    {    
    "name":"AFM_TimeZone2", 
    "productType":"AFM",
    "commentary": "AFM Multiple Time Zones, with implicit separation",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050","FLZ051","FLZ052","FLZ055"],"")],
    "checkStrings": [
        "FOUS52 KTBW 010900",
        "AFMTBW",
        "AREA FORECAST MATRICES",
        "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
        "400 AM EST FRI JAN 1 2010",
        "FLZ051-012100-",
        "HILLSBOROUGH-",
        "500 AM AST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "AST 3HRLY     05 08 11 14 17 20 23 02 05 08 11 14 17 20 23 02 05 08 11 14 17 20",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      70          43          50          33          MM",
        "TEMP          MM MM MM 80 50 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM 30 45 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM 16 83 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM  W NE MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM 23 57 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM FW B2 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     80          MM          MM          MM          MM",
        "QPF 12HR                   2.80          MM          MM          MM          MM",
        "SNOW 12HR                    28          MM          MM",
        "RAIN                    O",
        "SNOWSHWRS                 EC",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "AST 6HRLY     02 08 14 20   02 08 14 20   02 08 14 20   02 08 14 20",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",
        "FLZ055-012100-",
        "MANATEE-",
        "300 AM CST FRI JAN 1 2010 ",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "CST 3HRLY     03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      70          43          50          33          MM",
        "TEMP          MM MM MM 80 50 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM 30 45 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM 16 83 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM  W NE MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM 23 57 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM FW B2 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     80          MM          MM          MM          MM",
        "QPF 12HR                   2.80          MM          MM          MM          MM",
        "SNOW 12HR                    28          MM          MM",
        "RAIN                    O",
        "SNOWSHWRS                 EC",
        "DATE               MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "CST 6HRLY     00   06 12 18 00   06 12 18 00   06 12 18 00   06 12 18",
        "UTC 6HRLY     06   12 18 00 06   12 18 00 06   12 18 00 06   12 18 00",
        "MIN/MAX            MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM   MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM",
        "DEWPT         MM   MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM",
        "PWIND DIR          MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR          MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM   MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM",
        "POP 12HR           MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",
        "FLZ050-052-012100-",
        "PINELLAS-POLK-",
        "400 AM EST FRI JAN 1 2010 ",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      70          43          50          33          MM",
        "TEMP          MM MM MM 80 50 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT         MM MM MM 30 45 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH            MM MM MM 16 83 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR      MM MM MM  W NE MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD      MM MM MM 23 57 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS        MM MM MM FW B2 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     80          MM          MM          MM          MM",
        "QPF 12HR                   2.80          MM          MM          MM          MM",
        "SNOW 12HR                    28          MM          MM",
        "RAIN                    O",
        "SNOWSHWRS                 EC",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",

      ],
    "fileChanges": [
              ("AreaDictionary", "TextUtility", "add", tzdef, "undo"),
           ],
    "createGrids": AFM_createGrids2,
    },
   
#shortened first period
    {    
    "commentary": "Shorten 1st period test: full period sampled",
    "name":"AFM_Shorten1",
    "productType":"AFM",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050"],"")],
    "checkStrings": [
        "FOUS52 KTBW 011100",
        "AFMTBW",
        "AREA FORECAST MATRICES",
        "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
        "600 AM EST FRI JAN 1 2010",
        "FLZ050-012100-",
        "PINELLAS-",
        "600 AM EST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      70          43          70          43          MM",
        "TEMP             35 35 35 35 35 35 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT            MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH               MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR         MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD         MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS           MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                    100          20          MM          MM          MM",
        "QPF 12HR                   1.00        0.07          MM          MM          MM",
        "SNOW 12HR                    11           3          MM",
        "WIND CHILL      -40-35-30-25-20",
        "MIN CHILL       -40   -35   -25",
        "HEAT INDEX      110105100 95 90",
        "MAX HEAT        110   105    95",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",

      ],
    "gridsStartTime": "20100101_0500",   #midnight LT
    "drtTime": "20100101_1100",    #6am
    "createGrids": AFM_shortenGrids,
    },

    {    
    "commentary": "Shorten 1st period test: 9/12 hours sampled",
    "name":"AFM_Shorten2",
    "productType":"AFM",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050"],"")],
    "checkStrings": [
        "FOUS52 KTBW 011400",
        "AFMTBW",
        "AREA FORECAST MATRICES",
        "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
        "900 AM EST FRI JAN 1 2010",
        "FLZ050-012100-",
        "PINELLAS-",
        "900 AM EST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      70          43          70          43          MM",
        "TEMP                35 35 35 35 35 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT               MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH                  MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR            MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD            MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS              MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     80          20          MM          MM          MM",
        "QPF 12HR                   0.93        0.07          MM          MM          MM",
        "SNOW 12HR                    11           3          MM",
        "WIND CHILL         -35-30-25-20",
        "MIN CHILL             -35   -25",
        "HEAT INDEX         105100 95 90",
        "MAX HEAT              105    95",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",

      ],
    "gridsStartTime": "20100101_0500",   #midnight LT
    "drtTime": "20100101_1400",    #9am
    "createGrids": AFM_shortenGrids,
    },

    {    
    "commentary": "Shorten 1st period test: 5/12 hours sampled",
    "name":"AFM_Shorten3",
    "productType":"AFM",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050"],"")],
    "checkStrings": [
        "FOUS52 KTBW 011800",
        "AFMTBW",
        "AREA FORECAST MATRICES",
        "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
        "100 PM EST FRI JAN 1 2010",
        "FLZ050-012100-",
        "PINELLAS-",
        "100 PM EST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      70          43          70          43          MM",
        "TEMP                   35 35 35 35 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT                  MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH                     MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR               MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD               MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS                 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     60          20          MM          MM          MM",
        "QPF 12HR                   0.63        0.07          MM          MM          MM",
        "SNOW 12HR                     8           3          MM",
        "WIND CHILL            -30-25-20",
        "MIN CHILL             -30   -25",
        "HEAT INDEX            100 95 90",
        "MAX HEAT              100    95",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",
      ],
    "gridsStartTime": "20100101_0500",   #midnight LT
    "drtTime": "20100101_1800",    #1pm
    "createGrids": AFM_shortenGrids,
    },
   
    {    
    "commentary": "Shorten 1st period test: 2/12 hours sampled",
    "name":"AFM_Shorten4",
    "productType":"AFM",
    "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }",
    "comboFlag": 1, 
    "combinations": [(["FLZ050"],"")],
    "checkStrings": [
        "FOUS52 KTBW 012100",
        "AFMTBW",
        "AREA FORECAST MATRICES",
        "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
        "400 PM EST FRI JAN 1 2010",
        "FLZ050-012200-",
        "PINELLAS-",
        "400 PM EST FRI JAN 1 2010",
        "DATE             FRI 01/01/10            SAT 01/02/10            SUN 01/03/10",
        "EST 3HRLY     04 07 10 13 16 19 22 01 04 07 10 13 16 19 22 01 04 07 10 13 16 19",
        "UTC 3HRLY     09 12 15 18 21 00 03 06 09 12 15 18 21 00 03 06 09 12 15 18 21 00",
        "MAX/MIN                      70          43          70          43          MM",
        "TEMP                      35 35 35 MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "DEWPT                     MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "RH                        MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND DIR                  MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "WIND SPD                  MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "CLOUDS                    MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM",
        "POP 12HR                     40          20          MM          MM          MM",
        "QPF 12HR                   0.30        0.07          MM          MM          MM",
        "SNOW 12HR                     4           3          MM",
        "WIND CHILL               -25-20",
        "MIN CHILL                   -25",
        "HEAT INDEX                95 90",
        "MAX HEAT                     95",
        "DATE          MON 01/04/10  TUE 01/05/10  WED 01/06/10  THU 01/07/10",
        "EST 6HRLY     01 07 13 19   01 07 13 19   01 07 13 19   01 07 13 19",
        "UTC 6HRLY     06 12 18 00   06 12 18 00   06 12 18 00   06 12 18 00",
        "MIN/MAX          MM    MM      MM    MM      MM    MM      MM    MM",
        "TEMP          MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "DEWPT         MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "PWIND DIR        MM    MM      MM    MM      MM    MM      MM    MM",
        "WIND CHAR        MM    MM      MM    MM      MM    MM      MM    MM",
        "AVG CLOUDS    MM MM MM MM   MM MM MM MM   MM MM MM MM   MM MM MM MM",
        "POP 12HR         MM    MM      MM    MM      MM    MM      MM    MM",
        "$$",

      ],
    "gridsStartTime": "20100101_0500",   #midnight LT
    "drtTime": "20100101_2100",    #4pm
    "createGrids": AFM_shortenGrids,
    },

    {    
    "name":"AFM_Final_CleanUp",
    "commentary": "Clean out grids",
    "productType": None,
    "deleteGrids": AFM_deleteGrids,
    },
    ]

def testScript(self, dataMgr, level="Site"):
    gridsStartTime = self.getAbsFromLocal(2010, 1, 1, 0, 0)
    drtTime = self.getAbsFromLocal(2010, 1, 1, 4, 0)
    defaults = {
        "gridsStartTime": gridsStartTime,
        "drtTime": drtTime,
        "orderStrings": 1,
        "internalStrip": 0, 
        "vtecMode": None,
        "deleteGrids": AFM_deleteGrids,
        }
    return TestScript.generalTestScript(self, dataMgr, scripts, defaults, level=level)


