##
# 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.
#
# VTEC EXT time adjust to NOW tests
#
# Author:
# ----------------------------------------------------------------------------

scripts = [
    {
    "commentary": "Clear out all Hazards Table and Grids.",
    "name": "VTEC_EXPtoNow_0",
    "productType": None,
    "clearHazardsTable": 1,
    "checkStrings": [],
    },

    {
    "commentary": "1 zone setup in future",
    "name": "VTEC_EXPtoNow_1a",
    "drtTime": "20100101_0000",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 24, 36, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 010000",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "700 PM EST THU DEC 31 2009",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-010800-",
      "/O.NEW.KTBW.DU.Y.0001.100102T0000Z-100102T1200Z/",
      "PASCO-",
      "700 PM EST THU DEC 31 2009",
      "...BLOWING DUST ADVISORY IN EFFECT FROM 7 PM FRIDAY TO 7 AM EST SATURDAY...",
      "THE NATIONAL WEATHER SERVICE IN TAMPA BAY RUSKIN HAS ISSUED A BLOWING DUST ADVISORY...WHICH IS IN EFFECT FROM 7 PM FRIDAY TO 7 AM EST SATURDAY.",
      "|* SEGMENT TEXT GOES HERE *|.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - EXT to future",
    "name": "VTEC_EXPtoNow_1b",
    "drtTime": "20100101_0400",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 24, 48, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
       "WWUS72 KTBW 010400",
       "NPWTBW",
       "URGENT - WEATHER MESSAGE",
       "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
       "1100 PM EST THU DEC 31 2009",
       "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
       ".|*OVERVIEW (MUST EDIT)*|.",
       "FLZ049-011200-",
       "/O.EXT.KTBW.DU.Y.0001.100102T0000Z-100103T0000Z/",
       "PASCO-",
       "1100 PM EST THU DEC 31 2009",
       "...BLOWING DUST ADVISORY NOW IN EFFECT FROM 7 PM FRIDAY TO 7 PM EST SATURDAY...",
       "THE BLOWING DUST ADVISORY IS NOW IN EFFECT FROM 7 PM FRIDAY TO 7 PM EST SATURDAY.",
       "|* SEGMENT TEXT GOES HERE *|.",
       "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
       "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - EXT back towards present",
    "name": "VTEC_EXPtoNow_1c",
    "drtTime": "20100101_1300",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 18, 48, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 011300",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "800 AM EST FRI JAN 1 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-012100-",
      "/O.EXT.KTBW.DU.Y.0001.100101T1800Z-100103T0000Z/",
      "PASCO-",
      "800 AM EST FRI JAN 1 2010",
      "...BLOWING DUST ADVISORY NOW IN EFFECT FROM 1 PM THIS AFTERNOON TO 7 PM EST SATURDAY...",
      "THE BLOWING DUST ADVISORY IS NOW IN EFFECT FROM 1 PM THIS AFTERNOON TO 7 PM EST SATURDAY.",
      "|* SEGMENT TEXT GOES HERE *|.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",

       ],
    },

    {
    "commentary": "1 zone setup in future - EXT back to now",
    "name": "VTEC_EXPtoNow_1d",
    "drtTime": "20100101_1500",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 15, 48, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
       "WWUS72 KTBW 011500",
       "NPWTBW",
       "URGENT - WEATHER MESSAGE",
       "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
       "1000 AM EST FRI JAN 1 2010",
       "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
       ".|*OVERVIEW (MUST EDIT)*|.",
       "FLZ049-012300-",
       "/O.EXT.KTBW.DU.Y.0001.100101T1500Z-100103T0000Z/",
       "PASCO-",
       "1000 AM EST FRI JAN 1 2010",
       "...BLOWING DUST ADVISORY NOW IN EFFECT UNTIL 7 PM EST SATURDAY...",
       "THE BLOWING DUST ADVISORY IS NOW IN EFFECT UNTIL 7 PM EST SATURDAY.",
       "|* SEGMENT TEXT GOES HERE *|.",
       "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
       "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - CAN",
    "name": "VTEC_EXPtoNow_1e",
    "drtTime": "20100101_1900",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ],
    "checkStrings": [
       "WWUS72 KTBW 011900",
       "NPWTBW",
       "URGENT - WEATHER MESSAGE",
       "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
       "200 PM EST FRI JAN 1 2010",
       "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
       ".|*OVERVIEW (MUST EDIT)*|.",
       "FLZ049-012000-",
       "/O.CAN.KTBW.DU.Y.0001.000000T0000Z-100103T0000Z/",
       "PASCO-",
       "200 PM EST FRI JAN 1 2010",
       "...BLOWING DUST ADVISORY IS CANCELLED...",
       "THE NATIONAL WEATHER SERVICE IN TAMPA BAY RUSKIN HAS CANCELLED THE BLOWING DUST ADVISORY.",
       "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future (NEW->CON->EXT test)",
    "name": "VTEC_EXPtoNow_2a",
    "drtTime": "20100102_0000",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 30, 36, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 020000",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "700 PM EST FRI JAN 1 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-020800-",
      "/O.NEW.KTBW.DU.Y.0002.100102T0600Z-100102T1200Z/",
      "PASCO-",
      "700 PM EST FRI JAN 1 2010",
      "...BLOWING DUST ADVISORY IN EFFECT FROM 1 AM TO 7 AM EST SATURDAY...",
      "THE NATIONAL WEATHER SERVICE IN TAMPA BAY RUSKIN HAS ISSUED A BLOWING DUST ADVISORY...WHICH IS IN EFFECT FROM 1 AM TO 7 AM EST SATURDAY.",
      "|* SEGMENT TEXT GOES HERE *|.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - (NEW->CON->EXT test)",
    "name": "VTEC_EXPtoNow_2b",
    "drtTime": "20100102_0200",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 30, 36, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
       "WWUS72 KTBW 020200",
       "NPWTBW",
       "URGENT - WEATHER MESSAGE",
       "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
       "900 PM EST FRI JAN 1 2010",
       "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
       ".|*OVERVIEW (MUST EDIT)*|.",
       "FLZ049-021000-",
       "/O.CON.KTBW.DU.Y.0002.100102T0600Z-100102T1200Z/",
       "PASCO-",
       "900 PM EST FRI JAN 1 2010",
       "...BLOWING DUST ADVISORY REMAINS IN EFFECT FROM 1 AM TO 7 AM EST SATURDAY...",
       "A BLOWING DUST ADVISORY REMAINS IN EFFECT FROM 1 AM TO 7 AM EST SATURDAY.",
       "|* SEGMENT TEXT GOES HERE *|.",
       "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
       "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - (NEW->CON->EXT test)",
    "name": "VTEC_EXPtoNow_2c",
    "drtTime": "20100102_0400",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 28, 36, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 020400",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "1100 PM EST FRI JAN 1 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-021200-",
      "/O.EXT.KTBW.DU.Y.0002.100102T0400Z-100102T1200Z/",
      "PASCO-",
      "1100 PM EST FRI JAN 1 2010",
      "...BLOWING DUST ADVISORY NOW IN EFFECT UNTIL 7 AM EST SATURDAY...",
      "THE BLOWING DUST ADVISORY IS NOW IN EFFECT UNTIL 7 AM EST SATURDAY.",
      "|* SEGMENT TEXT GOES HERE *|.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - (NEW->CON->EXT test)",
    "name": "VTEC_EXPtoNow_2d",
    "drtTime": "20100102_0600",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ],
    "checkStrings": [
      "WWUS72 KTBW 020600",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "100 AM EST SAT JAN 2 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
       ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-020700-",
      "/O.CAN.KTBW.DU.Y.0002.000000T0000Z-100102T1200Z/",
      "PASCO-",
      "100 AM EST SAT JAN 2 2010",
      "...BLOWING DUST ADVISORY IS CANCELLED...",
      "THE NATIONAL WEATHER SERVICE IN TAMPA BAY RUSKIN HAS CANCELLED THE BLOWING DUST ADVISORY.",
      "$$",
       ],
    },


    {
    "commentary": "1 zone setup in future (NEW->EXT test)",
    "name": "VTEC_EXPtoNow_3a",
    "drtTime": "20100103_0000",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 50, 60, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 030000",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "700 PM EST SAT JAN 2 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-030800-",
      "/O.NEW.KTBW.DU.Y.0003.100103T0200Z-100103T1200Z/",
      "PASCO-",
      "700 PM EST SAT JAN 2 2010",
      "...BLOWING DUST ADVISORY IN EFFECT UNTIL 7 AM EST SUNDAY...",
      "THE NATIONAL WEATHER SERVICE IN TAMPA BAY RUSKIN HAS ISSUED A BLOWING DUST ADVISORY...WHICH IS IN EFFECT UNTIL 7 AM EST SUNDAY.",
      "|* SEGMENT TEXT GOES HERE *|.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - (NEW->EXT test)",
    "name": "VTEC_EXPtoNow_3b",
    "drtTime": "20100103_0100",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 49, 60, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 030100",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "800 PM EST SAT JAN 2 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-030900-",
      "/O.EXT.KTBW.DU.Y.0003.100103T0100Z-100103T1200Z/",
      "PASCO-",
      "800 PM EST SAT JAN 2 2010",
      "...BLOWING DUST ADVISORY NOW IN EFFECT UNTIL 7 AM EST SUNDAY...",
      "THE BLOWING DUST ADVISORY IS NOW IN EFFECT UNTIL 7 AM EST SUNDAY.",
      "|* SEGMENT TEXT GOES HERE *|.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - (NEW->EXT test)",
    "name": "VTEC_EXPtoNow_3c",
    "drtTime": "20100103_0200",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 49, 60, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 030200",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "900 PM EST SAT JAN 2 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-031000-",
      "/O.CON.KTBW.DU.Y.0003.000000T0000Z-100103T1200Z/",
      "PASCO-",
      "900 PM EST SAT JAN 2 2010",
      "...BLOWING DUST ADVISORY REMAINS IN EFFECT UNTIL 7 AM EST SUNDAY...",
      "A BLOWING DUST ADVISORY REMAINS IN EFFECT UNTIL 7 AM EST SUNDAY.",
      "|* SEGMENT TEXT GOES HERE *|.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },


    {
    "commentary": "1 zone setup in future (EXP,NEW->EXT+ test)",
    "name": "VTEC_EXPtoNow_3d",
    "drtTime": "20100103_1200",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 65, 70, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 031200",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "700 AM EST SUN JAN 3 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-032000-",
      "/O.EXP.KTBW.DU.Y.0003.000000T0000Z-100103T1200Z/",
      "/O.NEW.KTBW.DU.Y.0004.100103T1700Z-100103T2200Z/",
      "PASCO-",
      "700 AM EST SUN JAN 3 2010",
      "...BLOWING DUST ADVISORY IN EFFECT FROM NOON TODAY TO 5 PM EST THIS AFTERNOON...",
      "...BLOWING DUST ADVISORY HAS EXPIRED...",
      "THE NATIONAL WEATHER SERVICE IN TAMPA BAY RUSKIN HAS ISSUED A BLOWING DUST ADVISORY...WHICH IS IN EFFECT FROM NOON TODAY TO 5 PM EST THIS AFTERNOON. THE BLOWING DUST ADVISORY IS NO LONGER IN EFFECT.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - (NEW->EXT+ test)",
    "name": "VTEC_EXPtoNow_3e",
    "drtTime": "20100103_1240",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 65, 80, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
       "WWUS72 KTBW 031240",
       "NPWTBW",
       "URGENT - WEATHER MESSAGE",
       "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
       "740 AM EST SUN JAN 3 2010",
       "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
       ".|*OVERVIEW (MUST EDIT)*|.",
       "FLZ049-032045-",
       "/O.EXT.KTBW.DU.Y.0004.100103T1700Z-100104T0800Z/",
       "PASCO-",
       "740 AM EST SUN JAN 3 2010",
       "...BLOWING DUST ADVISORY NOW IN EFFECT FROM NOON TODAY TO 3 AM EST MONDAY...",
       "THE BLOWING DUST ADVISORY IS NOW IN EFFECT FROM NOON TODAY TO 3 AM EST MONDAY.",
       "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
       "$$",
       ],
    },
    {
    "commentary": "1 zone setup in future - (NEW->EXT+ test)",
    "name": "VTEC_EXPtoNow_3f",
    "drtTime": "20100103_1659",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 65, 80, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 031659",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "1159 AM EST SUN JAN 3 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-040100-",
      "/O.CON.KTBW.DU.Y.0004.100103T1700Z-100104T0800Z/",
      "PASCO-",
      "1159 AM EST SUN JAN 3 2010",
      "...BLOWING DUST ADVISORY REMAINS IN EFFECT UNTIL 3 AM EST MONDAY...",
      "A BLOWING DUST ADVISORY REMAINS IN EFFECT UNTIL 3 AM EST MONDAY.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - (NEW->EXT+ test)",
    "name": "VTEC_EXPtoNow_3g",
    "drtTime": "20100103_1700",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 65, 80, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 031700",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "1200 PM EST SUN JAN 3 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-040100-",
      "/O.CON.KTBW.DU.Y.0004.000000T0000Z-100104T0800Z/",
      "PASCO-",
      "1200 PM EST SUN JAN 3 2010",
      "...BLOWING DUST ADVISORY REMAINS IN EFFECT UNTIL 3 AM EST MONDAY...",
      "A BLOWING DUST ADVISORY REMAINS IN EFFECT UNTIL 3 AM EST MONDAY.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - (NEW->EXT+ test)",
    "name": "VTEC_EXPtoNow_3h",
    "drtTime": "20100103_1701",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 65, 80, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 031701",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "1201 PM EST SUN JAN 3 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-040115-",
      "/O.CON.KTBW.DU.Y.0004.000000T0000Z-100104T0800Z/",
      "PASCO-",
      "1201 PM EST SUN JAN 3 2010",
      "...BLOWING DUST ADVISORY REMAINS IN EFFECT UNTIL 3 AM EST MONDAY...",
      "A BLOWING DUST ADVISORY REMAINS IN EFFECT UNTIL 3 AM EST MONDAY.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },

    {
    "commentary": "1 zone setup in future - (NEW->EXT+ test)",
    "name": "VTEC_EXPtoNow_3i",
    "drtTime": "20100104_0747",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 65, 80, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 040747",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "247 AM EST MON JAN 4 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-040900-",
      "/O.EXP.KTBW.DU.Y.0004.000000T0000Z-100104T0800Z/",
      "PASCO-",
      "247 AM EST MON JAN 4 2010",
      "...BLOWING DUST ADVISORY WILL EXPIRE AT 3 AM EST EARLY THIS MORNING...",
      "THE BLOWING DUST ADVISORY WILL EXPIRE AT 3 AM EST EARLY THIS MORNING.",
      "$$",
       ],
    },

    {
    "commentary": "2 zone setup in future (NEW->EXA test)",
    "name": "VTEC_EXPtoNow_4a",
    "drtTime": "20100105_0000",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 100, 120, "DU.Y", ["FLZ049"]),
       ],
    "checkStrings": [
       "WWUS72 KTBW 050000",
       "NPWTBW",
       "URGENT - WEATHER MESSAGE",
       "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
       "700 PM EST MON JAN 4 2010",
       "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
       ".|*OVERVIEW (MUST EDIT)*|.",
       "FLZ049-050800-",
       "/O.NEW.KTBW.DU.Y.0005.100105T0400Z-100106T0000Z/",
       "PASCO-",
       "700 PM EST MON JAN 4 2010",
       "...BLOWING DUST ADVISORY IN EFFECT FROM 11 PM THIS EVENING TO 7 PM EST TUESDAY...",
       "THE NATIONAL WEATHER SERVICE IN TAMPA BAY RUSKIN HAS ISSUED A BLOWING DUST ADVISORY...WHICH IS IN EFFECT FROM 11 PM THIS EVENING TO 7 PM EST TUESDAY.",
       "|* SEGMENT TEXT GOES HERE *|.",
       "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
       "$$",
       ],
    },

    {
    "commentary": "2 zone setup in future (NEW->EXT/EXB test)",
    "name": "VTEC_EXPtoNow_4b",
    "drtTime": "20100105_0218",
    "productType": "Hazard_NPW_Local",
    "decodeVTEC": 0,
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 100, 130, "DU.Y", ["FLZ049","FLZ057"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 050218",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "918 PM EST MON JAN 4 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ057-051030-",
      "/O.EXB.KTBW.DU.Y.0005.100105T0400Z-100106T1000Z/",
      "HIGHLANDS-",
      "918 PM EST MON JAN 4 2010",
      "...BLOWING DUST ADVISORY IN EFFECT UNTIL 5 AM EST WEDNESDAY...",
      "THE NATIONAL WEATHER SERVICE IN TAMPA BAY RUSKIN HAS ISSUED A BLOWING DUST ADVISORY...WHICH IS IN EFFECT UNTIL 5 AM EST WEDNESDAY.",
      "|* SEGMENT TEXT GOES HERE *|.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
      "FLZ049-051030-",
      "/O.EXT.KTBW.DU.Y.0005.100105T0400Z-100106T1000Z/",
      "PASCO-",
      "918 PM EST MON JAN 4 2010",
      "...BLOWING DUST ADVISORY NOW IN EFFECT UNTIL 5 AM EST WEDNESDAY...",
      "THE BLOWING DUST ADVISORY IS NOW IN EFFECT UNTIL 5 AM EST WEDNESDAY.",
      "|* SEGMENT TEXT GOES HERE *|.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },

    {
    "commentary": "2 zone setup in future (NEW->EXT/EXB test)",
    "name": "VTEC_EXPtoNow_4c",
    "drtTime": "20100105_0218",
    "productType": "Hazard_NPW_Local",
    "decodeVTEC": 0,
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 99, 130, "DU.Y", ["FLZ049","FLZ057"]),
       ],
    "checkStrings": [
       "WWUS72 KTBW 050218",
       "NPWTBW",
       "URGENT - WEATHER MESSAGE",
       "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
       "918 PM EST MON JAN 4 2010",
       "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
       ".|*OVERVIEW (MUST EDIT)*|.",
       "FLZ057-051030-",
       "/O.EXB.KTBW.DU.Y.0005.100105T0300Z-100106T1000Z/",
       "918 PM EST MON JAN 4 2010",
       "...BLOWING DUST ADVISORY IN EFFECT UNTIL 5 AM EST WEDNESDAY...",
       "THE NATIONAL WEATHER SERVICE IN TAMPA BAY RUSKIN HAS ISSUED A BLOWING DUST ADVISORY...WHICH IS IN EFFECT UNTIL 5 AM EST WEDNESDAY.",
       "|* SEGMENT TEXT GOES HERE *|.",
       "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
       "$$",
       "FLZ049-051030-",
       "/O.EXT.KTBW.DU.Y.0005.100105T0300Z-100106T1000Z/",
       "PASCO-",
       "918 PM EST MON JAN 4 2010",
       "...BLOWING DUST ADVISORY NOW IN EFFECT UNTIL 5 AM EST WEDNESDAY...",
       "THE BLOWING DUST ADVISORY IS NOW IN EFFECT UNTIL 5 AM EST WEDNESDAY.",
       "|* SEGMENT TEXT GOES HERE *|.",
       "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
       "$$",
       ],
    },

    {
    "commentary": "2 zone setup in future (NEW->EXT/EXB test)",
    "name": "VTEC_EXPtoNow_4d",
    "drtTime": "20100105_0218",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 98, 130, "DU.Y", ["FLZ049","FLZ057"]),
       ],
    "checkStrings": [
       "WWUS72 KTBW 050218",
       "NPWTBW",
       "URGENT - WEATHER MESSAGE",
       "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
       "918 PM EST MON JAN 4 2010",
       "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
       ".|*OVERVIEW (MUST EDIT)*|.",
       "FLZ057-051030-",
       "/O.EXB.KTBW.DU.Y.0005.100105T0218Z-100106T1000Z/",
       "HIGHLANDS-",
       "918 PM EST MON JAN 4 2010",
       "...BLOWING DUST ADVISORY IN EFFECT UNTIL 5 AM EST WEDNESDAY...",
       "THE NATIONAL WEATHER SERVICE IN TAMPA BAY RUSKIN HAS ISSUED A BLOWING DUST ADVISORY...WHICH IS IN EFFECT UNTIL 5 AM EST WEDNESDAY.",
       "|* SEGMENT TEXT GOES HERE *|.",
       "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
       "$$",
       "FLZ049-051030-",
       "/O.EXT.KTBW.DU.Y.0005.100105T0218Z-100106T1000Z/",
       "PASCO-",
       "918 PM EST MON JAN 4 2010",
       "...BLOWING DUST ADVISORY NOW IN EFFECT UNTIL 5 AM EST WEDNESDAY...",
       "THE BLOWING DUST ADVISORY IS NOW IN EFFECT UNTIL 5 AM EST WEDNESDAY.",
       "|* SEGMENT TEXT GOES HERE *|.",
       "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
       "$$",
       ],
    },

    {
    "commentary": "2 zone setup in future (NEW->EXT/EXB test)",
    "name": "VTEC_EXPtoNow_4e",
    "drtTime": "20100105_0400",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ("Fcst", "Hazards", "DISCRETE", 98, 130, "DU.Y", ["FLZ049","FLZ057"]),
       ],
    "checkStrings": [
      "WWUS72 KTBW 050400",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "1100 PM EST MON JAN 4 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
      ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-057-051200-",
      "/O.CON.KTBW.DU.Y.0005.000000T0000Z-100106T1000Z/",
      "PASCO-HIGHLANDS-",
      "1100 PM EST MON JAN 4 2010",
      "...BLOWING DUST ADVISORY REMAINS IN EFFECT UNTIL 5 AM EST WEDNESDAY...",
      "A BLOWING DUST ADVISORY REMAINS IN EFFECT UNTIL 5 AM EST WEDNESDAY.",
      "|* SEGMENT TEXT GOES HERE *|.",
      "A BLOWING DUST ADVISORY MEANS THAT BLOWING DUST WILL RESTRICT VISIBILITIES. TRAVELERS ARE URGED TO USE CAUTION.",
      "$$",
       ],
    },

    {
    "commentary": "2 zone setup in future (NEW->EXT/EXB test)",
    "name": "VTEC_EXPtoNow_4f",
    "drtTime": "20100105_0522",
    "productType": "Hazard_NPW_Local",
    "createGrids": [
       ("Fcst", "Hazards", "DISCRETE", -100, 100, "<None>", "all"),
       ],
    "checkStrings": [
      "WWUS72 KTBW 050522",
      "NPWTBW",
      "URGENT - WEATHER MESSAGE",
      "NATIONAL WEATHER SERVICE TAMPA BAY RUSKIN FL",
      "1222 AM EST TUE JAN 5 2010",
      "...|*OVERVIEW HEADLINE (MUST EDIT)*|...",
       ".|*OVERVIEW (MUST EDIT)*|.",
      "FLZ049-057-050630-",
      "/O.CAN.KTBW.DU.Y.0005.000000T0000Z-100106T1000Z/",
      "PASCO-HIGHLANDS-",
      "1222 AM EST TUE JAN 5 2010",
      "...BLOWING DUST ADVISORY IS CANCELLED...",
      "THE NATIONAL WEATHER SERVICE IN TAMPA BAY RUSKIN HAS CANCELLED THE BLOWING DUST ADVISORY.",
      "$$",
       ],
    },

    {
    "commentary": "Deleting hazard grids.",
    "name": "VTEC_EXPtoNow_Cleanup",
    "productType": None,
    "checkStrings": [],
    "clearHazardsTable": 1,
    },
    ]

       
import TestScript
def testScript(self, dataMgr):
    defaults = {
        "database": "<site>_GRID__Official_00000000_0000",
        "publishGrids": 1,
        "decodeVTEC": 1,
        "gridsStartTime": "20100101_0000",
        "orderStrings": 1,
        "vtecMode": "O",
        "deleteGrids": [("Fcst", "Hazards", "SFC", "all", "all")],
        }
    return TestScript.generalTestScript(self, dataMgr, scripts, defaults)




