<commit_before>### 
  Baseline is <NAME>'s BalloonTracker3.html modified from original
  BalloonTracker2.html during ISGC summer 2013 session.

  Started with scripts extracted from HTML then converted to coffeescript using
  js2coffee.org.
  
  HTML extracted minus head and scripts and placed in
  app/assets/views/tracker/index.html.erb. Javascript includes covered with 
  ruby helper functions at end of that file.
###

hostname = window.location.hostname
port = window.location.port

###  Parse data from Prediction KML file to show Balloon Burst ###
parseData = (req) ->
  g = new (OpenLayers.Format.KML)(extractStyles: true)
  html = ''
  features = g.read(req.responseText)
  for feat of features
    html += '<ul>'
    html += '<li>' + features[feat].attributes.description + '</li>'
    html += '</ul>'
  document.getElementById('output').innerHTML = html
  return

load = ->
  OpenLayers.loadURL 'data/aPREDICTION.kml', '', null, parseData

  ### must change KML file everytime before flight ###

  return

#window.onbeforeunload = windowClose

### do some preliminary set up ###

oldaltitude = 0
maxaltitude = 0

###this is for the point/packet pop-ups on the maps ###

AutoSizeFramedCloud = OpenLayers.Class(OpenLayers.Popup.FramedCloud, 'autoSize': true)

###this is the default set of options used in many calls ###
OpenLayers.ImgPath = "/assets/OpenLayers/img/"
options = 
  projection: 'EPSG:900913'
  units: 'm'
  numZoomLevels: 16
  maxResolution: 156543.0339
  maxExtent: new (OpenLayers.Bounds)(-20037508.34, -20037508.34, 20037508.34, 20037508.34)
  controls: [new OpenLayers.Control.PanZoomBar,
             new OpenLayers.Control.Navigation({dragPanOptions: {enableKinetic: true}})]

###and create a projection, size, pixel offset and icons for ###

###plotting  ###

proj = new (OpenLayers.Projection)('EPSG:4326') # x/y => lat/lon
size = new (OpenLayers.Size)(8, 8)
offset = new (OpenLayers.Pixel)(-4, -4)
size2 = new (OpenLayers.Size)(12, 12)<commit_msg>Increase zoom level.<commit_after>### 
  Baseline is Roxanne Vitorillo's BalloonTracker3.html modified from original
  BalloonTracker2.html during ISGC summer 2013 session.

  Started with scripts extracted from HTML then converted to coffeescript using
  js2coffee.org.
  
  HTML extracted minus head and scripts and placed in
  app/assets/views/tracker/index.html.erb. Javascript includes covered with 
  ruby helper functions at end of that file.
###

hostname = window.location.hostname
port = window.location.port

###  Parse data from Prediction KML file to show Balloon Burst ###
parseData = (req) ->
  g = new (OpenLayers.Format.KML)(extractStyles: true)
  html = ''
  features = g.read(req.responseText)
  for feat of features
    html += '<ul>'
    html += '<li>' + features[feat].attributes.description + '</li>'
    html += '</ul>'
  document.getElementById('output').innerHTML = html
  return

load = ->
  OpenLayers.loadURL 'data/aPREDICTION.kml', '', null, parseData

  ### must change KML file everytime before flight ###

  return

#window.onbeforeunload = windowClose

### do some preliminary set up ###

oldaltitude = 0
maxaltitude = 0

###this is for the point/packet pop-ups on the maps ###

AutoSizeFramedCloud = OpenLayers.Class(OpenLayers.Popup.FramedCloud, 'autoSize': true)

###this is the default set of options used in many calls ###
OpenLayers.ImgPath = "/assets/OpenLayers/img/"
options = 
  projection: 'EPSG:900913'
  units: 'm'
  numZoomLevels: 17
  maxResolution: 156543.0339
  maxExtent: new (OpenLayers.Bounds)(-20037508.34, -20037508.34, 20037508.34, 20037508.34)
  controls: [new OpenLayers.Control.PanZoomBar,
             new OpenLayers.Control.Navigation({dragPanOptions: {enableKinetic: true}})]

###and create a projection, size, pixel offset and icons for ###

###plotting  ###

proj = new (OpenLayers.Projection)('EPSG:4326') # x/y => lat/lon
size = new (OpenLayers.Size)(8, 8)
offset = new (OpenLayers.Pixel)(-4, -4)
size2 = new (OpenLayers.Size)(12, 12)
{'fraction_non_alphanumeric': 0.12531391260673028, 'fraction_numerical': 0.04018081366147665, 'mean_word_length': 4.2065359477124185, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2636212', 'n_tokens_mistral': 1425, 'n_tokens_neox': 1289, 'n_words': 374}