<commit_before>/******************************
 * Name:     Weather API
 * Author:   <NAME>
 * Created:  Sep 2013
 * Modified: 16 Sep 2013
 */

var request, parseString, h, app, cheerio, Q, xregexp, validTypes, descriptions, stationListURL;

/** Requires **/
request = require('request'),
parseString = require('xml2js').parseString,
h = require('../../lib/helpers.js'),
app = require('../../server'),
cheerio = require('cheerio'),
xregexp = require('xregexp').XRegExp;

/** Variable initialization **/

/* ids (tegundir textaspáa) */
validTypes = ['2','3','5','6','7','9','10','11','12','14','27','30','31','32','33','34','35','36','37','38','39','42'];
/* can later be used to include a readable version of the measurement names*/
descriptions = {
  'F'   : { 'is': 'Vindhraði (m/s)',
            'en': 'Wind speed (m/s)'},
  'FX'  : { 'is': 'Mesti vindhraði (m/s)', <commit_msg>fine tuning weather<commit_after>/******************************
 * Name:     Weather API
 * Author:   <NAME>
 * Created:  Sep 2013
 */

var request, parseString, h, app, cheerio, Q, xregexp, validTypes, descriptions, stationListURL;

/** Requires **/
request = require('request'),
parseString = require('xml2js').parseString,
h = require('../../lib/helpers.js'),
app = require('../../server'),
cheerio = require('cheerio'),
xregexp = require('xregexp').XRegExp;

/** Variable initialization **/

/* ids (tegundir textaspáa) */
validTypes = ['2','3','5','6','7','9','10','11','12','14','27','30','31','32','33','34','35','36','37','38','39','42'];
/* can later be used to include a readable version of the measurement names*/
descriptions = {
  'F'   : { 'is': 'Vindhraði (m/s)',
            'en': 'Wind speed (m/s)'},
  'FX'  : { 'is': 'Mesti vindhraði (m/s)', 
{'fraction_non_alphanumeric': 0.2707974756167527, 'fraction_numerical': 0.052782558806655194, 'mean_word_length': 4.5015772870662465, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '327836', 'n_tokens_mistral': 652, 'n_tokens_neox': 594, 'n_words': 140}