Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L losscalculator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Dynamic Exposure
  • Global Dynamic Exposure
  • losscalculator
  • Issues
  • #36

Closed
Open
Created Feb 17, 2021 by Tara Evaz Zadeh@taraMaintainer

Refactoring losscalculator code to adapt augmented exposure model files as input

By creating the preprocessor.py, for each exposure model, an augmented one is produced. The losscalculator needs to adapt the new augmented exposure model. Using the augmented exposure model by itself obviates the needs to have:

  1. The function append_respective_cell_id_to_building_exposure() (This functions appends ID of a cell that the building asset is located in. Because it already exists in the augmented exposure model)
  2. The input --cell-ids (cell-ids are there in the augmented exposure models and it is only needed to make the calculator get unique cell-ids from the augmented exposure model and there is no more the need to provide unique cell-ids of the exposure model in a separate file)
  3. The input geometries.csv. Because geometries of both buildings and cells are already in the augmented exposure file.

When this issue is addressed, the issue #27 (closed) is also solved automatically.

Edited Mar 01, 2021 by Tara Evaz Zadeh
Assignee
Assign to
Time tracking