Skip to content

Curl calls analysis

Anthony Fok edited this page Jun 9, 2021 · 2 revisions

June 2021 (#105)

Note: This currently counts only curl calls directly from add_data.sh. Calls from Python script is not yet accounted for.

grep 'RUN: curl' 2021-06-05_python-opendrr.log | wc gives 1599 occurrences

Function curl calls Note
import_census_boundaries 1 opendrr-boundaries.dump
fetch_csv_xz 26 2 calls per CSV files
fetch_csv_lfs 4 2 calls per CSV files
import_raw_psra_tables 1 get PT_LIST
fetch_psra_csv_from_model: cDamage 228
fetch_psra_csv_from_model: cHazard 276
fetch_psra_csv_from_model: eDamage 228
fetch_psra_csv_from_model: ebRisk 780
import_earthquake_scenarios 1 Get list of earthquake scenarios
import_shakemap 48
export_to_elasticsearch 6
Grand Total 1599

fetch_csv_lfs:

  • collapse_probability.csv?ref=73d15ca7e48291ee98d8a8dd7fb49ae30548f34e
  • retrofit_costs.csv?ref=73d15ca7e48291ee98d8a8dd7fb49ae30548f34e

fetch_psra_csv_from_model:

  • cDamage:
  • cHazard:
  • eDamage:
  • ebRisk: