Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • IM calculations have been separated from the "old post-processing" repository, extracting the relevant functions and classes.
  • IM values validated on Hypocentre and Kupe against "old post-processing" on the same data.
  • Two types of workflows: text based (most likely observations) and binary based (simulations once the binary workflow is in place).
    • If binary workflow does not happen soon, the text based option will be used in both cases.
  • Outputs match the formats requested in File Formats Used On GM and should therefore be usable on the upcoming Non-ergodic codes.
  • Tested on very simple multi-process on Kupe with good speed-up using 40 and 80 cores. For the sample, 2228 stations were used

    MachineCoresTime   
    Hypocentre1132m
    Hypocentre88.7m
    Kupe4027m
    Kupe80 

OUTPUT STRUCTURE

With command : python calculate_ims.py ../BB.bin b -o /home/yzh231/ -i Albury_666_999 -r Albury -t s -v 18p3 -n 112A CMZ -m PGV pSA -p 0.02 0.03 -e -c geom -np 2

The result is out putted to the following location, where .csv is the summary im calculation csv file and .info is the meta data file. 

Image Added

TODO

  • Creation of semi-automatic slurm generation that will have all the calls to produce the results as needed.
  • Progress printing statements
  • Sim ASCII calculation - currently assumes ASCII file is in g for acceleration but this is not the case for sim
  • Rrup calculation on a smaller station list - currently when generating the slurm script it does the full grid even for stations outside the domain

...