Oryx: Emerging Python-based Web Platform for Antelope - - PowerPoint PPT Presentation

oryx emerging python based web platform for antelope
SMART_READER_LITE
LIVE PREVIEW

Oryx: Emerging Python-based Web Platform for Antelope - - PowerPoint PPT Presentation

Oryx: Emerging Python-based Web Platform for Antelope Dr. Kent Lindquist Lindquist Consulting, Inc. August 7, 2011 Taipei, Taiwan Lindquist


slide-1
SLIDE 1

Oryx: ¡ ¡ Emerging ¡Python-­‑based ¡Web ¡ Platform ¡for ¡Antelope ¡

  • Dr. ¡Kent ¡Lindquist ¡

Lindquist ¡Consulting, ¡Inc. ¡ ¡ August ¡7, ¡2011 ¡ Taipei, ¡Taiwan ¡

slide-2
SLIDE 2

Lindquist ¡Consulting, ¡Inc. ¡

  • Founded ¡2002, ¡Fairbanks, ¡Alaska ¡
  • Historic ¡focus: ¡

– Open-­‑source, ¡custom ¡Antelope-­‑based ¡software ¡ – Teaching, ¡Training, ¡and ¡Advising ¡on ¡Antelope ¡

  • Major ¡involvements ¡

– ROADNet ¡(NSF, ¡UCSD) ¡ – Australian ¡Tsunami ¡Warning ¡System ¡ – Array ¡Network ¡Facility ¡Assistance ¡

slide-3
SLIDE 3
  • Dr. ¡Kent ¡Lindquist ¡
  • Master’s ¡study: ¡Atomic ¡Physics ¡
  • Doctoral ¡study: ¡Geophysics ¡
  • Five ¡years ¡full-­‑time ¡at ¡Alaska ¡Earthquake ¡

Information ¡Center ¡

– Real-­‑time ¡seismology ¡

  • Founded ¡Lindquist ¡Consulting ¡2002 ¡
slide-4
SLIDE 4

Lindquist ¡Consulting, ¡Inc. ¡

  • Major ¡contributions ¡

– Antelope ¡Toolbox ¡for ¡Matlab ¡maintenance ¡ – Various ¡datalogger ¡interfaces ¡ ¡ – Antelope ¡/ ¡Earthworm ¡connectivity ¡ – Antelope ¡PHP ¡Interface ¡ – Antelope ¡Python ¡Interface ¡

slide-5
SLIDE 5

Web ¡Support ¡for ¡Antelope ¡

  • History ¡

– 1998 ¡dbrecenteqs ¡ – 2005 ¡PHP ¡interface ¡ ¡ – ANF ¡web ¡tools ¡ – 2007-­‑2010 ¡open-­‑source ¡python ¡interface ¡ – dbwfserver ¡ – Next: ¡commercial, ¡deployable ¡applications ¡

slide-6
SLIDE 6

dbrecenteqs ¡

Perl ¡ ImageMagick ¡ GMT ¡ ¡ First ¡version ¡written ¡ while ¡at ¡U. ¡of ¡Alaska ¡

slide-7
SLIDE 7

dbrecenteqs ¡

slide-8
SLIDE 8

Dbrecenteqs: ¡focus ¡maps ¡

Strengths: ¡ ¡

  • Dynamic ¡
  • Interactive ¡
  • Web-­‑accessible ¡
  • Parameter-­‑file ¡driven ¡
  • Graphical ¡display ¡

¡ Weaknesses: ¡

  • External ¡Dependencies ¡
  • ImageMagick, ¡GMT ¡
  • Mapping ¡dataset ¡
  • Not ¡plug-­‑and-­‑play ¡
slide-9
SLIDE 9

PHP ¡interface ¡

slide-10
SLIDE 10

(February ¡27-­‑28, ¡2007) ¡

System ¡Context: ¡PHP ¡Interface ¡

Dynamic ¡Link ¡Libraries ¡ Apache ¡mod ¡PHP ¡ Dynamic ¡Web ¡Pages ¡

slide-11
SLIDE 11

PHP ¡and ¡ROADNet: ¡ ¡ Real-­‑time ¡Image ¡Bank ¡

Remote ¡cameras ¡ acquired ¡via ¡ORB ¡ ¡ Database ¡of ¡images ¡ presented ¡via ¡ PHP ¡code ¡ ¡

  • Dr. ¡Rob ¡Newman: ¡Web ¡lead ¡

Lindquist ¡Consulting, ¡Inc: ¡Infrastructure ¡lead ¡

slide-12
SLIDE 12

PHP ¡Applications ¡

  • Webdlmon ¡
  • Real-­‑time ¡Image ¡Bank ¡
  • Webdbe ¡
  • Stations.php ¡
  • Pfexplorer ¡
  • Webdbshow ¡
  • Weborbstat ¡
  • Wfplotter ¡
slide-13
SLIDE 13

Dbwebproject ¡

  • Reproducible ¡web-­‑page ¡generation ¡
  • Configurable ¡templates ¡ ¡
  • Parameter-­‑file ¡driven ¡ ¡
  • Integrated ¡with ¡Antelope ¡software-­‑

generation ¡architecture ¡

slide-14
SLIDE 14

February ¡27-­‑28, ¡2007 ¡

dbwebproject ¡

Built ¡ Installed ¡

slide-15
SLIDE 15

ANF ¡Tools ¡

  • Dr. ¡Rob ¡Newman’s ¡work ¡

USARRAY ¡ ¡ Many ¡technologies: ¡ PHP ¡ Python ¡ Google ¡Maps ¡ RRDTool ¡ Flickr ¡ JSON, ¡AJAX, ¡Jquery ¡etc. ¡

slide-16
SLIDE 16

ANF ¡State-­‑of-­‑Health ¡

  • Dr. ¡Rob ¡Newman’s ¡work ¡

USARRAY ¡ (Web ¡coding) ¡ ¡ Lindquist ¡Consulting, ¡Inc. ¡ (Antelope-­‑>RRD ¡Engine) ¡ ¡

slide-17
SLIDE 17

ANF ¡Web ¡Tools ¡

Strengths: ¡ ¡

  • Powerful ¡web-­‑apps ¡ ¡
  • Excellent ¡UI ¡and ¡Graphic ¡

design ¡ ¡ Limitations: ¡

  • External ¡Dependencies ¡
  • Google ¡maps ¡licensing ¡

for ¡intranets ¡

  • Still ¡fairly ¡specific ¡to ¡ANF ¡
slide-18
SLIDE 18

dbwfserver ¡

  • More ¡self-­‑contained ¡

waveform ¡server ¡

  • Python ¡
  • Now ¡led ¡by ¡Juan ¡

Reyes, ¡Rob ¡ Newman, ¡UCSD ¡

slide-19
SLIDE 19

Next ¡generation: ¡rtwebserver ¡

  • Antelope ¡web ¡server ¡running ¡under ¡rtexec ¡
  • Built ¡on ¡Antelope-­‑Python ¡platform ¡“Oryx” ¡

Oryx ¡

slide-20
SLIDE 20

rtwebserver ¡

slide-21
SLIDE 21

Rtwebserver ¡Requirements ¡

  • Runs ¡under ¡an ¡Antelope ¡real-­‑time ¡system ¡
  • Self-­‑contained, ¡no ¡external ¡dependencies ¡
  • Configured ¡by ¡rtwebserver.pf ¡
  • Plug-­‑and-­‑play ¡
  • Provides ¡information ¡to ¡clients ¡over ¡a ¡specified ¡socket ¡and ¡protocol ¡
  • Supports ¡multiple ¡client ¡connections ¡
  • Serves ¡files ¡and ¡Datascope ¡databases ¡specified ¡by ¡rtwebserver.pf ¡
  • Limits ¡access ¡to ¡some ¡services ¡via ¡a ¡security ¡mechanism ¡
  • Extensible ¡via ¡user-­‑driven ¡coding ¡and ¡design ¡
slide-22
SLIDE 22

Rtwebserver ¡Constraints ¡

  • Works ¡on ¡supported ¡Antelope ¡platforms ¡
  • Supports ¡the ¡latest ¡Firefox ¡browser ¡
slide-23
SLIDE 23

Rtwebserver: ¡Excluded ¡Scope ¡

  • Does ¡not ¡run ¡under ¡Windows ¡
  • Does ¡not ¡support: ¡

– Apache ¡ – Apache ¡mods ¡ – PHP ¡ – MySQL ¡

  • No ¡guarantees ¡for ¡old ¡browsers ¡or ¡Internet ¡Explorer ¡
slide-24
SLIDE 24

Advantages ¡of ¡Python ¡

  • Plotting ¡capabilities ¡

– Matplotlib ¡

  • Scientific ¡computing ¡

– Numpy, ¡Scipy ¡

  • Web ¡development ¡frameworks ¡

– Twisted ¡ – Django ¡

slide-25
SLIDE 25

Status ¡

  • Hard ¡part ¡done: ¡creating ¡framework ¡
  • Now ¡coding ¡applications ¡

Oryx ¡

slide-26
SLIDE 26

The ¡framework ¡at ¡work ¡

  • Lindquist ¡Consulting, ¡Inc. ¡web-­‑site ¡
slide-27
SLIDE 27

Soliciting ¡Market ¡Feedback ¡

  • Interest ¡
  • Licensing ¡ ¡
  • Price ¡point ¡
  • Priorities ¡for ¡applications ¡
slide-28
SLIDE 28

Thank ¡You! ¡

Questions ¡Welcome ¡

Oryx ¡