-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e752c81
commit 99b3e52
Showing
32 changed files
with
2,475 additions
and
5,095 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Ignore all files except myself | ||
* | ||
!.gitignore |
2,136 changes: 2,136 additions & 0 deletions
2,136
verification/tests/golden_gate_local/QGIS/golden_gate_local.qgs
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file renamed
BIN
+104 KB
...golden_gate_local/data_layers/Extent.gpkg → ...golden_gate_local/QGIS/layers/Extent.gpkg
Binary file not shown.
Binary file renamed
BIN
+104 KB
...t_golden_gate_local/data_layers/fire.gpkg → ...s/golden_gate_local/QGIS/layers/Fire.gpkg
Binary file not shown.
Binary file added
BIN
+45 KB
verification/tests/golden_gate_local/QGIS/layers/US_200F13_20_local.tif
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Clean | ||
|
||
rm -f ../FDS/* # does not rm .gitignore | ||
|
||
# Run QGIS | ||
|
||
cd ../QGIS | ||
CHID=$(basename "$0" ".sh") | ||
qgis_process run 'NIST FDS:Export FDS case' \ | ||
--project_path="golden_gate_local.qgs" \ | ||
--distance_units=meters \ | ||
--area_units=m2 \ | ||
--ellipsoid=EPSG:7019 \ | ||
--chid="$CHID" \ | ||
--fds_path='../FDS' \ | ||
--extent='-122.491206899,-122.481181391,37.827810126,37.833676214 [EPSG:4326]' \ | ||
--pixel_size=10 \ | ||
--origin='-2279360.204651,1963332.020198 [EPSG:5070]' \ | ||
--dem_layer='layers/US_DEM2016_local.tif' \ | ||
--landuse_layer='layers/US_200F13_20_local.tif' \ | ||
--landuse_type_filepath='sheets/Landfire F13 landuse type.csv' \ | ||
--fire_layer='layers/Fire.gpkg' \ | ||
--tex_pixel_size=1 \ | ||
--nmesh=4 \ | ||
--cell_size=5 \ | ||
--t_begin=0 \ | ||
--t_end=0 \ | ||
--wind_filepath='sheets/wind.csv' \ | ||
--text_filepath='' \ | ||
--export_obst=false \ | ||
--UtmGrid=TEMPORARY_OUTPUT \ | ||
--UtmDemPoints=TEMPORARY_OUTPUT \ | ||
--UtmInterpolatedDemLayer=TEMPORARY_OUTPUT \ | ||
--ExtentDebug=TEMPORARY_OUTPUT | ||
# --tex_layer='crs=EPSG:3857&format&type=xyz&url=https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0' \ | ||
|
||
# Run FDS | ||
|
||
cd ../FDS | ||
|
||
cat << EOF > "$CHID.ini" | ||
VIEWPOINT5 | ||
0 -4 3 | ||
0.500000 -1.533945 0.092708 1.000000 2 | ||
0.000000 0.000000 90.000000 0 | ||
0.500000 0.452000 0.092708 | ||
-33.000000 32.000000 | ||
1.000000 0.000000 0.000000 0.000000 | ||
0.000000 1.000000 0.000000 0.000000 | ||
0.000000 0.000000 1.000000 0.000000 | ||
0.000000 0.000000 0.000000 1.000000 | ||
0 0 0 0 0 0 0 | ||
-62.159824 -56.685352 429.114441 63.090176 56.540646 463.304108 | ||
iso | ||
EOF | ||
|
||
cat << EOF > "$CHID.ssf" | ||
SETVIEWPOINT | ||
ZMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
ZMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
YMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
YMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
XMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
XMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
iso | ||
RENDERDOUBLEONCE | ||
EOF | ||
|
||
fds "$CHID.fds" | ||
smokeview -runscript "$CHID" |
78 changes: 78 additions & 0 deletions
78
verification/tests/golden_gate_local/tests/test_geom_min.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Clean | ||
|
||
rm -f ../FDS/* # does not rm .gitignore | ||
|
||
# Run QGIS | ||
|
||
cd ../QGIS | ||
CHID=$(basename "$0" ".sh") | ||
qgis_process run 'NIST FDS:Export FDS case' \ | ||
--project_path="golden_gate_local.qgs" \ | ||
--distance_units=meters \ | ||
--area_units=m2 \ | ||
--ellipsoid=EPSG:7019 \ | ||
--chid="$CHID" \ | ||
--fds_path='../FDS' \ | ||
--extent='-122.491206899,-122.481181391,37.827810126,37.833676214 [EPSG:4326]' \ | ||
--pixel_size=10 \ | ||
--dem_layer='layers/US_DEM2016_local.tif' \ | ||
--export_obst=false \ | ||
--UtmGrid=TEMPORARY_OUTPUT \ | ||
--UtmDemPoints=TEMPORARY_OUTPUT \ | ||
--UtmInterpolatedDemLayer=TEMPORARY_OUTPUT \ | ||
--ExtentDebug=TEMPORARY_OUTPUT | ||
|
||
# Run FDS | ||
|
||
cd ../FDS | ||
|
||
cat << EOF > "$CHID.ini" | ||
VIEWPOINT5 | ||
0 -4 3 | ||
0.500000 -1.533945 0.092708 1.000000 2 | ||
0.000000 0.000000 90.000000 0 | ||
0.500000 0.452000 0.092708 | ||
-33.000000 32.000000 | ||
1.000000 0.000000 0.000000 0.000000 | ||
0.000000 1.000000 0.000000 0.000000 | ||
0.000000 0.000000 1.000000 0.000000 | ||
0.000000 0.000000 0.000000 1.000000 | ||
0 0 0 0 0 0 0 | ||
-62.159824 -56.685352 429.114441 63.090176 56.540646 463.304108 | ||
iso | ||
EOF | ||
|
||
cat << EOF > "$CHID.ssf" | ||
SETVIEWPOINT | ||
ZMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
ZMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
YMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
YMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
XMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
XMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
iso | ||
RENDERDOUBLEONCE | ||
EOF | ||
|
||
fds "$CHID.fds" | ||
smokeview -runscript "$CHID" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Clean | ||
|
||
rm -f ../FDS/* # does not rm .gitignore | ||
|
||
# Run QGIS | ||
|
||
cd ../QGIS | ||
CHID=$(basename "$0" ".sh") | ||
qgis_process run 'NIST FDS:Export FDS case' \ | ||
--project_path="golden_gate_local.qgs" \ | ||
--distance_units=meters \ | ||
--area_units=m2 \ | ||
--ellipsoid=EPSG:7019 \ | ||
--chid="$CHID" \ | ||
--fds_path='../FDS' \ | ||
--extent='-122.491206899,-122.481181391,37.827810126,37.833676214 [EPSG:4326]' \ | ||
--pixel_size=10 \ | ||
--origin='-2279360.204651,1963332.020198 [EPSG:5070]' \ | ||
--dem_layer='layers/US_DEM2016_local.tif' \ | ||
--landuse_layer='layers/US_200F13_20_local.tif' \ | ||
--landuse_type_filepath='sheets/Landfire F13 landuse type.csv' \ | ||
--fire_layer='layers/Fire.gpkg' \ | ||
--tex_pixel_size=1 \ | ||
--nmesh=4 \ | ||
--cell_size=5 \ | ||
--t_begin=0 \ | ||
--t_end=0 \ | ||
--wind_filepath='sheets/wind.csv' \ | ||
--text_filepath='' \ | ||
--export_obst=true \ | ||
--UtmGrid=TEMPORARY_OUTPUT \ | ||
--UtmDemPoints=TEMPORARY_OUTPUT \ | ||
--UtmInterpolatedDemLayer=TEMPORARY_OUTPUT \ | ||
--ExtentDebug=TEMPORARY_OUTPUT | ||
# --tex_layer='crs=EPSG:3857&format&type=xyz&url=https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0' \ | ||
|
||
# Run FDS | ||
|
||
cd ../FDS | ||
|
||
cat << EOF > "$CHID.ini" | ||
VIEWPOINT5 | ||
0 -4 3 | ||
0.500000 -1.533945 0.092708 1.000000 2 | ||
0.000000 0.000000 90.000000 0 | ||
0.500000 0.452000 0.092708 | ||
-33.000000 32.000000 | ||
1.000000 0.000000 0.000000 0.000000 | ||
0.000000 1.000000 0.000000 0.000000 | ||
0.000000 0.000000 1.000000 0.000000 | ||
0.000000 0.000000 0.000000 1.000000 | ||
0 0 0 0 0 0 0 | ||
-62.159824 -56.685352 429.114441 63.090176 56.540646 463.304108 | ||
iso | ||
EOF | ||
|
||
cat << EOF > "$CHID.ssf" | ||
SETVIEWPOINT | ||
ZMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
ZMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
YMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
YMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
XMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
XMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
iso | ||
RENDERDOUBLEONCE | ||
EOF | ||
|
||
fds "$CHID.fds" | ||
smokeview -runscript "$CHID" |
78 changes: 78 additions & 0 deletions
78
verification/tests/golden_gate_local/tests/test_obst_min.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Clean | ||
|
||
rm -f ../FDS/* # does not rm .gitignore | ||
|
||
# Run QGIS | ||
|
||
cd ../QGIS | ||
CHID=$(basename "$0" ".sh") | ||
qgis_process run 'NIST FDS:Export FDS case' \ | ||
--project_path="golden_gate_local.qgs" \ | ||
--distance_units=meters \ | ||
--area_units=m2 \ | ||
--ellipsoid=EPSG:7019 \ | ||
--chid="$CHID" \ | ||
--fds_path='../FDS' \ | ||
--extent='-122.491206899,-122.481181391,37.827810126,37.833676214 [EPSG:4326]' \ | ||
--pixel_size=10 \ | ||
--dem_layer='layers/US_DEM2016_local.tif' \ | ||
--export_obst=true \ | ||
--UtmGrid=TEMPORARY_OUTPUT \ | ||
--UtmDemPoints=TEMPORARY_OUTPUT \ | ||
--UtmInterpolatedDemLayer=TEMPORARY_OUTPUT \ | ||
--ExtentDebug=TEMPORARY_OUTPUT | ||
|
||
# Run FDS | ||
|
||
cd ../FDS | ||
|
||
cat << EOF > "$CHID.ini" | ||
VIEWPOINT5 | ||
0 -4 3 | ||
0.500000 -1.533945 0.092708 1.000000 2 | ||
0.000000 0.000000 90.000000 0 | ||
0.500000 0.452000 0.092708 | ||
-33.000000 32.000000 | ||
1.000000 0.000000 0.000000 0.000000 | ||
0.000000 1.000000 0.000000 0.000000 | ||
0.000000 0.000000 1.000000 0.000000 | ||
0.000000 0.000000 0.000000 1.000000 | ||
0 0 0 0 0 0 0 | ||
-62.159824 -56.685352 429.114441 63.090176 56.540646 463.304108 | ||
iso | ||
EOF | ||
|
||
cat << EOF > "$CHID.ssf" | ||
SETVIEWPOINT | ||
ZMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
ZMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
YMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
YMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
XMAX | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
XMIN | ||
RENDERDOUBLEONCE | ||
SETVIEWPOINT | ||
iso | ||
RENDERDOUBLEONCE | ||
EOF | ||
|
||
fds "$CHID.fds" | ||
smokeview -runscript "$CHID" |
Oops, something went wrong.