SPB Git forge
15commits 1branches 0releases
29.7 MBsize
maindefault branch
10 days agolast push
TypeScript 36.3% Python 31.8% Go 18% JavaScript 9.8% Shell 1.9% SQL 1.4% CSS 0.5%
3.1 KB · 92 lines yaml
Raw Blame History
1# Region model. `probe_regions` are where OUR probes sit (sources); `target_regions` are where destinations are2# anchored. Both use the same id space so a Pressure Front can be expressed as source → destination.3# Centroids are approximate and only used for map placement / arc drawing.45regions:6  na-east:      { name: "North America East",     continent: "North America",  lat: 43.0,  lon: -76.0 }7  na-central:   { name: "North America Central",  continent: "North America",  lat: 41.0,  lon: -95.0 }8  na-west:      { name: "North America West",     continent: "North America",  lat: 40.0,  lon: -120.0 }9  latam:        { name: "Latin America",          continent: "South America",  lat: -15.0, lon: -55.0 }10  eu-west:      { name: "Western Europe",         continent: "Europe",         lat: 49.0,  lon: 3.0 }11  eu-north:     { name: "Northern Europe",        continent: "Europe",         lat: 60.0,  lon: 18.0 }12  eu-east:      { name: "Eastern Europe",         continent: "Europe",         lat: 50.0,  lon: 22.0 }13  eu-east-med:  { name: "Eastern Mediterranean",  continent: "Europe",         lat: 38.0,  lon: 30.0 }14  mena:         { name: "Middle East & North Africa", continent: "Asia",       lat: 26.0,  lon: 45.0 }15  africa:       { name: "Sub-Saharan Africa",     continent: "Africa",         lat: -5.0,  lon: 22.0 }16  asia-south:   { name: "South Asia",             continent: "Asia",           lat: 22.0,  lon: 78.0 }17  asia-se:      { name: "Southeast Asia",         continent: "Asia",           lat: 5.0,   lon: 108.0 }18  asia-east:    { name: "East Asia",              continent: "Asia",           lat: 35.0,  lon: 125.0 }19  oceania:      { name: "Oceania",                continent: "Oceania",        lat: -30.0, lon: 140.0 }20  global:       { name: "Global / anycast",       continent: "Global",         lat: 0.0,   lon: 0.0 }2122# Country → region (ISO-3166 alpha-2). Countries missing here default to their continent via the fallback below.23country_regions:24  CA: na-east25  US: na-east          # refined by `us_states` when a probe/target carries a state26  MX: latam27  BR: latam28  AR: latam29  CL: latam30  CO: latam31  PE: latam32  GB: eu-west33  IE: eu-west34  FR: eu-west35  DE: eu-west36  NL: eu-west37  BE: eu-west38  LU: eu-west39  CH: eu-west40  AT: eu-west41  ES: eu-west42  PT: eu-west43  IT: eu-west44  SE: eu-north45  "NO": eu-north46  DK: eu-north47  FI: eu-north48  IS: eu-north49  EE: eu-north50  LV: eu-north51  LT: eu-north52  PL: eu-east53  CZ: eu-east54  SK: eu-east55  HU: eu-east56  RO: eu-east57  BG: eu-east58  UA: eu-east59  GR: eu-east-med60  TR: eu-east-med61  CY: eu-east-med62  IL: mena63  AE: mena64  SA: mena65  QA: mena66  EG: mena67  MA: mena68  ZA: africa69  NG: africa70  KE: africa71  IN: asia-south72  PK: asia-south73  BD: asia-south74  SG: asia-se75  ID: asia-se76  MY: asia-se77  TH: asia-se78  VN: asia-se79  PH: asia-se80  JP: asia-east81  KR: asia-east82  CN: asia-east83  HK: asia-east84  TW: asia-east85  AU: oceania86  NZ: oceania8788us_states:89  west: [CA, OR, WA, NV, AZ, UT, CO, ID, MT, WY, NM, AK, HI]90  central: [TX, OK, KS, NE, SD, ND, MN, IA, MO, AR, LA, WI, IL, IN, MI, OH, KY, TN, MS, AL]91  east: [NY, NJ, PA, MA, CT, RI, VT, NH, ME, MD, DE, VA, WV, NC, SC, GA, FL, DC]92