## # 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. # # Expire Time Test Case # # Author: # ---------------------------------------------------------------------------- def1 = """#Definition["state_IDs"] = ["ST"]""" def2 = """Definition["state_IDs"] = ["FL"]""" pfm1 = """Definition["defaultEditAreas"] = [('FLZ050','FLZ050\\nGFE TEST\\n35.00N 90.00W\\n35'),]""" scripts = [ { "commentary": "Clear out all Hazards Table and Grids.", "name": "Expire_0", "productType": None, "clearHazardsTable": 1, "checkStrings": [], }, { "name":"ExpireAFM_am", "productType":"AFM", "commentary": "Checking product expire time for AFM, with Morning issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FOUS52 KTBW 010800", "AFMTBW", "Area Forecast Matrices", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ050-012100-", "Pinellas-", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireAFM_pm", "productType":"AFM", "commentary": "Checking product expire time for AFM, with Afternoon issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FOUS52 KTBW 010800", "AFMTBW", "Area Forecast Matrices", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ050-020900-", "Pinellas-", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireCWF_Morning", "productType":"CWF", "commentary": "Checking product expire time for CWF, with Morning issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FZUS52 KTBW 010800", "CWFTBW", "Coastal Waters Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "GMZ800-012100-", "300 AM EST Mon Feb 1 2010", "$$", "GMZ870-012100-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireCWF_Morning Update", "productType":"CWF", "commentary": "Checking product expire time for CWF, with Morning Update AM issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FZUS52 KTBW 010800", "CWFTBW", "Coastal Waters Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "GMZ800-012100-", "300 AM EST Mon Feb 1 2010", "Synopsis for Bonita Beach to Suwannee River FL out 60 NM", "$$", "GMZ870-012100-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", "$$", ], }, { "name":"ExpireCWF_AfternoonUpdate", "productType":"CWF", "commentary": "Checking product expire time for CWF, with Afternoon Update issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FZUS52 KTBW 010800", "CWFTBW", "Coastal Waters Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "GMZ800-012100-", "300 AM EST Mon Feb 1 2010", "Synopsis for Bonita Beach to Suwannee River FL out 60 NM", "$$", "GMZ870-012100-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", "$$", ], }, { "name":"ExpireCWF_EveningUpdate", "productType":"CWF", "commentary": "Checking product expire time for CWF, with Evening Update issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Evening Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FZUS52 KTBW 010800", "CWFTBW ", "Coastal Waters Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "GMZ800-012100-", "300 AM EST Mon Feb 1 2010", "Synopsis for Bonita Beach to Suwannee River FL out 60 NM", "$$", "GMZ870-012100-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", "$$", ], }, { "name":"ExpireCWFPac_Morning", "productType":"CWF_Pacific", "commentary": "Checking product expire time for CWF_Pacific, with Morning issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FZUS52 KTBW 010800", "CWFTBW", "Coastal Waters Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "GMZ800-012100-", "300 AM EST Mon Feb 1 2010", "$$", "GMZ870-012100-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireCWFPac_MorningUpdate", "productType":"CWF_Pacific", "commentary": "Checking product expire time for CWF_Pacific, with Morning Update issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FZUS52 KTBW 010800", "CWFTBW", "Coastal Waters Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "GMZ800-012100-", "300 AM EST Mon Feb 1 2010", "Synopsis for Bonita Beach to Suwannee River FL out 60 NM", "$$", "GMZ870-012100-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", "$$", ], }, { "name":"ExpireCWFPac_AfternoonUpdate", "productType":"CWF_Pacific", "commentary": "Checking product expire time for CWF_Pacific, with Afternoon Update issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FZUS52 KTBW 010800", "CWFTBW", "Coastal Waters Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "GMZ800-012100-", "300 AM EST Mon Feb 1 2010", "Synopsis for Bonita Beach to Suwannee River FL out 60 NM", "$$", "GMZ870-012100-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", "$$", ], }, { "name":"ExpireCWFPac_EveningUpdate", "productType":"CWF_Pacific", "commentary": "Checking product expire time for CWF_Pacific, with Evening Update issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Evening Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FZUS52 KTBW 010800", "CWFTBW ", "Coastal Waters Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "GMZ800-012100-", "300 AM EST Mon Feb 1 2010", "Synopsis for Bonita Beach to Suwannee River FL out 60 NM", "$$", "GMZ870-012100-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", "$$", ], }, { "name":"ExpireFWF_am", "productType":"FWF", "commentary": "Checking product expire time for FWF, with Morning issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FNUS52 KTBW 010800", "FWFTBW", "Fire Weather Planning Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ050-012100-", "Pinellas-", ], }, { "name":"ExpireFWF_amU", "productType":"FWF", "commentary": "Checking product expire time for FWF, with Morning Update issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FNUS52 KTBW 010800", "FWFTBW", "Fire Weather Planning Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ050-012100-", "Pinellas-", ], }, { "name":"ExpireFWF_pmU", "productType":"FWF", "commentary": "Checking product expire time for FWF, with Afternoon Update issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FNUS52 KTBW 010800", "FWFTBW", "Fire Weather Planning Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ050-012100-", "Pinellas-", ], }, { "name":"ExpireFWF_pm", "productType":"FWF", "commentary": "Checking product expire time for FWF, with Afternoon issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FNUS52 KTBW 010800", "FWFTBW", "Fire Weather Planning Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ050-020900-", "Pinellas-", ], }, { "name":"ExpireFWF_eU", "productType":"FWF", "commentary": "Checking product expire time for FWF, with Evening Update issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Evening Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FNUS52 KTBW 010800", "FWFTBW", "Fire Weather Planning Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ050-020900-", "Pinellas-", ], }, { "name":"ExpireFWF_emu", "productType":"FWF", "commentary": "Checking product expire time for FWF, with Early Morning Update issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Early Morning Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FNUS52 KTBW 010800", "FWFTBW", "Fire Weather Planning Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ050-010900-", "Pinellas-", ], }, { "name":"ExpireFWFTab_am", "productType":"FWF", "commentary": "Checking product expire time for FWF, with Morning issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FNUS52 KTBW 010800", "FWFTBW", "Fire Weather Planning Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", ".DISCUSSION...", "FLZ050-012100-", "Pinellas-", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireFWFTab_pm", "productType":"FWF", "commentary": "Checking product expire time for FWF, with Afternoon issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FNUS52 KTBW 010800", "FWFTBW", "Fire Weather Planning Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", ".DISCUSSION...", "FLZ050-020900-", "Pinellas-", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireGLF_4am", "productType":"GLF", "commentary": "Checking product expire time for GLF, with 400 AM issuance.", "comboFlag": 0, "cmdLineVars": "{('Product Issuance', 'productIssuance'): '400 AM', ('Groupings', 'groupings'): 'West 1/2:East 1/2'}", "checkStrings": [ "UFUS42 KTBW 010800", "GLFABC", "LSZ260-012100-", "Open Lakes Forecast for Statename", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "LSZ261-012100-", ], }, { "name":"ExpireGLF_10am", "productType":"GLF", "commentary": "Checking product expire time for GLF, with 1000 AM issuance.", "comboFlag": 0, "cmdLineVars": "{('Product Issuance', 'productIssuance'): '1000 AM', ('Groupings', 'groupings'): 'West 1/2:East 1/2'}", "checkStrings": [ "UFUS42 KTBW 010800", "GLFABC", "LSZ260-012100-", "Open Lakes Forecast for Statename", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "LSZ261-012100-", ], }, { "name":"ExpireGLF_4pm", "productType":"GLF", "commentary": "Checking product expire time for GLF, with 400 PM issuance.", "comboFlag": 0, "cmdLineVars": "{('Product Issuance', 'productIssuance'): '400 PM', ('Groupings', 'groupings'): 'West 1/2:East 1/2'}", "checkStrings": [ "UFUS42 KTBW 010800", "GLFABC", "LSZ260-020900-", "Open Lakes Forecast for Statename", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "LSZ261-020900-", ], }, { "name":"ExpireGLF_10pm", "productType":"GLF", "commentary": "Checking product expire time for GLF, with 1000 PM issuance.", "comboFlag": 0, "cmdLineVars": "{('Product Issuance', 'productIssuance'): '1000 PM', ('Groupings', 'groupings'): 'West 1/2:East 1/2'}", "checkStrings": [ "UFUS42 KTBW 010800", "GLFABC", "LSZ260-020900-", "Open Lakes Forecast for Statename", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "LSZ261-020900-", ], }, { "name":"ExpireNSH_430am", "productType":"NSH", "commentary": "Checking product expire time for NSH, with 430 AM issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): '430 AM', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "UFUS42 KTBW 010800", "NSHABC", "Nearshore Marine Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "For waters within five nautical miles of shore on Lake (name)", "GMZ870-011600-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireNSH_amU", "productType":"NSH", "commentary": "Checking product expire time for NSH, with Morning Update issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "UFUS42 KTBW 010800", "NSHABC", "Nearshore Marine Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "For waters within five nautical miles of shore on Lake (name)", "GMZ870-012200-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireNSH_430pm", "productType":"NSH", "commentary": "Checking product expire time for NSH, with 430 PM issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): '430 PM', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "UFUS42 KTBW 010800", "NSHABC", "Nearshore Marine Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "For waters within five nautical miles of shore on Lake (name)", "GMZ870-020400-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireNSH_pmU", "productType":"NSH", "commentary": "Checking product expire time for NSH, with Evening Update issuance.", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Evening Update', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "UFUS42 KTBW 010800", "NSHABC", "Nearshore Marine Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "For waters within five nautical miles of shore on Lake (name)", "GMZ870-021000-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireOFF_4am", "productType":"OFF", "commentary": "Checking product expire time for OFF, with 400 AM issuance.", "cmdLineVars": "{('Product Issuance', 'productIssuance'): '400 AM', ('Issued By', 'issuedBy'): None}", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "checkStrings": [ "UFUS42 KTBW 010800", "OFFABC", "Offshore Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "400 AM EST Mon Feb 1 2010", "-012100-", "400 AM EST Mon Feb 1 2010", ".SYNOPSIS...", "GMZ870-012100-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "400 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireOFF_4pm", "productType":"OFF", "commentary": "Checking product expire time for OFF, with 400 PM issuance.", "cmdLineVars": "{('Product Issuance', 'productIssuance'): '400 PM', ('Issued By', 'issuedBy'): None}", "comboFlag": 1, "combinations": [(["GMZ870"],"")], "checkStrings": [ "UFUS42 KTBW 010800", "OFFABC", "Offshore Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "400 PM EST Mon Feb 1 2010", "-020900-", "400 PM EST Mon Feb 1 2010", ".SYNOPSIS...", "GMZ870-020900-", "Waters from Tarpon Springs to Suwannee River FL out 20 to 60 NM-", "400 PM EST Mon Feb 1 2010", ], }, { "name":"ExpirePFM_am", "productType":"PFM", "commentary": "Checking product expire time for PFM, with Morning issuance.", "comboFlag": 0, "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }", "internalStrip": 0, "fileChanges": [ ("PFM__Definition", "TextUtility", "add", pfm1, "delete"), ], "checkStrings": [ "FOUS52 KTBW 010800", "PFMTBW", "Point Forecast Matrices", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ050-012100-", "GFE TEST", "35.00N 90.00W Elev. 35 ft", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpirePFM_pm", "productType":"PFM", "commentary": "Checking product expire time for PFM, with Afternoon issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon', ('Issued By', 'issuedBy'): None }", "internalStrip": 0, "fileChanges": [ ("PFM__Definition", "TextUtility", "add", pfm1, "delete"), ], "checkStrings": [ "FOUS52 KTBW 010800", "PFMTBW", "Point Forecast Matrices", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ050-020900-", "GFE TEST", "35.00N 90.00W Elev. 35 ft", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireSFT_am", "productType":"SFT", "commentary": "Checking product expire time for SFT, with Morning issuance.", "comboFlag": 0, "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FPUS62 KTBW 010800", "SFTTBW", "STZ000-012200-", "Tabular State Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", ], }, { "name":"ExpireSFT_pm", "productType":"SFT", "commentary": "Checking product expire time for SFT, with Afternoon issuance.", "comboFlag": 1, "combinations": [(["FLZ050"],"")], "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon', ('Issued By', 'issuedBy'): None }", "checkStrings": [ "FPUS62 KTBW 010800", "SFTTBW", "STZ000-021000-", "Tabular State Forecast for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", ], }, { "name": "ExpireZFP_am", "productType":"ZFP", "commentary": "Checking product expire time for ZFP, with Morning issuance.", "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning', ('Issued By', 'issuedBy'): None }", "comboFlag": 1, "combinations": [(["FLZ139"],"")], "checkStrings": [ "FPUS52 KTBW 010800", "ZFPTBW", "Zone Forecast Product for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ139-012100-", "Levy-", "300 AM EST Mon Feb 1 2010", ], }, { "name": "ExpireZFP_amP1st", "productType":"ZFP", "commentary": "Checking product expire time for ZFP, with Morning with Pre-1st Period issuance.", "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning with Pre-1st Period', ('Issued By', 'issuedBy'): None }", "comboFlag": 1, "combinations": [(["FLZ139"],"")], "checkStrings": [ "FPUS52 KTBW 010800", "ZFPTBW", "Zone Forecast Product for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ139-012100-", "Levy-", "300 AM EST Mon Feb 1 2010", ], }, { "name": "ExpireZFP_amU", "productType":"ZFP", "commentary": "Checking product expire time for ZFP, with Morning Update issuance.", "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Morning Update', ('Issued By', 'issuedBy'): None }", "comboFlag": 1, "combinations": [(["FLZ139"],"")], "checkStrings": [ "FPUS52 KTBW 010800", "ZFPTBW", "Zone Forecast Product for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ139-012100-", "Levy-", "300 AM EST Mon Feb 1 2010", ], }, { "name": "ExpireZFP_pmU", "productType":"ZFP", "commentary": "Checking product expire time for ZFP, with Afternoon Update issuance.", "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon Update', ('Issued By', 'issuedBy'): None }", "comboFlag": 1, "combinations": [(["FLZ139"],"")], "checkStrings": [ "FPUS52 KTBW 010800", "ZFPTBW", "Zone Forecast Product for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ139-012100-", "Levy-", "300 AM EST Mon Feb 1 2010", ], }, { "name": "ExpireZFP_pm", "productType":"ZFP", "commentary": "Checking product expire time for ZFP, with Afternoon issuance.", "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon', ('Issued By', 'issuedBy'): None }", "comboFlag": 1, "combinations": [(["FLZ139"],"")], "checkStrings": [ "FPUS52 KTBW 010800", "ZFPTBW", "Zone Forecast Product for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ139-020900-", "Levy-", "300 AM EST Mon Feb 1 2010", ], }, { "name": "ExpireZFP_pmP1st", "productType":"ZFP", "commentary": "Checking product expire time for ZFP, with Afternoon with Pre-1st Period issuance.", "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Afternoon with Pre-1st Period', ('Issued By', 'issuedBy'): None }", "comboFlag": 1, "combinations": [(["FLZ139"],"")], "checkStrings": [ "FPUS52 KTBW 010800", "ZFPTBW", "Zone Forecast Product for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ139-020900-", "Levy-", "300 AM EST Mon Feb 1 2010", ], }, { "name": "ExpireZFP_eU", "productType":"ZFP", "commentary": "Checking product expire time for ZFP, with Evening Update issuance.", "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Evening Update', ('Issued By', 'issuedBy'): None }", "comboFlag": 1, "combinations": [(["FLZ139"],"")], "checkStrings": [ "FPUS52 KTBW 010800", "ZFPTBW", "Zone Forecast Product for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ139-020900-", "Levy-", "300 AM EST Mon Feb 1 2010", ], }, { "name": "ExpireZFP_emU", "productType":"ZFP", "commentary": "Checking product expire time for ZFP, with Early Morning Update issuance.", "cmdLineVars": "{('Product Issuance', 'productIssuance'): 'Early Morning Update', ('Issued By', 'issuedBy'): None }", "comboFlag": 1, "combinations": [(["FLZ139"],"")], "checkStrings": [ "FPUS52 KTBW 010800", "ZFPTBW", "Zone Forecast Product for Florida", "National Weather Service Tampa Bay Ruskin FL", "300 AM EST Mon Feb 1 2010", "FLZ139-010900-", "Levy-", "300 AM EST Mon Feb 1 2010", ], }, { "commentary": "Deleting hazard grids.", "name": "Cleanup", "productType": None, "checkStrings": [], "clearHazardsTable": 1, }, ] import TestScript def testScript(self, dataMgr): gridsStartTime = self.getAbsFromLocal(2010, 1, 1, 0, 0) drtTime = self.getAbsFromLocal(2010, 1, 1, 4, 0) defaults = { "gridsStartTime": "20100116_0500", "drtTime": "20100201_0800", "database": "_GRID__Fcst_00000000_0000", "createGrids": [], "deleteGrids": [("Fcst", "Hazards", "SFC", "all", "all")], "publishGrids": 0, "decodeVTEC": 0, "orderStrings": 1, } return TestScript.generalTestScript(self, dataMgr, scripts, defaults)