Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dynamic Exposure
Global Dynamic Exposure
exposure-japan
Commits
04f3df3e
Commit
04f3df3e
authored
Mar 05, 2022
by
Simantini Shinde
Browse files
Changed function name to assign_building_assests
parent
b2337f49
Pipeline
#39723
passed with stage
in 1 minute and 45 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
exposurejapan/database.py
View file @
04f3df3e
...
...
@@ -2003,7 +2003,7 @@ class JapanDatabase(SpatialiteDatabase):
"Imported BuildingClassesMapping table with GEM taxonomy-based building classes"
)
def
assign_building_asset
(
self
):
def
assign_building_asset
s
(
self
):
"""
The building attributes and their corresponding number of buildings, person per building
at night, building class, administrative name, administrative id and occupancy is mapped
...
...
exposurejapan/exposurejapan.py
View file @
04f3df3e
...
...
@@ -51,7 +51,7 @@ def main():
"data/e014e.xlsx"
,
)
db
.
import_gem_building_class_mapping
(
"mapping_files/GEM_Tax_Building_class.xlsx"
)
db
.
assign_building_asset
()
db
.
assign_building_asset
s
()
# Leave the program
sys
.
exit
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment