Changeset 9209
- Timestamp:
- Jun 23, 2014, 12:34:58 AM (10 years ago)
- Location:
- trunk/anuga_core/demos/cairns
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/demos/cairns/cairns_fixed_wave.qgs
r9207 r9209 24 24 </destinationsrs> 25 25 </mapcanvas> 26 <legend updateDrawingOrder="true" >27 <legendlayer drawingOrder="-1" open=" true" checked="Qt::Checked" name="coast_contour" showFeatureCount="0">28 <filegroup open=" true" hidden="false">26 <legend updateDrawingOrder="true" activeLayer="cairns_fixed_wave_flood20140623001004496"> 27 <legendlayer drawingOrder="-1" open="false" checked="Qt::Checked" name="coast_contour" showFeatureCount="0"> 28 <filegroup open="false" hidden="false"> 29 29 <legendlayerfile isInOverview="0" layerid="coast_contour20140619121652371" visible="1"/> 30 30 </filegroup> 31 31 </legendlayer> 32 <legendlayer drawingOrder="-1" open="false" checked="Qt:: Unchecked" name="flooddepth" showFeatureCount="0">32 <legendlayer drawingOrder="-1" open="false" checked="Qt::Checked" name="flood_depth" showFeatureCount="0"> 33 33 <filegroup open="false" hidden="false"> 34 <legendlayerfile isInOverview="0" layerid=" flood20140618233428952" visible="0"/>34 <legendlayerfile isInOverview="0" layerid="cairns_fixed_wave_flood20140623001004496" visible="1"/> 35 35 </filegroup> 36 36 </legendlayer> 37 <legendlayer drawingOrder="-1" open="false" checked="Qt:: Unchecked" name="max_velocity" showFeatureCount="0">37 <legendlayer drawingOrder="-1" open="false" checked="Qt::Checked" name="max_velocity" showFeatureCount="0"> 38 38 <filegroup open="false" hidden="false"> 39 <legendlayerfile isInOverview="0" layerid="cairns_fixed_wave_velocity_max20140618233225048" visible=" 0"/>39 <legendlayerfile isInOverview="0" layerid="cairns_fixed_wave_velocity_max20140618233225048" visible="1"/> 40 40 </filegroup> 41 41 </legendlayer> 42 <legendlayer drawingOrder="-1" open="false" checked="Qt::Checked" name=" elevation" showFeatureCount="0">42 <legendlayer drawingOrder="-1" open="false" checked="Qt::Checked" name="cairns_elevation_slope" showFeatureCount="0"> 43 43 <filegroup open="false" hidden="false"> 44 <legendlayerfile isInOverview="0" layerid="cairns_ fixed_wave_elevation_max20140618233339039" visible="1"/>44 <legendlayerfile isInOverview="0" layerid="cairns_elevation_slope20140623000645950" visible="1"/> 45 45 </filegroup> 46 46 </legendlayer> … … 53 53 <filegroup open="false" hidden="false"> 54 54 <legendlayerfile isInOverview="0" layerid="cairns_fixed_wave_stage_max20140618233338237" visible="0"/> 55 </filegroup> 56 </legendlayer> 57 <legendlayer drawingOrder="-1" open="false" checked="Qt::Unchecked" name="elevation" showFeatureCount="0"> 58 <filegroup open="false" hidden="false"> 59 <legendlayerfile isInOverview="0" layerid="cairns_fixed_wave_elevation_max20140618233339039" visible="0"/> 55 60 </filegroup> 56 61 </legendlayer> … … 84 89 <RasterClassificationItem layerId="cairns_fixed_wave_elevation_max20140618233339039" userText="" color="#ca0020" text="100.000000"/> 85 90 </LayerItem> 91 <LayerItem layerId="cairns_elevation_slope20140623000645950" userText="" style="subgroup" text="cairns_elevation_slope" showFeatureCount="0"> 92 <RasterClassificationItem layerId="cairns_elevation_slope20140623000645950" userText="" color="#000000" text="0"/> 93 <RasterClassificationItem layerId="cairns_elevation_slope20140623000645950" userText="" color="#ffffff" text="213.164"/> 94 </LayerItem> 95 <LayerItem layerId="cairns_fixed_wave_flood20140623001004496" userText="" style="subgroup" text="cairns_fixed_wave_flood" showFeatureCount="0"> 96 <RasterClassificationItem layerId="cairns_fixed_wave_flood20140623001004496" userText="" color="#000000" text="0"/> 97 <RasterClassificationItem layerId="cairns_fixed_wave_flood20140623001004496" userText="" color="#ffffff" text="26.4094"/> 98 </LayerItem> 86 99 </Model> 87 <ComposerItem width="74.8531" x="3.00815" transparency="0" y="116.988" rotation="0" height=" 79.4" positionMode="0" frame="false" outlineWidth="0.3" zValue="4" lastValidViewScaleFactor="2.78673" uuid="{9ca87187-a045-47f6-a771-c4d02b008bc2}" id="" background="true" blendMode="0" positionLock="false">100 <ComposerItem width="74.8531" x="3.00815" transparency="0" y="116.988" rotation="0" height="118.2" positionMode="0" frame="false" outlineWidth="0.3" zValue="4" lastValidViewScaleFactor="2.78673" uuid="{9ca87187-a045-47f6-a771-c4d02b008bc2}" id="" background="true" blendMode="0" positionLock="false"> 88 101 <FrameColor alpha="255" red="0" blue="0" green="0"/> 89 102 <BackgroundColor alpha="255" red="255" blue="255" green="255"/> … … 155 168 <RasterClassificationItem layerId="flood20140618233428952" userText="" color="#253494" text="26.409400"/> 156 169 </LayerItem> 170 <LayerItem layerId="cairns_elevation_slope20140623000645950" userText="" style="subgroup" text="cairns_elevation_slope" showFeatureCount="0"> 171 <RasterClassificationItem layerId="cairns_elevation_slope20140623000645950" userText="" color="#000000" text="0"/> 172 <RasterClassificationItem layerId="cairns_elevation_slope20140623000645950" userText="" color="#ffffff" text="213.164"/> 173 </LayerItem> 174 <LayerItem layerId="cairns_fixed_wave_flood20140623001004496" userText="" style="subgroup" text="cairns_fixed_wave_flood" showFeatureCount="0"> 175 <RasterClassificationItem layerId="cairns_fixed_wave_flood20140623001004496" userText="" color="#000000" text="0"/> 176 <RasterClassificationItem layerId="cairns_fixed_wave_flood20140623001004496" userText="" color="#ffffff" text="26.4094"/> 177 </LayerItem> 157 178 </Model> 158 <ComposerItem width=" 35.7094" x="3.00815" transparency="0" y="116.988" rotation="0" height="49.4" positionMode="0" frame="false" outlineWidth="0.3" zValue="4" lastValidViewScaleFactor="2.78673" uuid="{93022da8-42e0-4eb2-89d0-ffb03af829dc}" id="" background="true" blendMode="0" positionLock="false">179 <ComposerItem width="54.6234" x="3.00815" transparency="0" y="116.988" rotation="0" height="88.2" positionMode="0" frame="false" outlineWidth="0.3" zValue="4" lastValidViewScaleFactor="2.78673" uuid="{93022da8-42e0-4eb2-89d0-ffb03af829dc}" id="" background="true" blendMode="0" positionLock="false"> 159 180 <FrameColor alpha="255" red="0" blue="0" green="0"/> 160 181 <BackgroundColor alpha="255" red="255" blue="255" green="255"/> … … 179 200 <LayerSet> 180 201 <Layer>coast_contour20140619121652371</Layer> 181 <Layer>flood20140618233428952</Layer>182 202 <Layer>cairns_fixed_wave_velocity_max20140618233225048</Layer> 183 203 <Layer>cairns_fixed_wave_elevation_max20140618233339039</Layer> … … 228 248 <RasterClassificationItem layerId="cairns_fixed_wave_velocity_max20140618233225048" userText="" color="#bd0026" text="14.488800"/> 229 249 </LayerItem> 250 <LayerItem layerId="cairns_elevation_slope20140623000645950" userText="" style="subgroup" text="cairns_elevation_slope" showFeatureCount="0"> 251 <RasterClassificationItem layerId="cairns_elevation_slope20140623000645950" userText="" color="#000000" text="0"/> 252 <RasterClassificationItem layerId="cairns_elevation_slope20140623000645950" userText="" color="#ffffff" text="213.164"/> 253 </LayerItem> 254 <LayerItem layerId="cairns_fixed_wave_flood20140623001004496" userText="" style="subgroup" text="cairns_fixed_wave_flood" showFeatureCount="0"> 255 <RasterClassificationItem layerId="cairns_fixed_wave_flood20140623001004496" userText="" color="#000000" text="0"/> 256 <RasterClassificationItem layerId="cairns_fixed_wave_flood20140623001004496" userText="" color="#ffffff" text="26.4094"/> 257 </LayerItem> 230 258 </Model> 231 <ComposerItem width="71.8281" x="3.00815" transparency="0" y="116.988" rotation="0" height=" 49.4" positionMode="0" frame="false" outlineWidth="0.3" zValue="4" lastValidViewScaleFactor="2.78673" uuid="{583e7989-c7bf-4430-b200-f4d4d34df58b}" id="" background="true" blendMode="0" positionLock="false">259 <ComposerItem width="71.8281" x="3.00815" transparency="0" y="116.988" rotation="0" height="88.2" positionMode="0" frame="false" outlineWidth="0.3" zValue="4" lastValidViewScaleFactor="2.78673" uuid="{583e7989-c7bf-4430-b200-f4d4d34df58b}" id="" background="true" blendMode="0" positionLock="false"> 232 260 <FrameColor alpha="255" red="0" blue="0" green="0"/> 233 261 <BackgroundColor alpha="255" red="255" blue="255" green="255"/> … … 278 306 </Composition> 279 307 </Composer> 280 <projectlayers layercount="7"> 281 <maplayer minimumScale="-4.65661e-10" maximumScale="1e+08" type="raster" hasScaleBasedVisibilityFlag="0"> 308 <projectlayers layercount="8"> 309 <maplayer minimumScale="0" maximumScale="1e+08" type="raster" hasScaleBasedVisibilityFlag="0"> 310 <id>cairns_elevation_slope20140623000645950</id> 311 <datasource>./cairns_elevation_slope</datasource> 312 <title></title> 313 <abstract></abstract> 314 <keywordList> 315 <value></value> 316 </keywordList> 317 <layername>cairns_elevation_slope</layername> 318 <srs> 319 <spatialrefsys> 320 <proj4>+proj=utm +zone=55 +south +ellps=WGS72 +towgs84=0,0,4.5,0,0,0.554,0.2263 +units=m +no_defs</proj4> 321 <srsid>2959</srsid> 322 <srid>32355</srid> 323 <authid>EPSG:32355</authid> 324 <description>WGS 72 / UTM zone 55S</description> 325 <projectionacronym>utm</projectionacronym> 326 <ellipsoidacronym>WGS72</ellipsoidacronym> 327 <geographicflag>false</geographicflag> 328 </spatialrefsys> 329 </srs> 330 <customproperties> 331 <property key="identify/format" value="Value"/> 332 </customproperties> 333 <provider>gdal</provider> 334 <pipe> 335 <rasterrenderer gradient="BlackToWhite" opacity="1" alphaBand="-1" type="singlebandgray" grayBand="1"> 336 <rasterTransparency/> 337 <contrastEnhancement> 338 <minValue>0</minValue> 339 <maxValue>213.164</maxValue> 340 <algorithm>StretchToMinimumMaximum</algorithm> 341 </contrastEnhancement> 342 </rasterrenderer> 343 <brightnesscontrast brightness="0" contrast="0"/> 344 <huesaturation colorizeGreen="128" colorizeOn="0" colorizeRed="255" colorizeBlue="128" grayscaleMode="0" saturation="0" colorizeStrength="100"/> 345 <rasterresampler maxOversampling="2"/> 346 </pipe> 347 <blendMode>0</blendMode> 348 </maplayer> 349 <maplayer minimumScale="0" maximumScale="1e+08" type="raster" hasScaleBasedVisibilityFlag="0"> 282 350 <id>cairns_fixed_wave_depth_max20140618233338702</id> 283 351 <datasource>./cairns_fixed_wave_depth_max.tif</datasource> … … 305 373 <provider>gdal</provider> 306 374 <pipe> 307 <rasterrenderer gradient="BlackToWhite" opacity=" 1" alphaBand="0" type="singlebandgray" grayBand="1">375 <rasterrenderer gradient="BlackToWhite" opacity="0.345098" alphaBand="-1" type="singlebandgray" grayBand="1"> 308 376 <rasterTransparency/> 309 377 <contrastEnhancement> … … 361 429 </colorrampshader> 362 430 </rastershader> 431 </rasterrenderer> 432 <brightnesscontrast brightness="0" contrast="0"/> 433 <huesaturation colorizeGreen="128" colorizeOn="0" colorizeRed="255" colorizeBlue="128" grayscaleMode="0" saturation="0" colorizeStrength="100"/> 434 <rasterresampler maxOversampling="2"/> 435 </pipe> 436 <blendMode>0</blendMode> 437 </maplayer> 438 <maplayer minimumScale="0" maximumScale="1e+08" type="raster" hasScaleBasedVisibilityFlag="0"> 439 <id>cairns_fixed_wave_flood20140623001004496</id> 440 <datasource>cairns_fixed_wave_flood.tif</datasource> 441 <title></title> 442 <abstract></abstract> 443 <keywordList> 444 <value></value> 445 </keywordList> 446 <layername>flood_depth</layername> 447 <srs> 448 <spatialrefsys> 449 <proj4>+proj=utm +zone=55 +south +ellps=WGS72 +towgs84=0,0,4.5,0,0,0.554,0.2263 +units=m +no_defs</proj4> 450 <srsid>2959</srsid> 451 <srid>32355</srid> 452 <authid>EPSG:32355</authid> 453 <description>WGS 72 / UTM zone 55S</description> 454 <projectionacronym>utm</projectionacronym> 455 <ellipsoidacronym>WGS72</ellipsoidacronym> 456 <geographicflag>false</geographicflag> 457 </spatialrefsys> 458 </srs> 459 <customproperties> 460 <property key="identify/format" value="Value"/> 461 </customproperties> 462 <provider>gdal</provider> 463 <pipe> 464 <rasterrenderer gradient="BlackToWhite" opacity="0.290196" alphaBand="-1" type="singlebandgray" grayBand="1"> 465 <rasterTransparency/> 466 <contrastEnhancement> 467 <minValue>0</minValue> 468 <maxValue>26.4094</maxValue> 469 <algorithm>StretchToMinimumMaximum</algorithm> 470 </contrastEnhancement> 363 471 </rasterrenderer> 364 472 <brightnesscontrast brightness="0" contrast="0"/> … … 474 582 <provider>gdal</provider> 475 583 <pipe> 476 <rasterrenderer opacity=" 1" alphaBand="-1" classificationMax="14.4888" classificationMinMaxOrigin="CumulativeCutFullExtentEstimated" band="1" classificationMin="0" type="singlebandpseudocolor">584 <rasterrenderer opacity="0.72549" alphaBand="-1" classificationMax="14.4888" classificationMinMaxOrigin="CumulativeCutFullExtentEstimated" band="1" classificationMin="0" type="singlebandpseudocolor"> 477 585 <rasterTransparency/> 478 586 <rastershader> … … 691 799 <attributeactions/> 692 800 </maplayer> 693 <maplayer minimumScale="0" maximumScale="1e+08" type="raster" hasScaleBasedVisibilityFlag="0">694 <id>flood20140618233428952</id>695 <datasource>./cairns_fixed_wave_flood_depth.tif</datasource>696 <title></title>697 <abstract></abstract>698 <keywordList>699 <value></value>700 </keywordList>701 <layername>flood depth</layername>702 <srs>703 <spatialrefsys>704 <proj4>+proj=utm +zone=55 +south +ellps=WGS72 +towgs84=0,0,4.5,0,0,0.554,0.2263 +units=m +no_defs</proj4>705 <srsid>2959</srsid>706 <srid>32355</srid>707 <authid>EPSG:32355</authid>708 <description>WGS 72 / UTM zone 55S</description>709 <projectionacronym>utm</projectionacronym>710 <ellipsoidacronym>WGS72</ellipsoidacronym>711 <geographicflag>false</geographicflag>712 </spatialrefsys>713 </srs>714 <customproperties>715 <property key="identify/format" value="Value"/>716 </customproperties>717 <provider>gdal</provider>718 <pipe>719 <rasterrenderer opacity="1" alphaBand="-1" classificationMax="26.4094" classificationMinMaxOrigin="CumulativeCutFullExtentEstimated" band="1" classificationMin="0" type="singlebandpseudocolor">720 <rasterTransparency/>721 <rastershader>722 <colorrampshader colorRampType="INTERPOLATED" clip="0">723 <item alpha="255" value="0" label="0.000000" color="#ffffcc"/>724 <item alpha="255" value="6.60235" label="6.602350" color="#a1dab4"/>725 <item alpha="255" value="13.2047" label="13.204700" color="#41b6c4"/>726 <item alpha="255" value="19.8071" label="19.807050" color="#2c7fb8"/>727 <item alpha="255" value="26.4094" label="26.409400" color="#253494"/>728 </colorrampshader>729 </rastershader>730 </rasterrenderer>731 <brightnesscontrast brightness="0" contrast="0"/>732 <huesaturation colorizeGreen="128" colorizeOn="0" colorizeRed="255" colorizeBlue="128" grayscaleMode="0" saturation="0" colorizeStrength="100"/>733 <rasterresampler maxOversampling="2"/>734 </pipe>735 <blendMode>0</blendMode>736 </maplayer>737 801 </projectlayers> 738 802 <properties> -
trunk/anuga_core/demos/cairns/export_results_to_qgis.py
r9206 r9209 6 6 7 7 scenario = 'fixed_wave' 8 #scenario = 'slide' 8 9 name = 'cairns_' + scenario 9 10 … … 31 32 Make_Geotif(swwFile=name+'.sww', 32 33 output_quantities=['stage'], 33 myTimeStep=0, CellSize=1000.0, 34 myTimeStep=0, 35 CellSize=1000.0, 34 36 lower_left=None, upper_right=None, 35 37 EPSG_CODE=32355, -
trunk/anuga_core/demos/cairns/project.py
r9180 r9209 15 15 # Define scenario as either slide or fixed_wave. Choose one. 16 16 #------------------------------------------------------------------------------ 17 scenario = 'fixed_wave' # Huge wave applied at the boundary17 scenario = 'fixed_wave' # Wave applied at the boundary 18 18 #scenario = 'slide' # Slide wave form applied inside the domain 19 19 -
trunk/anuga_core/demos/cairns/run_parallel_cairns.py
r9182 r9209 44 44 #------------------------------------------------------------------------------ 45 45 # Create DEM from asc data 46 #anuga.asc2dem(project.name_stem+'.asc', use_cache=project.cache, verbose=project.verbose)46 anuga.asc2dem(project.name_stem+'.asc', use_cache=project.cache, verbose=project.verbose) 47 47 48 48 # Create pts file for onshore DEM 49 #anuga.dem2pts(project.name_stem+'.dem', use_cache=project.cache, verbose=project.verbose)49 anuga.dem2pts(project.name_stem+'.dem', use_cache=project.cache, verbose=project.verbose) 50 50 51 51 #------------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.