Presentation is loading. Please wait.

Presentation is loading. Please wait.

Office of Enterprise Technology Visualization of Historic Rainfall

Similar presentations


Presentation on theme: "Office of Enterprise Technology Visualization of Historic Rainfall"— Presentation transcript:

1 Office of Enterprise Technology Visualization of Historic Rainfall
September 23, 2015 All content in [] is something that needs to be filled in by the author and the brackets removed. All other slide elements and components should be left as is. Presented By: Justin W. Conklin, Database Administrator OET Vision: To be recognized as a first-class technology organization by the customers we serve.

2 Background Flood Control District of Maricopa County Flood Warning Branch ALERT Map. 313 Rain Gages throughout Maricopa County and beyond logging rainfall totals in near real time. Historic data from 1980 to present Google Maps application to visualize data. 9/23/2015

3 The Problem Google Maps is very good for viewing simple data, getting directions, etc. Lack powerful analytical capabilities of Esri software and programming APIs. How to effectively visualize 35 years worth of rainfall data. How to leverage the spatial analysis and geoprocessing capabilities of Esri and make the final product interoperable with the Google Maps application. 9/23/2015

4 The Solution (server side)
Geoprocessing Service (Python) Query NovoStar 5 database, download comma delimited values (php) Create X, Y event Layer Interpolate points (Natural Neighbor) Export to .png 9/23/2015

5 The Solution (server side)
for line in urllib2.urlopen(" + Month + "&DE=" + Day + "&YE=" + Year + "&TE=" + TimeEnd + "&TS=" + TimeStart): if not "<" in line and not ":" in line and not "----" in line: RainRaw.write(line) RainRaw.close result = arcpy.MakeXYEventLayer_management("\\\\fcdsgis.flood.maricopa.gov\\GISWork\\jwc\\InterpolateRainfall\\RainRaw.txt", "Xcoord", "Ycoord", "RainPoints", sr) result = arcpy.NaturalNeighbor_3d("\\\\fcdsgis\\giswork\\jwc\\InterpolateRainfall\\InterpolatedRainfall.gdb\\Gauges", "RainTotal", "\\\\fcdsgis\\giswork\\jwc\\InterpolateRainfall\\InterpolatedRainfall.gdb\\RainRaster", " ") result = arcpy.mapping.ExportToPNG(map_document = mxd, out_png = r"\\fcdsarcgis04\arcgisserver\directories\arcgisjobs\flood\interpolaterain_gpserver\Rain.png", transparent_color = "255, 255, 255") 9/23/2015

6 The Solution (client side)
JavaScript Call Geoprocessing task with user supplied parameters Add overlay to map <script src=" var gpURL = " var gp = new Geoprocessor(gpURL); dom.byId(“rainButton").onclick = executeGP; 9/23/2015

7 The Solution (client side)
function executeGP() { var params = { "Month":document.getElementById("ME").value, "Day":document.getElementById("DE").value, "Year":document.getElementById("YE").value, "TimeEnd":document.getElementById("TE").value, "TimeStart":document.getElementById("TS").value }; gp.submitJob(params, completeCallback); function completeCallback(jobInfo) { var JobID = jobInfo.jobId; var pngURL = " + Math.floor((Math.random() * 100) ) initialize(pngURL); function initialize(RainLayer) { rainOverlay = new google.maps.GroundOverlay(RainLayer, imageBounds); rainOverlay.setMap(map); 9/23/2015

8 Demonstration http://alert.fcd.maricopa.gov/alert/Google/v3/gmap.html
9/23/2015

9 Anthem Storm - July 31, 2012 Interpolated Surface Point Data
Storm Report: 9/23/2015

10 South Mountain Storm- August 12, 2014
Storm Report: 9/23/2015

11 August 19, 2014 Storm Report: 9/23/2015

12 Wickenburg Storm - July 18, 2015
1 Hour Rainfall Totals 5pm – 6pm Storm Report: 9/23/2015

13 Conclusion ArcMap API for JavaScript and Google Maps API working together. Leverages analytical capabilities of ArcGIS. Effectively visualize 35 years of rainfall data. 9/23/2015

14 Questions? http://fcd.maricopa.gov
9/23/2015

15 Flash Flood Potential Quantitative Precipitation Forecast (QPF)
Assigns a value 0-4 for each forecast zone Updated every hour Python script Read in text values from ffp.txt Update forecast zone feature class Export to .kml 9/23/2015

16 Flash Flood Potential 9/23/2015

17 Flood Warning Messages
Using GovDelivery Subscription based ASP.NET input Update feature class Export to kml 9/23/2015


Download ppt "Office of Enterprise Technology Visualization of Historic Rainfall"

Similar presentations


Ads by Google