-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.FEMA_MISSION_ASSIGNMENT_INDEX (
    REQUESTED_ASSISTANCE_DESCRIPTION TEXT,
    CITY TEXT,
    STATE_COST_SHARE_PERCENT FLOAT,
    STATE_GEO_ID TEXT,
    OBLIGATION_AMOUNT FLOAT,
    FEMA_RECORD_ID TEXT,
    STATE_COST_SHARE_AMOUNT FLOAT,
    ZIP_GEO_ID TEXT,
    PROJECTED_COMPLETION_DATE DATE,
    REQUESTED_DATE DATE,
    REQUESTED_AMOUNT FLOAT,
    FEDERAL_COST_SHARE_PERCENT FLOAT,
    OBLIGATION_DATE DATE,
    STATEMENT_OF_WORK TEXT,
    MISSION_ASSIGNMENT_ID TEXT,
    FEDERAL_COST_SHARE_AMOUNT FLOAT,
    DISASTER_ID TEXT,
    AMENDMENT_ID NUMBER,
    REQUESTING_AGENCY TEXT
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."FEMA_MISSION_ASSIGNMENT_INDEX" (REQUESTED_ASSISTANCE_DESCRIPTION, CITY, STATE_COST_SHARE_PERCENT, STATE_GEO_ID, OBLIGATION_AMOUNT, FEMA_RECORD_ID, STATE_COST_SHARE_AMOUNT, ZIP_GEO_ID, PROJECTED_COMPLETION_DATE, REQUESTED_DATE, REQUESTED_AMOUNT, FEDERAL_COST_SHARE_PERCENT, OBLIGATION_DATE, STATEMENT_OF_WORK, MISSION_ASSIGNMENT_ID, FEDERAL_COST_SHARE_AMOUNT, DISASTER_ID, AMENDMENT_ID, REQUESTING_AGENCY) VALUES ('Deploy and provide Temporary Emergency Power SME''s to State and/or local jurisdictions to aid in accomplishing their emergency power mission, at the direction and coordination of FEMA.', NULL, 0.0, NULL, 10000.0, 'bba9a6ab-25c0-4da1-be01-aad777adb402', 0.0, NULL, '2012-07-05', '2012-07-01', 10000.0, 1.0, '2012-07-01', 'Deploy Type IV Temporary Emergency Power support personnel, to include deployment of one Subject Matter Expert five (5) 249th EN BN personnel (military) to provide limited technical support for localized events within a State or US Territory.  Coordinate with local government representatives to establish relationships and assistance in developing their emergency power requirements and/or needs.  Advise on the proper set-up, lay-out, and management generator staging area for FEMA generators under 800 kW and associated Bill of Materials (BOM) (e.g. wires, connectors, and small tools).  Conduct critical facilities pre-installation inspections or conduct safety inspections of installed generators.

Anticipated assessment rates assume the critical facilities location and POC information are correct, and the facility POC¿s are available.  Generators and associated BOM will be supplied by FEMA and/or the local government.  The local government must have the capability to load/unload, prep, haul, install, operate, fuel, maintain, repair, and make generators fully mission capable before they are returned to FEMA.  

All equipment and supply purchases must be coordinated with FEMA.  Prior FEMA approval is necessary to ensure reimbursement.', '3345EMWVCOELRD01', 10000.0, '3345', 0, 'COE-LRD'), ('Amend to increase funding from $3000 to $5000
Activate Department of Energy (DOE) to the FEMA HQ National Response Coordination Center (NRCC) to perform 
the duties of emergency Support Function (ESF) #12 in support of post-declaration disaster operations in response to the severe weather in the Ohio Valley and Mid-Atlantic states.
', 'Washington', 0.0, 'geoId/11', 2000.0, '8d97bf5b-c7f9-481c-9e7e-56ca1e3921c8', 0.0, 'zip/20472', '2012-07-07', '2012-07-02', 2000.0, 1.0, '2012-07-02', 'Post-Declaration activation for appropriate DOE personnel to perform the functions of ESF #12 in the NRCC supporting National-level coordination efforts and Regional response activities at the direction and coordination of FEMA, beginning 6/30/2012.  This activation may include overtime and administrative costs.  Equipment purchases are not authorized under this Mission Assignment.  MA task orders will be issued for specific personnel.
', '3345EMWVDOE01', 2000.0, '3345', 1, 'DOE'), ('9/25/2012, Amendment #2: Add funding to cover costs of OFA activities.

Amendment #1: Amend to increase funding from $3000 to $5000

Activate Department of Energy (DOE) to the FEMA HQ National Response Coordination Center (NRCC) to perform 
the duties of emergency Support Function (ESF) #12 in support of post-declaration disaster operations in response to the severe weather in the Ohio Valley and Mid-Atlantic states.
', 'Washington', 0.0, 'geoId/11', 381.37, '98139914-ea4a-46d8-9e50-6bad04ad7105', 0.0, 'zip/20472', '2012-07-07', '2012-09-26', 381.37, 1.0, '2012-10-01', 'Post-Declaration activation for appropriate DOE personnel to perform the functions of ESF #12 in the NRCC supporting National-level coordination efforts and Regional response activities at the direction and coordination of FEMA, beginning 6/30/2012.  This activation may include overtime and administrative costs.  Equipment purchases are not authorized under this Mission Assignment.  MA task orders will be issued for specific personnel.
', '3345EMWVDOE01', 381.37, '3345', 2, 'DOE'), ('Activate U.S. Army Corps of Engineers (USACE) to the FEMA Region V Regional Response Coordination Center (RRCC), IMATs and or IOF to perform duties of Emergency Support Function (ESF) #3, in support of disaster operations in response to Severe Storms in Ohio.', NULL, 0.0, NULL, 6000.0, '96652112-6336-4fe4-969e-09a2de04d475', 0.0, NULL, '2012-07-07', '2012-07-01', 6000.0, 1.0, '2012-07-01', 'Activation for appropriate USACE personnel to perform the functions of ESF #3 at the direction and coordination of FEMA. This activation may include support to the FEMA Region V RRCC,IOF, IMATs, and other teams (which may include support to ESF #5). ESF #3 Team Leader and support staff may be used, including Prime Power and site-specific administrative support, and / or other mission Subject Matter Experts, at the direction and coordination of FEMA. This may also include the activation of ESF #3 Support Agency representatives to serve as liaisons to the ESF #3 Management Team for public work/infrastructure assistance as required. Pre-Declaration MAs that exceed 7 to 10 days will require FEMA approval. A subsequent MA may be issued for Post-Declaration activation if necessary. Equipment purchases are not authorized under this Mission Assignment. MA task orders will be issued for specific personnel requirements, location(s), dates, and duration of assignment(s).', '3346EMOHCOELRD01', 6000.0, '3346', 0, 'COE-LRD'), ('Amendment #3: De-obligate $226,969.84 per USACE email from CJ Infantino dated 04/08/13 to close out this MA.

Amendment #2: Push date out to 10 July 2012 per USACE request.

Amendment #1: Request additional funding of $250,000 to continue assessment, install and maintenance of generators as necessary.  

Activate Type 3 elements associated with the Temporary Emergency Power mission to provide for event specific planning and preparation as directed by FEMA.', 'Columbus', nan, 'geoId/39', -226969.84, '892185e9-4374-4e7e-a81b-15ece856ccb7', nan, 'zip/43218', '2012-07-10', '2013-04-11', -226969.84, nan, '2013-04-22', 'actions include deployment of Planning Response Team (PRT) and 249th deployment, State planning coordination,
generator shipment and preparation, Deployable Tactical Operating System (DTOS) support, Advance Contracting Initiative (ACI) contractor mobilization and pre-installation actions. Coordinate with State representatives to establish relationships and confirm procedures for emergency power requirements and/or needs. Implement ACI or other contracting process, as required, to position generators and related resources. Generator shipment includes shipment and transportation (in coordination with FEMA Logistics, as appropriate) to Federal/State generator operations staging area. Assets will be returned to the Distribution Center (DC)/Remote Storage Site (RSS) stock fully mission capable in coordination with FEMA Logistics. Additionally, provide maintenance support to the DC/RSS to ensure operational readiness of generators. Generators and associated Bill of Materials (BOM) (e.g. wires, connectors and load banks) will be supplied by FEMA, Department of Defense, and/or leased from a contractor.', '3346EMOHCOELRD02', nan, '3346', 3, 'COE-LRD');