I am working on adding a River Gauge layer to the Watch Center Solution. I have my feed completed and am working on mapping the fields. I am using the Hurricane feed and hurricane fields to help me with the arcade expressions.
When(
$feature.status == 'action', 'Action Stage',
$feature.status == 'minor', 'Minor Flood Stage',
$feature.status == 'moderate', 'Moderate Flood Stage',
$feature.status == 'major', 'Major Flood Stage')
This mimics the alerttype field used with the hurricane feed:
When(
$feature["STORMTYPE"] == 'TD', 'Tropical Depression',
$feature["STORMTYPE"] == 'TS', 'Tropical Storm',
$feature["STORMTYPE"] == 'HU', 'Hurricane',
$feature["STORMTYPE"] == 'DB', 'Disturbance',
$feature["STORMTYPE"] == 'STD', 'Subtropical Depression',
$feature["STORMTYPE"] == 'SS', 'Subtropical System',
$feature["STORMTYPE"] == 'STS', 'Subtropical System',
$feature["STORMTYPE"] == 'WV', 'Tropical Wave',
$feature["STORMTYPE"] == 'EX', 'Extratropical Storm',
'Typhoon')
I keep getting this error when I test the arcade expression - Test execution error: Compilation error - Line : 1, 0: Call with wrong number of parameters. Verify test data.
I get this error on the velocity side -
I would appreciate any thoughts or assistance as I try to figure out