Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Jakarta Smart Disaster Software Competition

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Jakarta Smart Disaster Software Competition

Provided for Jakarta Smart Disaster Software Competition. The hackathon held by BPBD DKI Jakarta.

Fanani M. Ihsan

May 25, 2014

Transcript

9 slides
  1. What Have Done? class Dala(object): ''' Purpose for calculating damage

    and losses operation ''' . . . . . . class FloodCatetegory(object): ''' Purpose for generate data_banjir.csv to data_banjir_category.csv ''' . . . . . . class FloodBuildingImpactFunction(object): ''' This is the main class for generating report ''' . . . . . .
  2. How To Usage Dala Class # Initiate dala object >>

    dala = Dala(type_name='building', category='C3') # show the result >>print dala Dala Object: {type_key:building, category:C3,price:5000000000.0, coefficient:0.91 } >>print dala.get_losses_value() 4550000000.0 >>print dala.get_price() 5000000000.0

More Decks by Fanani M. Ihsan

Other Decks in Technology