-
Notifications
You must be signed in to change notification settings - Fork 9
Multiple ignition points #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| Year,Ncell | ||
| 1,205 | ||
| 1,305 | ||
| 2,350 | ||
| 3,100 | ||
| 4,380 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,21 +18,22 @@ set -x # enable debug tracing | |
| # run | ||
| for format in asc tif; do | ||
| for model in fbp kitral sb; do | ||
| echo running $model-$format | ||
| output_folder=test_results/$model-$format | ||
| mkdir -p $output_folder | ||
| rm -rf $output_folder/* | ||
| if [ "$model" == "fbp" ]; then | ||
| additional_args="--cros" | ||
| sim_code="C" | ||
| elif [ "$model" == "sb" ]; then | ||
| additional_args="--scenario 1" | ||
| sim_code="S" | ||
| elif [ "$model" == "kitral" ]; then | ||
| additional_args="" | ||
| sim_code="K" | ||
| fi | ||
| Cell2Fire$1 --input-instance-folder model/$model-$format --output-folder $output_folder --nsims 113 --output-messages --grids --out-ros --out-intensity --sim ${sim_code} --seed 123 --ignitionsLog $additional_args > test_results/$model-$format/log.txt | ||
| for ignition_mode in random raster; do | ||
| echo running $model-$format | ||
| output_folder=test_results/$model-$format | ||
| mkdir -p $output_folder | ||
| rm -rf $output_folder/* | ||
| if [ "$model" == "fbp" ]; then | ||
| additional_args="--cros" | ||
| sim_code="C" | ||
| elif [ "$model" == "sb" ]; then | ||
| additional_args="--scenario 1" | ||
| sim_code="S" | ||
| elif [ "$model" == "kitral" ]; then | ||
| additional_args="" | ||
| sim_code="K" | ||
| fi | ||
| Cell2Fire$1 --input-instance-folder model/$model-$format --output-folder $output_folder --nsims 113 --ignitions-$ignition_mode --output-messages --grids --out-ros --out-intensity --sim ${sim_code} --seed 123 --ignitionsLog $additional_args > test_results/$model-$format-$ignition_mode/log.txt | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. El ignition mode tiene que ser el adecuado para que funcione el test. Aparte hay que hacer un chequeo del funcionamiento de los puntos múltiples.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @matiasuno Resolviste esto? |
||
| done | ||
| done | ||
| set +x # disable debug tracing | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agregar identación