GitHub URL: https://github.com/ucgmsim/IM_calculation

What is this repo about?

Calculate intensity measures.


Repo status

README presentYes
Is Public?Yes

Number of commits

302

Last time Updated

 


Functionalities

  • Description: State how this function is used or interacts with other sw components.
  • Status: (1: not working, 2: unstable, 3: works under specific condition, 4: works with known issues, 5: perfect )
  • Tests: (1: none, 2: broken/outdated. 3: with limited coverage, 4: works with known issues, 5: perfect)
  • Doc (1: none, 2: outdated,  3: with limited coverage, 4: mostly ok, 5: perfect)  Give a link
  • Frequency of use: Daily, Weekly, Monthly, Yearly, Never
  • Frequency of code/req. change: Daily, Weekly, Monthly, Yearly, Never
  • Bus Factor: Number of people that are familiar with the code (1-7)


FunctionalityDescriptionStatusKnown issuesTests?Doc?Frequency of useFrequency of code/req. changeBus Factor
respectra calculationsCalculate spectral acceleration5

test cython rspectra performance vs raw python and refactor if minimal performance drop for increased maintainability/portability

4

test_intensity_measures

3
github readme

daily - weeklyyearly2
intensity measuresCalculate different types of intensity measures5

4

test_intensity_measures

3
github readme

daily - weeklyyearly3
read waveform

Contains the class that defines a waveform object and its relevant functionalities.

A waveform object is created by reading a binary file/acii files

4

TODO should create either a or v not both

4

test_read_waveforms

3
github readme

daily - weeklyyearly
4
im aggregationCombines IM files and creates a metadata file4Can be modularized1 (no tests needed)

3
github readme

neveryearly2
calculate imsWorkflow to calculate intensity measures for a given binary file/ascii files4

wiki partially outdated


TODO when only geom is needed, only 090 and 000 should be calculated


TODO Speed up Ds calculations


Argument parser can be simplified

(confusing naming etc)


4

test_calculate_ims

4

github readme

IM Calculation Refactor(partially outdated)

daily - weekly
yearly
5
rrupA collection of functions relating to reading the station and rupture files, taken from the matlab code.5

TODO CODE TO CALCULATE RTVZ AND RX

TODO: consider using geopy instead of manual to compute great circle distance between 2 set of (lat, lng) (in degrees)

4

test_rrup

3

github readme

daily - weekly
yearly4
calculate rrupsWorkflow to calculate rrups for a given station file and a srf file4No test4

3

github readme

daily - weekly
yearly2

Suggested Improvements / New Features

  • Description: State how/why this will be useful
FunctionalityDescriptionTimeline
calculate ims

Update wiki and github readme docs

TODO when only geom is needed, only 090 and 000 should be calculated (33% speed up)

TODO: Speed up Ds calculations

Argument parser can be simplified

(confusing naming etc)


4 days

calculate rrups

Develop tests4 days
rrup

WRITE CODE TO CALCULATE RTVZ AND RX (for empirical engine)

http://dap3.dot.ca.gov/ARS_Online/Tech_Docs/Methodology%20for%20Developing%20DRS_12-5-12.pdf

TODO: consider using geopy instead of manual to compute great circle distance between 2 set of (lat, lng) (in degrees)

4 days
read waveformTODO should create either a or v not both1 day
Cython spectratest cython rspectra performance vs raw python and refactor if minimal performance drop for increased maintainability/portability1 sprint
  • No labels