 	ON model_draft.ego_supply_rea_m4_jnt_temp USING gist (geom);
 
 -- ego scenario log (version,io,schema_name,table_name,script_name,comment)
--- SELECT ego_scenario_log('v0.3.0','temp','model_draft','ego_supply_rea_m4_jnt_temp','ego_dp_rea_m4.sql',' ');
+SELECT ego_scenario_log('v0.3.0','temp','model_draft','ego_supply_rea_m4_jnt_temp','ego_dp_rea_m4.sql',' ');
 
 
 -- loop for grid_district

	ON model_draft.ego_supply_rea_m4_dea_temp USING gist (geom);

-- ego scenario log (version,io,schema_name,table_name,script_name,comment)
-- SELECT ego_scenario_log('v0.3.0','temp','model_draft','ego_supply_rea_m4_dea_temp','ego_dp_rea_m4.sql',' ');

DROP TABLE IF EXISTS 	model_draft.ego_supply_rea_m4_grid_wpa_temp CASCADE;
CREATE TABLE 		model_draft.ego_supply_rea_m4_grid_wpa_temp (

ALTER TABLE model_draft.ego_supply_rea_m4_rest_mview OWNER TO oeuser;  

-- ego scenario log (version,io,schema_name,table_name,script_name,comment)
SELECT ego_scenario_log('v0.3.0','output','model_draft','ego_supply_rea_m4_rest_mview','ego_dp_rea_m4.sql',' ');


-- Drop temp
