{ "name": "Script", "displayName": "Script", "description": "", "category": "", "helpUrl": "https://gis.kwl.ca/arcgis/rest/directories/arcgisoutput/FlowWorks/Toronto_RainfallAndPeriod_GPServer/FlowWorks_Toronto_RainfallAndPeriod/Script.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "dctJSON", "dataType": "GPString", "displayName": "dctJSON", "description": "JSON string with data points for rains and periods = if it's empty - DEBUG_MODE = true - it will use 6 hardcoded points", "direction": "esriGPParameterDirectionInput", "defaultValue": { "fields": [ { "name": "TOTAL_RAIN_MM", "type": "esriFieldTypeDouble", "alias": "TotalRainfall" }, { "name": "RETURN_FREQ", "type": "esriFieldTypeString", "alias": "ReturnPeriod" }, { "name": "RG_ID", "type": "esriFieldTypeString", "alias": "RG_ID" } ], "geometryType": "esriGeometryPoint", "features": [ { "geometry": { "x": -79.47712314, "y": 43.64329398, "spatialReference": {"wkid": 4326} }, "attributes": { "X_Coord": 306645.6915, "Y_Coord": 4833490.192, "RG_ID": "RG_001", "START": "10/28/2015 02:40:00 AM", "END": "10/28/2015 06:55:00 PM", "HOUR": "16:20", "MINUTE": "980", "TOTAL_RAIN_MM": 54.86, "RETURN_FREQ": "2yr to 5yr" } }, { "geometry": { "x": -79.45296471, "y": 43.65029287, "spatialReference": {"wkid": 4326} }, "attributes": { "X_Coord": 308594.3386, "Y_Coord": 4834268.541, "RG_ID": "RG_002", "START": "10/28/2015 02:40:00 AM", "END": "10/28/2015 06:35:00 PM", "HOUR": "16:00", "MINUTE": "960", "TOTAL_RAIN_MM": 56.13, "RETURN_FREQ": "2yr to 5yr" } }, { "geometry": { "x": -79.42252023, "y": 43.6581145, "spatialReference": {"wkid": 4326} }, "attributes": { "X_Coord": 311049.4843, "Y_Coord": 4835139.313, "RG_ID": "RG_003", "START": "", "END": "", "HOUR": "", "MINUTE": "", "TOTAL_RAIN_MM": "", "RETURN_FREQ": "" } }, { "geometry": { "x": -79.4019565, "y": 43.68490386, "spatialReference": {"wkid": 4326} }, "attributes": { "X_Coord": 312704.6294, "Y_Coord": 4838117.192, "RG_ID": "RG_004", "START": "", "END": "", "HOUR": "", "MINUTE": "", "TOTAL_RAIN_MM": "", "RETURN_FREQ": "" } }, { "geometry": { "x": -79.37929689, "y": 43.66357394, "spatialReference": {"wkid": 4326} }, "attributes": { "X_Coord": 314534.9786, "Y_Coord": 4835749.982, "RG_ID": "RG_005", "START": "10/28/2015 02:35:00 AM", "END": "10/28/2015 07:35:00 PM", "HOUR": "17:05", "MINUTE": "1025", "TOTAL_RAIN_MM": 63.5, "RETURN_FREQ": "5yr to 10yr" } }, { "geometry": { "x": -79.33114479, "y": 43.67672013, "spatialReference": {"wkid": 4326} }, "attributes": { "X_Coord": 318415.5825, "Y_Coord": 4837217.214, "RG_ID": "RG_006", "START": "10/28/2015 02:40:00 AM", "END": "10/28/2015 08:00:00 PM", "HOUR": "17:25", "MINUTE": "1045", "TOTAL_RAIN_MM": 59.44, "RETURN_FREQ": "5yr to 10yr" } } ], "sr": {"wkid": 4326} }, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "exportFormat", "dataType": "GPString", "displayName": "exportFormat", "description": "determines if output file is pdf or png", "direction": "esriGPParameterDirectionInput", "defaultValue": "pdf", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "extent", "dataType": "GPString", "displayName": "extent", "description": "extent for map", "direction": "esriGPParameterDirectionInput", "defaultValue": { "xmin": 311597, "ymin": 4823750, "xmax": 316931, "ymax": 4862945, "spatialReference": {"wkid": 4326} }, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "title", "dataType": "GPString", "displayName": "title", "description": "title for report", "direction": "esriGPParameterDirectionInput", "defaultValue": "September 28, 2015 STORM EVENT - RAINFALL DATA", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "subtitle", "dataType": "GPString", "displayName": "subtitle", "description": "subtitle for report", "direction": "esriGPParameterDirectionInput", "defaultValue": "The rain event started Oct 28, 2015 at 2:30 AM and ended on Oct 29, 2015 at 6:30 PM Eastern Standard Time", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Output_File", "dataType": "GPDataFile", "displayName": "Output_File", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }