Commit 047e1aa2 authored by Tara Evaz Zadeh's avatar Tara Evaz Zadeh
Browse files

Merge branch 'feature/examples' into 'master'

Added a simple example for cell damage calculation

See merge request !21
parents 39d7c6a9 675c1caf
Pipeline #18186 passed with stage
in 1 minute and 33 seconds
# Simple cell damage calculation example
This example provides a small damage calculation for a scenario earthquake. The example is limited to one 10-arcsec cell.
## Run the example
Please refer to [README.md](../../README.md) for information on the program requirements and how to install them.
To run the example calculation, please execute the script
`run_example_cell.sh`.
Use
`python3 damage_calculator.py --help`
for information on how to use the program input options.
## Input files
`exposure.csv`: Represents the exposure model with each row providing information for one asset. Each asset in the exposure model is represented by its location, a taxonomy string describing the structural properties of the asset and the number of buildings representing the asset.
`cell_ids.csv`: Contains all unique cell IDs used in the exposure model.
`ground_motion_values.csv`: Contains the ground-motion values for the example area.
`polygons.csv`: Contains geometries of the cells in the exposure model along with their cell IDs. The geometry in this example is the 10-arcsec cell.
`taxonomy_mapping.csv`: Contains the mapping between the taxonomies of the exposure assets and the names of the fragility functions. The mapping is courtesy of Dr. Helen Crowley (Eucentre, Pavia, Italy).
`fragilities`: This folder contains all the fragility functions needed for the taxonomies in the exposure model, according to the mapping in `taxonomy_mapping.csv`. The fragility functions are stored as CSV files under `./data/fragilities/`. The fragility models used in this example have been authored by [L. Martins and V. Silva (2020): Development of a fragility and vulnerability model for global seismic risk analyses, Bulletin of Earthquake Engineering](https://doi.org/10.1007/s10518-020-00885-1). Downloaded from [here](https://github.com/lmartins88/global_fragility_vulnerability) on 13 January 2021.
## Output
The example script writes the damage calculation into `result.cvs`. This output can be compared with a pre-computed reference output in `reference_result.csv` showing the expected result of the example calculation.
The tree of the `example_cell` directory structure is shown below:
```
.
├── ...
├── example_cell
│ ├── reference_result.csv
│ └── data
│ ├── exposure.csv
│ ├── cell_ids.csv
│ ├── ground_motion_values.csv
│ ├── polygons.csv
│ ├── taxonomy_mapping.csv
│ └── fragilities
│ ├── CR_LDUAL-DUH_H1.csv
│ ...
│ └── MUR_LWAL-DNO_H3.csv
```
uniqueCellIds
cell_2423204507
cell_2423204508
id,lon,lat,taxonomy,number,structural,night,occupancy,admin_name,admin_ID,origin_id
GDE_Com_940019,23.6319444444,38.0625,CR/LDUAL+CDH/H:1/15.0,28.3,61.8328463283,0.0,Com,Aspropyrgos,GR_3515002,cell_2423204507
GDE_Com_940036,23.6319444444,38.0625,CR/LDUAL+CDM/H:1/8.0,12.5,61.8328463283,0.0,Com,Aspropyrgos,GR_3515002,cell_2423204507
GDE_Res_1036159,23.6319444444,38.0625,CR/LDUAL+CDL/HBET:3-5/SOS/8.0,36.2,4254.29601601,0.18292166398,Res,Aspropyrgos,GR_3515002,cell_2423204507
GDE_Ind_65405,23.6319444444,38.0625,MUR/LWAL+CDN/H:1,60.9,1114022.10067,0.0,Ind,Aspropyrgos,GR_3515002,cell_2423204507
SA(0.3),0.018144 ,0.019294 ,0.020518 ,0.021820 ,0.023204 ,0.024676 ,0.026241 ,0.027906 ,0.029676 ,0.031559 ,0.033561 ,0.035690 ,0.037953 ,0.040361 ,0.042921 ,0.045644 ,0.048539 ,0.051619 ,0.054893 ,0.058375 ,0.062078 ,0.066016 ,0.070204 ,0.074657 ,0.079393 ,0.084429 ,0.089785 ,0.095480 ,0.101537 ,0.107978 ,0.114828 ,0.122112 ,0.129858 ,0.138095 ,0.146855 ,0.156171 ,0.166077 ,0.176612 ,0.187816 ,0.199730 ,0.212400 ,0.225873 ,0.240201 ,0.255438 ,0.271642 ,0.288873 ,0.307198 ,0.326685 ,0.347408 ,0.369446 ,0.392882 ,0.417804 ,0.444307 ,0.472491 ,0.502464 ,0.534337 ,0.568233 ,0.604278 ,0.642611 ,0.683374 ,0.726724 ,0.772823 ,0.821847 ,0.873981 ,0.929421 ,0.988379 ,1.051076 ,1.117751 ,1.188655 ,1.264056 ,1.344241 ,1.429513 ,1.520193 ,1.616626 ,1.719176 ,1.828231 ,1.944205 ,2.067534 ,2.198688 ,2.338160 ,2.486481 ,2.644210 ,2.811944 ,2.990319 ,3.180008 ,3.381731 ,3.596249 ,3.824376 ,4.066974 ,4.324961 ,4.599313 ,4.891068 ,5.201331 ,5.531275 ,5.882150 ,6.255281 ,6.652083 ,7.074055 ,7.522795 ,8.000000
slight,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000002 ,0.000003 ,0.000005 ,0.000008 ,0.000013 ,0.000020 ,0.000030 ,0.000046 ,0.000068 ,0.000101 ,0.000148 ,0.000215 ,0.000310 ,0.000443 ,0.000626 ,0.000878 ,0.001219 ,0.001679 ,0.002292 ,0.003101 ,0.004158 ,0.005526 ,0.007282 ,0.009511 ,0.012315 ,0.015810 ,0.020123 ,0.025394 ,0.031777 ,0.039430 ,0.048520 ,0.059213 ,0.071672 ,0.086050 ,0.102484 ,0.121088 ,0.141949 ,0.165117 ,0.190602 ,0.218368 ,0.248330 ,0.280353 ,0.314252 ,0.349796 ,0.386708 ,0.424675 ,0.463355 ,0.502384 ,0.541391 ,0.580003 ,0.617859 ,0.654620 ,0.689977 ,0.723659 ,0.755440 ,0.785140 ,0.812631 ,0.837834 ,0.860719 ,0.881301 ,0.899636 ,0.915812 ,0.929948 ,0.942183 ,0.952671 ,0.961577 ,0.969067 ,0.975305 ,0.980452 ,0.984658 ,0.988061 ,0.990790 ,0.992956 ,0.994660 ,0.995987 ,0.997010 ,0.997792 ,0.998384 ,0.998828 ,0.999157 ,0.999400 ,0.999576 ,0.999703 ,0.999794 ,0.999859 ,0.999904 ,0.999935 ,0.999957 ,0.999971 ,0.999981 ,0.999988 ,0.999992 ,0.999995
moderate,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000002 ,0.000003 ,0.000004 ,0.000007 ,0.000010 ,0.000016 ,0.000024 ,0.000037 ,0.000055 ,0.000082 ,0.000121 ,0.000176 ,0.000255 ,0.000366 ,0.000520 ,0.000733 ,0.001023 ,0.001415 ,0.001941 ,0.002638 ,0.003555 ,0.004747 ,0.006284 ,0.008247 ,0.010729 ,0.013837 ,0.017693 ,0.022431 ,0.028196 ,0.035146 ,0.043442 ,0.053252 ,0.064742 ,0.078069 ,0.093381 ,0.110805 ,0.130444 ,0.152367 ,0.176607 ,0.203154 ,0.231948 ,0.262882 ,0.295798 ,0.330489 ,0.366702 ,0.404142 ,0.442483 ,0.481370 ,0.520435 ,0.559305 ,0.597611 ,0.635002 ,0.671151 ,0.705765 ,0.738594 ,0.769432 ,0.798124 ,0.824565 ,0.848698 ,0.870514 ,0.890049 ,0.907373 ,0.922590 ,0.935829 ,0.947237 ,0.956973 ,0.965204 ,0.972095 ,0.977810 ,0.982504 ,0.986322 ,0.989399 ,0.991854 ,0.993795 ,0.995315
extensive,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000002 ,0.000003 ,0.000005 ,0.000008 ,0.000012 ,0.000019 ,0.000028 ,0.000043 ,0.000064 ,0.000095 ,0.000139 ,0.000203 ,0.000293 ,0.000418 ,0.000593 ,0.000832 ,0.001157 ,0.001596 ,0.002182 ,0.002956 ,0.003969 ,0.005283 ,0.006971 ,0.009118 ,0.011823 ,0.015198 ,0.019371 ,0.024479 ,0.030673 ,0.038112 ,0.046960 ,0.057385 ,0.069551 ,0.083611 ,0.099707 ,0.117957 ,0.138452 ,0.161249 ,0.186364 ,0.213768 ,0.243386 ,0.275090 ,0.308703 ,0.344001 ,0.380714 ,0.418535 ,0.457124 ,0.496122 ,0.535158 ,0.573857 ,0.611858 ,0.648816 ,0.684418 ,0.718385 ,0.750484 ,0.780527 ,0.808378 ,0.833951 ,0.857208 ,0.878157 ,0.896846 ,0.913361 ,0.927815 ,0.940344 ,0.951102 ,0.960250 ,0.967955
complete,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000002 ,0.000003 ,0.000005 ,0.000008 ,0.000013 ,0.000020 ,0.000030 ,0.000045 ,0.000067 ,0.000100 ,0.000146 ,0.000212 ,0.000306 ,0.000437 ,0.000618 ,0.000867 ,0.001205 ,0.001660 ,0.002266 ,0.003067 ,0.004113 ,0.005469 ,0.007209 ,0.009419 ,0.012200 ,0.015667 ,0.019947 ,0.025181 ,0.031519 ,0.039123 ,0.048157 ,0.058787 ,0.071178 ,0.085482 ,0.101838 ,0.120360 ,0.141137 ,0.164219 ,0.189619 ,0.217301 ,0.247184 ,0.279134 ,0.312968 ,0.348456 ,0.385323 ,0.423257 ,0.461916 ,0.500939 ,0.539953 ,0.578586 ,0.616476 ,0.653284 ,0.688698 ,0.722446 ,0.754301 ,0.784080 ,0.811655 ,0.836943 ,0.859914 ,0.880581 ,0.898997 ,0.915251
PGA,0.050000 ,0.052179 ,0.054454 ,0.056827 ,0.059304 ,0.061889 ,0.064587 ,0.067402 ,0.070340 ,0.073406 ,0.076605 ,0.079944 ,0.083429 ,0.087065 ,0.090860 ,0.094820 ,0.098953 ,0.103267 ,0.107768 ,0.112465 ,0.117367 ,0.122483 ,0.127821 ,0.133393 ,0.139207 ,0.145275 ,0.151607 ,0.158215 ,0.165111 ,0.172308 ,0.179818 ,0.187656 ,0.195836 ,0.204371 ,0.213280 ,0.222576 ,0.232277 ,0.242402 ,0.252967 ,0.263993 ,0.275500 ,0.287509 ,0.300040 ,0.313118 ,0.326766 ,0.341009 ,0.355873 ,0.371384 ,0.387572 ,0.404465 ,0.422095 ,0.440493 ,0.459693 ,0.479729 ,0.500639 ,0.522461 ,0.545234 ,0.568999 ,0.593800 ,0.619682 ,0.646693 ,0.674880 ,0.704296 ,0.734995 ,0.767031 ,0.800464 ,0.835354 ,0.871765 ,0.909763 ,0.949417 ,0.990800 ,1.033986 ,1.079055 ,1.126088 ,1.175171 ,1.226393 ,1.279849 ,1.335634 ,1.393851 ,1.454605 ,1.518007 ,1.584173 ,1.653223 ,1.725282 ,1.800483 ,1.878961 ,1.960860 ,2.046329 ,2.135523 ,2.228604 ,2.325743 ,2.427116 ,2.532908 ,2.643310 ,2.758525 ,2.878762 ,3.004239 ,3.135186 ,3.271841 ,3.414451
slight,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000002 ,0.000003 ,0.000004 ,0.000006 ,0.000009 ,0.000014 ,0.000021 ,0.000031 ,0.000045 ,0.000066 ,0.000095 ,0.000135 ,0.000192 ,0.000271 ,0.000379 ,0.000525 ,0.000723 ,0.000988 ,0.001338 ,0.001799 ,0.002400 ,0.003178 ,0.004175 ,0.005444 ,0.007044 ,0.009046 ,0.011529 ,0.014584 ,0.018313 ,0.022824 ,0.028237 ,0.034678 ,0.042281 ,0.051178 ,0.061505 ,0.073393 ,0.086962 ,0.102323 ,0.119568 ,0.138767 ,0.159966 ,0.183178 ,0.208383 ,0.235527 ,0.264514 ,0.295215 ,0.327461 ,0.361048 ,0.395743 ,0.431284 ,0.467391 ,0.503769 ,0.540116 ,0.576130 ,0.611518 ,0.646004 ,0.679332 ,0.711274 ,0.741632 ,0.770248 ,0.796996 ,0.821792 ,0.844588 ,0.865370 ,0.884161 ,0.901009 ,0.915991 ,0.929202 ,0.940756 ,0.950777 ,0.959395 ,0.966746 ,0.972964 ,0.978180 ,0.982520 ,0.986100 ,0.989029 ,0.991406 ,0.993318 ,0.994844 ,0.996052 ,0.997000
moderate,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000001 ,0.000002 ,0.000003 ,0.000005 ,0.000008 ,0.000012 ,0.000018 ,0.000026 ,0.000039 ,0.000056 ,0.000081 ,0.000117 ,0.000167 ,0.000236 ,0.000330 ,0.000460 ,0.000635 ,0.000870 ,0.001182 ,0.001595 ,0.002134 ,0.002834 ,0.003736 ,0.004886 ,0.006342 ,0.008170 ,0.010445 ,0.013254 ,0.016693 ,0.020869 ,0.025897 ,0.031900 ,0.039010 ,0.047359 ,0.057083 ,0.068314 ,0.081179 ,0.095792 ,0.112253 ,0.130643 ,0.151017 ,0.173403 ,0.197794 ,0.224151 ,0.252395 ,0.282411 ,0.314044 ,0.347107 ,0.381378 ,0.416604 ,0.452514 ,0.488817 ,0.525213 ,0.561400 ,0.597080 ,0.631969 ,0.665802 ,0.698338 ,0.729368 ,0.758717 ,0.786244 ,0.811850 ,0.835470 ,0.857079
extensive,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000002 ,0.000002 ,0.000004 ,0.000006 ,0.000009 ,0.000013 ,0.000020 ,0.000029 ,0.000043 ,0.000062 ,0.000090 ,0.000128 ,0.000183 ,0.000258 ,0.000360 ,0.000501 ,0.000690 ,0.000943 ,0.001279 ,0.001722 ,0.002300 ,0.003048 ,0.004009 ,0.005233 ,0.006779 ,0.008716 ,0.011121 ,0.014085 ,0.017705 ,0.022091 ,0.027360 ,0.033639 ,0.041058 ,0.049753 ,0.059856 ,0.071501 ,0.084810 ,0.099895 ,0.116852 ,0.135754 ,0.156651 ,0.179560 ,0.204468 ,0.231325 ,0.260043 ,0.290496 ,0.322522 ,0.355922 ,0.390466 ,0.425898 ,0.461939 ,0.498295 ,0.534665 ,0.570748 ,0.606249 ,0.640888
complete,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000002 ,0.000002 ,0.000004 ,0.000006 ,0.000009 ,0.000013 ,0.000020 ,0.000029 ,0.000043 ,0.000063 ,0.000090 ,0.000130 ,0.000184 ,0.000260 ,0.000363 ,0.000504 ,0.000695 ,0.000950 ,0.001288 ,0.001734 ,0.002316 ,0.003069 ,0.004036 ,0.005267 ,0.006822 ,0.008769 ,0.011187 ,0.014165 ,0.017803 ,0.022209 ,0.027501 ,0.033807 ,0.041255 ,0.049982 ,0.060122 ,0.071806 ,0.085157 ,0.100287 ,0.117291 ,0.136241 ,0.157187 ,0.180146 ,0.205103 ,0.232006 ,0.260768 ,0.291262 ,0.323324 ,0.356754 ,0.391323 ,0.426774 ,0.462826
SA(0.3),0.018144 ,0.019294 ,0.020518 ,0.021820 ,0.023204 ,0.024676 ,0.026241 ,0.027906 ,0.029676 ,0.031559 ,0.033561 ,0.035690 ,0.037953 ,0.040361 ,0.042921 ,0.045644 ,0.048539 ,0.051619 ,0.054893 ,0.058375 ,0.062078 ,0.066016 ,0.070204 ,0.074657 ,0.079393 ,0.084429 ,0.089785 ,0.095480 ,0.101537 ,0.107978 ,0.114828 ,0.122112 ,0.129858 ,0.138095 ,0.146855 ,0.156171 ,0.166077 ,0.176612 ,0.187816 ,0.199730 ,0.212400 ,0.225873 ,0.240201 ,0.255438 ,0.271642 ,0.288873 ,0.307198 ,0.326685 ,0.347408 ,0.369446 ,0.392882 ,0.417804 ,0.444307 ,0.472491 ,0.502464 ,0.534337 ,0.568233 ,0.604278 ,0.642611 ,0.683374 ,0.726724 ,0.772823 ,0.821847 ,0.873981 ,0.929421 ,0.988379 ,1.051076 ,1.117751 ,1.188655 ,1.264056 ,1.344241 ,1.429513 ,1.520193 ,1.616626 ,1.719176 ,1.828231 ,1.944205 ,2.067534 ,2.198688 ,2.338160 ,2.486481 ,2.644210 ,2.811944 ,2.990319 ,3.180008 ,3.381731 ,3.596249 ,3.824376 ,4.066974 ,4.324961 ,4.599313 ,4.891068 ,5.201331 ,5.531275 ,5.882150 ,6.255281 ,6.652083 ,7.074055 ,7.522795 ,8.000000
slight,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000002 ,0.000003 ,0.000005 ,0.000008 ,0.000012 ,0.000020 ,0.000030 ,0.000047 ,0.000071 ,0.000107 ,0.000160 ,0.000236 ,0.000346 ,0.000501 ,0.000718 ,0.001020 ,0.001434 ,0.001997 ,0.002753 ,0.003758 ,0.005082 ,0.006805 ,0.009025 ,0.011856 ,0.015428 ,0.019887 ,0.025394 ,0.032125 ,0.040265 ,0.050006 ,0.061541 ,0.075056 ,0.090724 ,0.108698 ,0.129100 ,0.152015 ,0.177482 ,0.205488 ,0.235963 ,0.268775 ,0.303733 ,0.340585 ,0.379025 ,0.418702 ,0.459225 ,0.500175 ,0.541124 ,0.581641 ,0.621309 ,0.659738 ,0.696575 ,0.731515 ,0.764308 ,0.794762 ,0.822746 ,0.848192 ,0.871085 ,0.891466 ,0.909420 ,0.925069 ,0.938566 ,0.950084 ,0.959811 ,0.967939 ,0.974658 ,0.980156 ,0.984606 ,0.988171 ,0.990996 ,0.993212 ,0.994931 ,0.996252 ,0.997255 ,0.998009 ,0.998570 ,0.998983 ,0.999284 ,0.999501 ,0.999655 ,0.999764 ,0.999841 ,0.999893 ,0.999929 ,0.999953 ,0.999970 ,0.999981 ,0.999988 ,0.999992 ,0.999995 ,0.999997
moderate,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000002 ,0.000003 ,0.000005 ,0.000008 ,0.000013 ,0.000020 ,0.000031 ,0.000048 ,0.000073 ,0.000110 ,0.000164 ,0.000242 ,0.000353 ,0.000511 ,0.000733 ,0.001040 ,0.001461 ,0.002033 ,0.002802 ,0.003823 ,0.005167 ,0.006915 ,0.009167 ,0.012036 ,0.015653 ,0.020166 ,0.025737 ,0.032542 ,0.040767 ,0.050604 ,0.062244 ,0.075875 ,0.091669 ,0.109776 ,0.130317 ,0.153375 ,0.178985 ,0.207132 ,0.237742 ,0.270679 ,0.305750 ,0.342700 ,0.381220 ,0.420955 ,0.461512 ,0.502474 ,0.543410 ,0.583890 ,0.623499 ,0.661847 ,0.698586 ,0.733412 ,0.766078 ,0.796396 ,0.824240 ,0.849542 ,0.872293 ,0.892535 ,0.910356 ,0.925880 ,0.939262 ,0.950675 ,0.960307 ,0.968351 ,0.974997 ,0.980431 ,0.984828 ,0.988347 ,0.991135 ,0.993320 ,0.995015 ,0.996316 ,0.997303 ,0.998045 ,0.998597 ,0.999003 ,0.999298 ,0.999511 ,0.999662
extensive,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000002 ,0.000004 ,0.000006 ,0.000009 ,0.000015 ,0.000023 ,0.000036 ,0.000055 ,0.000083 ,0.000125 ,0.000185 ,0.000273 ,0.000397 ,0.000573 ,0.000819 ,0.001159 ,0.001623 ,0.002252 ,0.003093 ,0.004208 ,0.005669 ,0.007565 ,0.009998 ,0.013088 ,0.016971 ,0.021799 ,0.027739 ,0.034971 ,0.043683 ,0.054067 ,0.066315 ,0.080610 ,0.097117 ,0.115979 ,0.137306 ,0.161167 ,0.187580 ,0.216514 ,0.247874 ,0.281508 ,0.317201 ,0.354681 ,0.393624 ,0.433662 ,0.474392 ,0.515393 ,0.556231 ,0.596481 ,0.635733 ,0.673609 ,0.709775 ,0.743945 ,0.775889 ,0.805439 ,0.832486 ,0.856983 ,0.878937 ,0.898405 ,0.915488 ,0.930319 ,0.943061 ,0.953892 ,0.963003 ,0.970586 ,0.976831 ,0.981920 ,0.986024 ,0.989298 ,0.991883 ,0.993902 ,0.995463 ,0.996657 ,0.997561
complete,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000001 ,0.000001 ,0.000001 ,0.000002 ,0.000004 ,0.000006 ,0.000010 ,0.000016 ,0.000024 ,0.000038 ,0.000058 ,0.000088 ,0.000131 ,0.000195 ,0.000287 ,0.000417 ,0.000601 ,0.000858 ,0.001212 ,0.001696 ,0.002350 ,0.003224 ,0.004380 ,0.005894 ,0.007854 ,0.010367 ,0.013554 ,0.017553 ,0.022519 ,0.028620 ,0.036037 ,0.044960 ,0.055581 ,0.068090 ,0.082669 ,0.099481 ,0.118665 ,0.140325 ,0.164524 ,0.191276 ,0.220538 ,0.252210 ,0.286131 ,0.322077 ,0.359771 ,0.398881 ,0.439035 ,0.479826 ,0.520830 ,0.561615 ,0.601754 ,0.640845 ,0.678513 ,0.714429 ,0.748316 ,0.779950 ,0.809173 ,0.835884 ,0.860042 ,0.881661 ,0.900806 ,0.917582 ,0.932126 ,0.944604 ,0.955196 ,0.964093 ,0.971488 ,0.977569 ,0.982518 ,0.986503 ,0.989678 ,0.992181
lon,lat,gmv_PGA,gmv_SA(0.3)
23.629170000000002,38.06528,0.1291617,0.2559737
23.63194,38.06528,0.1296171,0.25685949999999996
23.63472,38.06528,0.1300348,0.2576721
23.629170000000002,38.0625,0.12645530000000002,0.2507185
23.63194,38.0625,0.126886,0.2515539
23.63472,38.0625,0.1272809,0.2523201
23.629170000000002,38.05972,0.12383150000000001,0.24563569999999998
23.63194,38.05972,0.12423889999999999,0.2464242
23.63472,38.05972,0.1246124,0.2471472
cell_id;geometry
cell_2423204507;POLYGON ((23.63055555555556 38.0611111111111, 23.63333333333335 38.0611111111111, 23.63333333333335 38.0638888888889, 23.63055555555556 38.0638888888889, 23.63055555555556 38.0611111111111))
taxonomy,conversion
CR/LDUAL+CDH/H:1/15.0,CR_LDUAL-DUM_H1
CR/LDUAL+CDM/H:1/8.0,CR_LDUAL-DUM_H1
CR/LDUAL+CDL/HBET:3-5/SOS/8.0,CR_LDUAL-DUL_H4
MUR/LWAL+CDN/H:1,MUR_LWAL-DNO_H1
geometry,,origin_id,,asset_id,,lon,,lat,,taxonomy,,gm_value,,PoEs,,PoOs,,tot_num_buildings,,structural_no_damage,,structural_slight,,structural_moderate,,structural_extensive,,structural_complete
"POLYGON ((23.63055555555556 38.0611111111111, 23.63333333333335 38.0611111111111, 23.63333333333335 38.0638888888889, 23.63055555555556 38.0638888888889, 23.63055555555556 38.0611111111111))",,cell_2423204507,,GDE_Com_940019,,23.631944444400002,,38.0625,,CR/LDUAL+CDH/H:1/15.0,,0.12688663132861894,,"[8.474877104881386e-06, 0.0, 0.0, 0.0]",,"[0.9999915251228951, 8.474877104881386e-06, -0.0, -0.0, 0.0]",,28.3,,28.299760160977932,,0.00023983902206814323,,-0.0,,-0.0,,0.0
"POLYGON ((23.63055555555556 38.0611111111111, 23.63333333333335 38.0611111111111, 23.63333333333335 38.0638888888889, 23.63055555555556 38.0638888888889, 23.63055555555556 38.0611111111111))",,cell_2423204507,,GDE_Com_940036,,23.631944444400002,,38.0625,,CR/LDUAL+CDM/H:1/8.0,,0.12688663132861894,,"[8.474877104881386e-06, 0.0, 0.0, 0.0]",,"[0.9999915251228951, 8.474877104881386e-06, -0.0, -0.0, 0.0]",,12.5,,12.499894064036189,,0.00010593596381101732,,-0.0,,-0.0,,0.0
"POLYGON ((23.63055555555556 38.0611111111111, 23.63333333333335 38.0611111111111, 23.63333333333335 38.0638888888889, 23.63055555555556 38.0638888888889, 23.63055555555556 38.0611111111111))",,cell_2423204507,,GDE_Res_1036159,,23.631944444400002,,38.0625,,CR/LDUAL+CDL/HBET:3-5/SOS/8.0,,0.251555124927799,,"[0.13663294980106422, 0.00180695837185944, 0.0001277873923228429, 1.821617605136137e-05]",,"[0.8633670501989358, 0.1348259914292048, 0.001679170979536597, 0.00010957121627148152, 1.821617605136137e-05]",,36.2,,31.253887217201477,,4.880700889737214,,0.060785989459224817,,0.003966478029027631,,0.0006594255730592816
"POLYGON ((23.63055555555556 38.0611111111111, 23.63333333333335 38.0611111111111, 23.63333333333335 38.0638888888889, 23.63055555555556 38.0638888888889, 23.63055555555556 38.0611111111111))",,cell_2423204507,,GDE_Ind_65405,,23.631944444400002,,38.0625,,MUR/LWAL+CDN/H:1,,0.251555124927799,,"[0.10411764976388133, 0.008593118352523686, 0.001504757955404525, 0.000383871840953854]",,"[0.8958823502361186, 0.09552453141135764, 0.007088360397119161, 0.001120886114450671, 0.000383871840953854]",,60.9,,54.55923512937962,,5.81744396295168,,0.4316811481845569,,0.06826196437004586,,0.02337779511408971
python3 ../../losscalculator/damage_calculator.py -f data/fragilities -t data/taxonomy_mapping.csv -g data/ground_motion_values.csv -c data/cell_ids.csv -e data/exposure.csv -p data/polygons.csv -r result.csv -o
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment