AIFDR/tsudat2-client — Issue #71: scenario.wave_height_delta not persisted correctly.
Author: jj0hns0n
Created: 2011-10-11 20:14:10+00:00
State: open
Labels: Bug, Dev tasks, High Priority

I posted a scenario using wave_height_delta 0.08 m, see:

{"model":"tsudat.scenario","fields":{"name":"testbart2","use_aoi":false,"raster_resolution":25,"output_layers":["depth","stage","velocity"],"output_max":true,"hazard_point":234,"source_zone":13,"wave_height_delta":0.08,"wave_height":0.04,"return_period":25,"event":22876,"project":860,"default_friction_value":0.01,"bounding_polygon_maxarea":1000000,"initial_tidal_stage":0,"start_time":0,"end_time":3600,"smoothing_param":0.1,"model_setup":"T"}}

but when I restore it I get a different value (0):

http://tsudat.nci.org.au/tsudat/scenario/?project=860

[{"pk": 689, "model": "tsudat.scenario", "fields": {"anuga_abort_message": null, "anuga_log_message": null, "event": 22876, "tsudat_payload": null, "anuga_start_timestamp": null, "output_layers": [1, 2, 3], "wave_height_delta": 0, "tsudat_start_timestamp": "2011-10-07 21:40:45", "output_max": true, "initial_tidal_stage": 0.0, "map": null, "anuga_payload": null, "raster_resolution": 25, "anuga_instance": null, "hazard_point": 234, "start_time": 0, "tsudat_end_timestamp": null, "anuga_end_timestamp": null, "anuga_status": "INIT", "anuga_log_timestamp": null, "return_period": 25, "use_aoi": false, "name": "testbart2", "model_setup": "T", "source_zone": 13, "project": 860, "smoothing_param": 0.10000000000000001, "end_time": 3600, "wave_height": 0.040000000000000001, "default_friction_value": 0.01}}]