Changeset 9182
- Timestamp:
- Jun 18, 2014, 4:18:05 PM (10 years ago)
- Location:
- trunk/anuga_core/demos/cairns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/demos/cairns/cairns_fixed_wave.qgs
r9180 r9182 24 24 </destinationsrs> 25 25 </mapcanvas> 26 <legend updateDrawingOrder="true" activeLayer=" coast_line20140618144216334">26 <legend updateDrawingOrder="true" activeLayer="flood_depth20140618142552581"> 27 27 <legendlayer drawingOrder="-1" open="true" checked="Qt::Checked" name="coast_line" showFeatureCount="0"> 28 28 <filegroup open="true" hidden="false"> … … 35 35 </filegroup> 36 36 </legendlayer> 37 <legendlayer drawingOrder="-1" open=" true" checked="Qt::Checked" name="flood_depth" showFeatureCount="0">38 <filegroup open=" true" hidden="false">37 <legendlayer drawingOrder="-1" open="false" checked="Qt::Checked" name="flood_depth" showFeatureCount="0"> 38 <filegroup open="false" hidden="false"> 39 39 <legendlayerfile isInOverview="0" layerid="flood_depth20140618142552581" visible="1"/> 40 40 </filegroup> … … 147 147 <blendMode>0</blendMode> 148 148 </maplayer> 149 <maplayer minimumScale=" 0" maximumScale="1e+08" type="raster" hasScaleBasedVisibilityFlag="0">149 <maplayer minimumScale="-4.65661e-10" maximumScale="1e+08" type="raster" hasScaleBasedVisibilityFlag="0"> 150 150 <id>cairns_fixed_wave_speed20140618142315148</id> 151 151 <datasource>./cairns_fixed_wave_speed.asc</datasource> … … 173 173 <provider>gdal</provider> 174 174 <pipe> 175 <rasterrenderer gradient="BlackToWhite" opacity="1" alphaBand="-1" type="singlebandgray" grayBand="1"> 176 <rasterTransparency/> 177 <contrastEnhancement> 178 <minValue>0</minValue> 179 <maxValue>123.28</maxValue> 180 <algorithm>StretchToMinimumMaximum</algorithm> 181 </contrastEnhancement> 175 <rasterrenderer opacity="1" alphaBand="0" classificationMax="100" classificationMinMaxOrigin="User" band="1" classificationMin="0" type="singlebandpseudocolor"> 176 <rasterTransparency/> 177 <rastershader> 178 <colorrampshader colorRampType="INTERPOLATED" clip="0"> 179 <item alpha="255" value="0" label="0.000000" color="#fef0d9"/> 180 <item alpha="255" value="11.1111" label="11.111111" color="#fde0b5"/> 181 <item alpha="255" value="22.2222" label="22.222222" color="#fdd092"/> 182 <item alpha="255" value="33.3333" label="33.333333" color="#fcb779"/> 183 <item alpha="255" value="44.4444" label="44.444444" color="#fc9b63"/> 184 <item alpha="255" value="55.5556" label="55.555556" color="#f67e50"/> 185 <item alpha="255" value="66.6667" label="66.666667" color="#eb603f"/> 186 <item alpha="255" value="77.7778" label="77.777778" color="#dd412d"/> 187 <item alpha="255" value="88.8889" label="88.888889" color="#c82016"/> 188 <item alpha="255" value="100" label="100.000000" color="#b30000"/> 189 </colorrampshader> 190 </rastershader> 182 191 </rasterrenderer> 183 192 <brightnesscontrast brightness="0" contrast="0"/> … … 269 278 <maplayer minimumScale="0" maximumScale="1e+08" type="raster" hasScaleBasedVisibilityFlag="0"> 270 279 <id>coast20140618142948067</id> 271 <datasource> coast.tif</datasource>280 <datasource>./coast.tif</datasource> 272 281 <title></title> 273 282 <abstract></abstract> … … 309 318 <maplayer minimumScale="-4.65661e-10" maximumScale="1e+08" minLabelScale="0" maxLabelScale="1e+08" geometry="Line" type="vector" hasScaleBasedVisibilityFlag="0" scaleBasedLabelVisibilityFlag="0"> 310 319 <id>coast_line20140618144216334</id> 311 <datasource> coast_line</datasource>320 <datasource>./coast_line</datasource> 312 321 <title></title> 313 322 <abstract></abstract> … … 498 507 <edittype labelontop="0" editable="1" type="0" name="ID"/> 499 508 </edittypes> 500 <editform> </editform>509 <editform>.</editform> 501 510 <editforminit></editforminit> 502 <annotationform> </annotationform>511 <annotationform>.</annotationform> 503 512 <editorlayout>generatedlayout</editorlayout> 504 513 <excludeAttributesWMS/> … … 508 517 <maplayer minimumScale="-4.65661e-10" maximumScale="1e+08" type="raster" hasScaleBasedVisibilityFlag="0"> 509 518 <id>flood_depth20140618142552581</id> 510 <datasource> flood_depth.tif</datasource>519 <datasource>./flood_depth.tif</datasource> 511 520 <title></title> 512 521 <abstract></abstract> … … 532 541 <provider>gdal</provider> 533 542 <pipe> 534 <rasterrenderer opacity="1" alphaBand="0" classificationMax=" 29.4356" classificationMinMaxOrigin="CumulativeCutFullExtentEstimated" band="1" classificationMin="0" type="singlebandpseudocolor">543 <rasterrenderer opacity="1" alphaBand="0" classificationMax="50" classificationMinMaxOrigin="User" band="1" classificationMin="0" type="singlebandpseudocolor"> 535 544 <rasterTransparency/> 536 545 <rastershader> 537 546 <colorrampshader colorRampType="INTERPOLATED" clip="0"> 538 <item alpha="255" value="0" label="0.000000" color="#f0f9e8"/> 539 <item alpha="255" value="3.27062" label="3.270622" color="#d8efd4"/> 540 <item alpha="255" value="6.54124" label="6.541244" color="#c0e6c0"/> 541 <item alpha="255" value="9.81187" label="9.811867" color="#a5dcbe"/> 542 <item alpha="255" value="13.0825" label="13.082489" color="#89d1c2"/> 543 <item alpha="255" value="16.3531" label="16.353111" color="#6ec2c5"/> 544 <item alpha="255" value="19.6237" label="19.623733" color="#55b0c8"/> 545 <item alpha="255" value="22.8944" label="22.894356" color="#3c9bc6"/> 546 <item alpha="255" value="26.165" label="26.164978" color="#2281b9"/> 547 <item alpha="255" value="29.4356" label="29.435600" color="#0868ac"/> 547 <item alpha="255" value="0" label="0.000000" color="#edf8fb"/> 548 <item alpha="255" value="3.57143" label="3.571429" color="#dcf1f3"/> 549 <item alpha="255" value="7.14286" label="7.142857" color="#cbebec"/> 550 <item alpha="255" value="10.7143" label="10.714286" color="#bae5e5"/> 551 <item alpha="255" value="14.2857" label="14.285714" color="#a7ddd9"/> 552 <item alpha="255" value="17.8571" label="17.857143" color="#91d4c7"/> 553 <item alpha="255" value="21.4286" label="21.428571" color="#7bcbb5"/> 554 <item alpha="255" value="25" label="25.000000" color="#66c2a4"/> 555 <item alpha="255" value="28.5714" label="28.571429" color="#55b890"/> 556 <item alpha="255" value="32.1429" label="32.142857" color="#44af7c"/> 557 <item alpha="255" value="35.7143" label="35.714286" color="#34a668"/> 558 <item alpha="255" value="39.2857" label="39.285714" color="#259a57"/> 559 <item alpha="255" value="42.8571" label="42.857143" color="#198b49"/> 560 <item alpha="255" value="46.4286" label="46.428571" color="#0c7c3a"/> 561 <item alpha="255" value="50" label="50.000000" color="#006d2c"/> 548 562 </colorrampshader> 549 563 </rastershader> -
trunk/anuga_core/demos/cairns/run_parallel_cairns.py
r9180 r9182 29 29 # The parallel interface 30 30 from anuga import distribute, myid, numprocs, finalize, barrier 31 32 args = anuga.get_args() 33 alg = args.alg 34 verbose = args.verbose 31 35 32 36 #------------------------------------------------------------------------------ … … 72 76 domain.set_datadir('.') # Store sww output here 73 77 domain.set_minimum_storable_height(0.01) # Store only depth > 1cm 74 domain.set_flow_algorithm( 'DE0')78 domain.set_flow_algorithm(alg) 75 79 76 77 78 80 79 81 #------------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.