- Run
preProcess.py
in the case folder - Requires
createLinksAndNodes.py
,getPopulation.py
,setActionsAndTransitions.py
- Run
main.py
in the main folder
-
arrivaltime.dat.asc
: This is a raster file with the arrival time.
What is the arrival time?
==It is the first time when an inland grid is inundated.== -
inund5.dat.asc
:
This is a raster file with the maximum inundation depth at each inland grid.
Tsunami inundation depth and the arrival time in a 10m resolution size are included as attributes in the nodes contain in a grid.
Possible problems here are:
- One node is exactly in the middle of two or more grids. Duplicate attribute.
Divide the computation area.
Some notes here:
- How to divide the areas?
- Based on road-connectivity (graph-theory) or with regular grid.
- If regular grid, what to do with interrupted graphs?
Find the population inside the inundation area.
- Are we using only these population? Shall we include a shadow?
- How big of a shadow? Tsunami runup uncertainty = buffer
- Abe san data is on EPSG: 2446 (JGD2000 / JPR CS IV) and OSMNX downloads the graph in WGS84 EPSG 4326.
- The OSMNX data can be projected and exported to shp, then the CRS is EPSG 32653 - WGS84 / UTM zone 53N
- Kochi polygon shp is in EPSG 4612 - JGD2000
- The file
lib_ImportOSM.py
works in Terminal but not from VS Code. VS Code terminal shows another interpreter Python 3.8.2 compared to one in conda 3.7.7 - The file
preprocess.ipynb
also can generate alinksdb.csv
file.
- Project all to same CRS (WGS84? JGD2000?)
- ==JGD2011 / UTM zone 53N (EPSG: 6690)==
- JGD2000 / JPR CS IV (EPSG: 2446)
- WGS84 / UTM zone 53N (EPSG: 32653)
- ==JGD2011 (EPSG: 6668) (Geographic 2D)==
- JGD2000 (EPSG: 4612) (Geographic 2D)
- WGS84 (EPSG: 4326) (Geographic 2D)
SetDatabaseBldMeshCodes.py
SetpopDB.py
DisaggregationLibrary.py
- Area code polygons (WGS84 - EPSG:4326):
Dropbox/zDATA/PAREA_Town_2018/Shape形式/Shape形式/世界測地系/39/A3924POL.shp
- Use
getPopulatio.py
>getPopulationArea
to extract population within the 'aos' -->areaPop
- Use the feature
areaPop
and the rasterinund5
toAdd values to feature
- Select features
>-99
Note: This is a bit overestimated since areas near the river or at the edge of the inundation line are also included. A shadow for evacuation.