{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## A Jupyter Notebook with the Javascript Kernel Describing Coding Cloud Data\n", "\n", "I tracked the appearance of the clouds according to [this methodology](http://praxis.scholarslab.org/blog/2015/11/01/cloudmemos/), which basically asks that I fill a page of notes for each observation. The instructions were deliberately vague, so when I sat down to code all the data, I started looking for patterns. I first coded it in a [table in org-mode in Emacs](http://praxis.scholarslab.org/memo/2015/11/11/cloud-data/), which can easily be exported to a number of formats, including tab-separated values. You'll note that I regularized spelling, except for \"grey\" which I consistently spelled the British way (much prettier, don't you think?); I did not regularize, or rationalize, punctuation and made editorial comments—that is comments while transcribing—in brackets.\n", "\n", "This document is in [Jupyter Notebook](http://jupyter.org) with a [Javascript kernel](https://www.npmjs.com/package/ijavascript) running on my local machine. I'm interested in Jupyter because it allows for literate programming, where I explain my reasoning while using code. At this point, I don't expect to use *much* Javascript, but I want to get used to the system.\n", "\n", "Let's first load a csv parser from npm. The \"require\" function can apparently load any package available in the npm repository, so it's no problem to load this one." ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/plain": [ "{ generate: \n", " { [Function]\n", " Generator: \n", " { [Function]\n", " super_: [Object],\n", " ascii: [Function],\n", " int: [Function],\n", " bool: [Function] } },\n", " parse: { [Function] Parser: { [Function] super_: [Object] } },\n", " transform: { [Function] Transformer: { [Function] super_: [Object] } },\n", " stringify: { [Function] Stringifier: { [Function] super_: [Object] } } }" ] }, "execution_count": 1, "metadata": {}, "output_type": "execute_result" } ], "source": [ "var csv = require('csv');\n", "csv;" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Now, I don't quite know how this package works, so I'll just try the example code from [the website](https://www.npmjs.com/package/csv) and see what it does:" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/plain": [ "[]" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" }, { "name": "stdout", "output_type": "stream", "text": [ "[ { Serial: '1.1:1',\n", " Scheduled: '',\n", " Observed: '2015-11-01T03:23-05',\n", " Present: 'JA, RC',\n", " Location: 'Little High, bedroom',\n", " Observations: 'No clouds visible, dark & few stars visible, possibly because of the street lights.',\n", " Conditions: 'Observed from bed at approximate time, street lights & plate glass window. Somewhat hungover (drunk still?) after a long Halloween party w/ SW & friends' },\n", " { Serial: '1.2:2',\n", " Scheduled: '',\n", " Observed: '2015-11-01T07:08-05',\n", " Present: 'JA, neighbors, passing car',\n", " Location: 'Little High, front porch',\n", " Observations: '*RAIN!* Nearly uniform grey clouds but sort of milky w/ some purplish sections breaking through.',\n", " Conditions: 'Natural light, sirens, hundreads of birds singing, neighbors making dog pee; headache blurry eyes, tired & some what cold, but not uncomfortable' },\n", " { Serial: '1.3:3',\n", " Scheduled: '',\n", " Observed: '2015-11-01T11:03-05',\n", " Present: 'JA, AW, birds, RC, traffic',\n", " Location: 'Little High, porch',\n", " Observations: 'No rain, slow moving NE, grey & white; looks like a storm; curdled water lumps that look like soft paper disolving in cold water',\n", " Conditions: 'RC & AW making fun of the project, clean and heading out to brunch, so I\\'m delaying them' },\n", " { Serial: '1.4:4',\n", " Scheduled: '2015-11-01T15:00-05',\n", " Observed: '2015-11-01T15:00-05',\n", " Present: 'JA, birds (RC upstairs)',\n", " Location: 'Little High, porch',\n", " Observations: 'slow moving w/ sunlight breaking through, mild rumble (thunder?), wl a stillness suggests impending rain; not much blue, nearly black & white, blue-grey, no sky;',\n", " Conditions: 'getting read to leave w/ RC, having played Earthbound for an hour' },\n", " { Serial: '1.5:5',\n", " Scheduled: '2015-11-01T19:00-05',\n", " Observed: '2015-11-01T18:40-05',\n", " Present: 'JA, JD, M (BS and Lundy near), crickets',\n", " Location: 'Little High, porch & living room',\n", " Observations: 'mostly dark sky, with some lighter streaks of cloud; one illuminated by the moon w/ a cool-blue light; one near the western horizon illuminated by orange city (?) light;',\n", " Conditions: 'in PJs, RC just left, full, talking w/ JD and tired from a long weekend' },\n", " { Serial: '1.6:6',\n", " Scheduled: '2015-11-01T22:30-05',\n", " Observed: '2015-11-01T22:30-05',\n", " Present: 'JA, BS, Lundy, crickets',\n", " Location: 'Little High, bedroom & porch',\n", " Observations: 'organge glow near eastern horizon, no stars, black sky, no visible moon (cf. 1.5:5)',\n", " Conditions: 'bright lights make the sky hard to see; west has a cooler city glow near the horizon seems to be moisture and mist; tired afte a long day, observations' },\n", " { Serial: '2.1:7',\n", " Scheduled: '2015-11-02T03:00-05',\n", " Observed: '2015-11-02T03:35-05',\n", " Present: 'JA, radio',\n", " Location: 'Little High, bed in bedroom',\n", " Observations: 'No apparent change, still black, starless w/ no visible clouds;',\n", " Conditions: 'a soft humming seems to have developed, woke up from sleep to write notes, so tired, not sure this is a great idea, but did use the rest-room; had odd dreams, but o/w good.' },\n", " { Serial: '2.2:8',\n", " Scheduled: '2015-11-02T07:30-05',\n", " Observed: '2015-11-02T08:02-05',\n", " Present: 'JA, two trash dudes, birds (JD inside)',\n", " Location: 'Little High, front porch',\n", " Observations: 'smooth, grey, some stripes and clusters to the south west looks like rain: opaque & uniform, north looks marbled, east looks like pollution;',\n", " Conditions: 'tired from night observation, JD fussy, no coffee yet, a little cold, but enthusiastic about the project' },\n", " { Serial: '2.3:9',\n", " Scheduled: '2015-11-02T12:00-05',\n", " Observed: '2015-11-02T12:30-05',\n", " Present: 'JA, birds, cars',\n", " Location: 'Little High, porch',\n", " Observations: 'white & grey tabby pattern w/ diffuse blue-grey light; cotton balls above; hazy to the east; rainy to the west; slowly moving North',\n", " Conditions: 'after shopping, making lunch & coffee, put off and hurried' },\n", " { Serial: '2.4:10',\n", " Scheduled: '2015-11-02T16:30-05',\n", " Observed: '2015-11-02T16:33-05',\n", " Present: 'JA, Tia, traffic, crickets',\n", " Location: 'Ivy Dental, porch',\n", " Observations: 'some deep blue above, grey streaks, a few vapor trails, pool water blue to the west, grey storm to the east; moving slowly south',\n", " Conditions: 'post-dentist numb lips, about to bike happy & awake, but pestered' },\n", " { Serial: '2.5:11',\n", " Scheduled: '2015-11-0T10:30-05',\n", " Observed: '2015-11-02T19:48-05',\n", " Present: 'JA, MER, crickets, traffic',\n", " Location: 'Little High, sidewalk',\n", " Observations: 'purple-grey and ruddy (puce?) large marbling overhead; no orange clouds to the east; mottled to the west;',\n", " Conditions: 'full belly, w/ MER, cool, numbing recovering, talking about relationships; street lights, MER really wants to move on; new plan' },\n", " { Serial: '2.6:12',\n", " Scheduled: 'before bed',\n", " Observed: '2015-11-02T11:30-05',\n", " Present: 'JA, crickets',\n", " Location: 'Little High, sidewalk',\n", " Observations: 'clouds overhead more broken up, visible chunks of purple or navy,; solid to the north, loose to the east; seem stationary;',\n", " Conditions: 'tooth aching post-dinner and the return of sensation isn\\'t nice; tired, ready to sleep' },\n", " { Serial: '[blank]',\n", " Scheduled: '',\n", " Observed: '',\n", " Present: '',\n", " Location: '',\n", " Observations: '',\n", " Conditions: '' },\n", " { Serial: '3.1:13',\n", " Scheduled: 'waking',\n", " Observed: '2015-11-03T09:54-05',\n", " Present: 'JA, birds, (JD inside), traffic',\n", " Location: 'Little High, porch',\n", " Observations: 'clear blue skies, no visible clouds, moon above, sun in yellow-orange sky to east, pool-water blue near west horizon, stringy blue north',\n", " Conditions: 'just up in PJs, stink eye from JD, cool temperature, moderate school traffic' },\n", " { Serial: '3.2:14',\n", " Scheduled: '2015-11-03T11:00-05',\n", " Observed: '2015-11-03T10:36-05',\n", " Present: 'JA, 8 students, 6 bikes, birds, plane, traffic',\n", " Location: 'Nau Hall, circular patio',\n", " Observations: 'very clear skies, moon lower in the north, pool water to the west, cobalt above, pool-water near the horizon, really;',\n", " Conditions: 'just biked to campus, sitting in patio, awake, sore tooth, prepping for class' },\n", " { Serial: '3.3:15',\n", " Scheduled: '2015-11-03T14:30-05',\n", " Observed: '2015-11-03T14:27-05',\n", " Present: 'JA, ER, JB, PL, LW, 6 students',\n", " Location: 'Praxis Lab, through the window',\n", " Observations: 'through the window, clear skies, bright sun pool-water color near the horizon, cobalt blue up, no moon,',\n", " Conditions: 'but only looking North; in the lab, was late to a meeting, reading email, ER and I are fangirling, Ronda walked in' },\n", " { Serial: '3.4:16',\n", " Scheduled: '2015-11-03T18:30-05',\n", " Observed: '2015-11-03T18:52-05',\n", " Present: 'JA, crickets, car, neighbors, traffic, Rosie, BS',\n", " Location: 'Little High, street & porch',\n", " Observations: 'clear blue sky, no clouds visible, twinkling stars, blue-black, street lights, little wind, still no clouds',\n", " Conditions: 'recently showered, Rosie politely waiting, BS visited, AW coming over, slightly hungry, cool in t-shirt, sitting, after-shave on face' },\n", " { Serial: '3.5:17',\n", " Scheduled: '2015-11-03T22:30-05',\n", " Observed: '2015-11-03T22:32-05',\n", " Present: 'JA, AW, crickets, traffic',\n", " Location: 'Little High, porch & street',\n", " Observations: 'no clouds, twinkling stars, Orion behind a tree, light on horizon,',\n", " Conditions: 'hanging w/ AW, snuggled & had beers, o.w. a quiet night, very mellow, want to play a game' },\n", " { Serial: '3.6:18',\n", " Scheduled: 'before bed',\n", " Observed: '2015-11-03T23:51-05',\n", " Present: 'JA, traffic',\n", " Location: 'LIttle High, bedroom',\n", " Observations: 'black-grey stky, no stars visible,',\n", " Conditions: 'through a window, street light, up late playing Earthbound, which was good, tired and worried about getting enough observations before bed.' },\n", " { Serial: '4.1:19',\n", " Scheduled: 'upon waking',\n", " Observed: '2015-11-04T07:59-05',\n", " Present: 'JA, birds, traffic',\n", " Location: 'Little High, porch',\n", " Observations: 'few clouds, except to the SE, white light, some grey bottoms and the pool-water horizon;',\n", " Conditions: 'a bit chilly out, lots of birds singing. I feel like I slept in, but apparently not (only 8 hours) could have 5 am' },\n", " { Serial: '4.2:20',\n", " Scheduled: '2015-11-04T11:30-05',\n", " Observed: '2015-11-04T11:00-05',\n", " Present: 'JA, traffic, music, outside',\n", " Location: 'Little High, desk, bedroom',\n", " Observations: 'very clear still, cloudy on eastern horizon in strips, white near the pool-water blue, also southern too, clear bright, white;',\n", " Conditions: 'substituting early observation because of last night\\'s pile-up and finishing a task: a reward' },\n", " { Serial: '4.3:21',\n", " Scheduled: '2015-11-04T14:00-05',\n", " Observed: '2015-11-04T14:04-05',\n", " Present: 'JA, traffic, construction, neighbor raking, children',\n", " Location: 'Little High, porch & street',\n", " Observations: 'wispy clouds E,S,W, for E grey and low, S are little streaks of pure, white, W is billowing large clouds, N is deep blue;',\n", " Conditions: 'just patch pants & finished a book, _hot_, EH coming over shortly' },\n", " { Serial: '4.4:22',\n", " Scheduled: '2015-11-04T18:00-05',\n", " Observed: '2015-11-04T17:22-05',\n", " Present: 'JA, EH, traffic, birds, crickets, children playing, neighbors, squirrel',\n", " Location: 'Little High, sidewalk',\n", " Observations: 'grey, falling light, low, light grey to dark, bluish grey east light breaking through in west',\n", " Conditions: 'walked around all day, EH assisting [with observation], street lights on, sun light around, around 60 degrees Fahrenheit, sun not visible' },\n", " { Serial: '4.5:23',\n", " Scheduled: '2015-11-04T10:30-05',\n", " Observed: '2015-11-04T21:01-05',\n", " Present: 'JA, crickets, traffic, ER',\n", " Location: 'Little High, sidewalk',\n", " Observations: 'light purple & dark blue clouds, few stars, solid purples eastern, solid grey purple west, mottled north, deep blue south;',\n", " Conditions: 'full belly, having played games & caught up w/ ER & EH' },\n", " { Serial: '4.6:24',\n", " Scheduled: 'before bed',\n", " Observed: '2015-11-04T23:59-05',\n", " Present: 'JA, crickets, traffic',\n", " Location: 'Little High, bed-window',\n", " Observations: 'purple grey clouds on a dark navy sky, street light, few stars;',\n", " Conditions: 'after setting up and playing a little Earthbound at home and getting ready for trip to NYC to go to the workshop' },\n", " { Serial: '5.1:25',\n", " Scheduled: 'waking ( ca. 2015-11-05T06:00-05 )',\n", " Observed: '2015-11-05T06:42-05',\n", " Present: 'JA, birds, radio, traffic',\n", " Location: 'Little High, porch',\n", " Observations: 'multi-color stripes to the east, dull-flat-grey to the west, south is a lightly ribbed grey-velvet mix, sun is rising on medium cover;',\n", " Conditions: 'just woken up, in jacket and jeans, worried about making the train on time' },\n", " { Serial: '5.2:26',\n", " Scheduled: '2015-11-05T09:30-05',\n", " Observed: '2015-11-05T10:26-05',\n", " Present: 'JA, passengers, trains, BH',\n", " Location: 'Train just past Manasses',\n", " Observations: 'south widwon; wispy clouds in white along horizon reaching to a blue sky above;',\n", " Conditions: 'extremely limited range of viewing, but on a comfortable seat and working on laptop while reading, BH near' },\n", " { Serial: '5.3:27',\n", " Scheduled: '2015-11-05T12:30-05',\n", " Observed: '2015-11-05T12:13-05',\n", " Present: 'JA, quiet car, _many_ more passengers',\n", " Location: 'NE of Washington DC, on train',\n", " Observations: 'SE window: brown-grey haze, no clouds, dirty looking light swirling blackish clouds up, not much NW, but hazy too;',\n", " Conditions: 'in train w/ even more people as we travel, waiting to get lunch' },\n", " { Serial: '5.4:28',\n", " Scheduled: '2015-11-05T15:30-05',\n", " Observed: '2015-11-05T14:24-05',\n", " Present: 'JA, passengers, train',\n", " Location: 'Trenton, NJ, train station',\n", " Observations: 'raining, sky reflected on surfaces at station as seen through the window of the train, grey-blue overcast; hint of aqua',\n", " Conditions: 'finished computer work, lady sitting by me, re-checked ticket, had weird lunch' },\n", " { Serial: '5.5:29',\n", " Scheduled: '2015-11-05T18:30-05',\n", " Observed: '2015-11-05T18:30-05',\n", " Present: 'JA, traffic, people on the street',\n", " Location: 'Giovanni\\'s place, NYC, W 44th St.',\n", " Observations: 'looking N out a window over buildings, black-orange haze, slight rain, glistening sidewalks;',\n", " Conditions: 'having read about Emacs & text all day ridden a train, managet to get into Giovanni\\'s house' },\n", " { Serial: '5.6:30',\n", " Scheduled: 'before bed',\n", " Observed: '2015-11-05T22:05-05',\n", " Present: 'JA, traffic, pedestrians',\n", " Location: 'Giovanni\\'s place',\n", " Observations: 'grey-purples quite bright, light from street, no stars, spot light creame in parts, just N over buildings;',\n", " Conditions: 'post shower, drinked with Ali, quite tired and ready for bed, feeling good though' },\n", " { Serial: '6.1:31',\n", " Scheduled: 'awaking',\n", " Observed: '2015-11-06T07:30-05',\n", " Present: 'JA, traffic, siren, Frank',\n", " Location: 'Giovanni\\'s place, out the window',\n", " Observations: 'gre skies gradient from smoke grey to pale white, some cracks to blueish, above, bubbly, round;',\n", " Conditions: 'just awake, dressed, watering eyes, tired, but happy, hearing voices in the hallway' },\n", " { Serial: '6.2:32',\n", " Scheduled: '2015-11-06T10:30-05',\n", " Observed: '2015-11-06T10:25-05',\n", " Present: 'JA, traffic, construction, dude on phone',\n", " Location: 'Grolier Club, front porch',\n", " Observations: 'fast moving, low clouds to the west through buildings, white & blue, above grey & white, fast moving;',\n", " Conditions: 'having looked at the exhibit and now standing outside, saw some friends and hung out' },\n", " { Serial: '6.3:33',\n", " Scheduled: '2015-11-06T13:30-05',\n", " Observed: '2015-11-06T13:42-05',\n", " Present: 'JA, traffic, construction, people',\n", " Location: 'Gene\\'s Coffe Shop, porch',\n", " Observations: 'fast, low clouds, slight haze to the west, bright sunlight & warm;',\n", " Conditions: 'hungry having looked at books for awhile and ready for conference' },\n", " { Serial: '6.4:34',\n", " Scheduled: '2015-11-06T16:30-05',\n", " Observed: '2015-11-06T17:03-05',\n", " Present: 'JA, people, traffic',\n", " Location: 'Along 44th St., on sidewalk',\n", " Observations: 'hazy and humid, clouds close in',\n", " Conditions: 'totally memorial reconstruction' },\n", " { Serial: '6.5:35',\n", " Scheduled: '2015-11-06T18:30-05',\n", " Observed: '2015-11-06T18:30-05',\n", " Present: 'JA, so many people!',\n", " Location: 'street somewhere near Harvard Club',\n", " Observations: 'nothing, too many people',\n", " Conditions: '[apparently written in some haste and despair]' },\n", " { Serial: '[blank]',\n", " Scheduled: '',\n", " Observed: '',\n", " Present: '',\n", " Location: '',\n", " Observations: '',\n", " Conditions: '' },\n", " { Serial: '6.6:36',\n", " Scheduled: '',\n", " Observed: '2015-11-06T20:34-05',\n", " Present: 'JA, people, traffic, siren',\n", " Location: 'Giovanni\\'s place',\n", " Observations: 'grey & dark blue, slow moving, breaking clouds, grey cap over navy horizon;',\n", " Conditions: 'full belly & tired but okay and ready for bed' },\n", " { Serial: '7.1:37',\n", " Scheduled: 'waking',\n", " Observed: '2015-11-07T07:27-05',\n", " Present: 'JA, traffic, people',\n", " Location: 'Giovanni\\'s 4th floor',\n", " Observations: 'dishwater grey-blue & tight grey-white streaked together, moving slowly, not fast, seem low, beautiful streaking up;',\n", " Conditions: 'just waknig up, feeling groggy as I slept 11 hours or so, but I think it was good' },\n", " { Serial: '7.2:38',\n", " Scheduled: '2015-11-07T10:00-05',\n", " Observed: '2015-11-07T09:50-05',\n", " Present: 'JA, traffic, construction, dude crossing the street, etc.',\n", " Location: 'Grolier Club, porch',\n", " Observations: 'uniformish, grey & white, smooth colors, medium fast moving, light grey blue, etc. west a little orange at horizon;',\n", " Conditions: 'snuck out of conference, rushed' },\n", " { Serial: '7.3:39',\n", " Scheduled: '2015-11-07T12:00-05',\n", " Observed: '2015-11-07T11:00-05',\n", " Present: 'JA, conference smokers, traffic, construction',\n", " Location: 'Grolier Club, porch',\n", " Observations: 'uniform gradient from white above to blueish near horizon, then grey below, then a white streaking think scalloped horizon;',\n", " Conditions: 'break at talk, saw LO, wants award' },\n", " { Serial: '7.4:34',\n", " Scheduled: '2015-11-07T15:00-05',\n", " Observed: '2015-11-07T13:00-05',\n", " Present: 'JA, traffic, people, construction, LO, ES',\n", " Location: 'Grolier Club, porch',\n", " Observations: 'white-grey, bright clouds, darkening toward horizon, low lines of blue; moderate speed about 45 degrees up;',\n", " Conditions: 'after lecture grabbing lunch, but o.w. feeling awake & fine' },\n", " { Serial: '7.5:35',\n", " Scheduled: '2015-11-07T17:00-05',\n", " Observed: '2015-11-07T18:10-05',\n", " Present: 'JA, LO, traffic, people, dogs, horses',\n", " Location: 'Central Park',\n", " Observations: 'dark blue sky, no easily visible stars, fast walking in the cool air, no sense of rain;',\n", " Conditions: 'having finished a conference on Provenance & catching up w/ LO' },\n", " { Serial: '7.6:36',\n", " Scheduled: '',\n", " Observed: '2015-11-07T20:40-05',\n", " Present: 'JA, traffic, people',\n", " Location: 'Giovanni\\'s window',\n", " Observations: 'purple grey clouds, w/ pale but not deep blue ground, lumpy, chunks but not strings, or clods; breaking up toward horizon;',\n", " Conditions: 'sorta wanna go out, but feel like I should stay in' } ]\n" ] } ], "source": [ "var fs = require('fs');\n", "var cloud_data = [];\n", "\n", "var parser = csv.parse({delimiter: ',', columns: true}, function(err, data){\n", " cloud_data = data;\n", " console.log(data);}\n", " );\n", "\n", "fs.createReadStream('2015-11-16-cloud_data.csv').pipe(parser);\n", "cloud_data;" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Okay, so the code is slightly tweaked from [this example](https://github.com/wdavidw/node-csv-parse/blob/master/samples/fs_read.js), in the obvious ways, but is now loading the csv file and passing it to a parser that knows to cut it up at the commas and puts it in cloud_data. You can see that it's a labeled object, so let's look at the first row." ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/plain": [ "{ Serial: '1.1:1',\n", " Scheduled: '',\n", " Observed: '2015-11-01T03:23-05',\n", " Present: 'JA, RC',\n", " Location: 'Little High, bedroom',\n", " Observations: 'No clouds visible, dark & few stars visible, possibly because of the street lights.',\n", " Conditions: 'Observed from bed at approximate time, street lights & plate glass window. Somewhat hungover (drunk still?) after a long Halloween party w/ SW & friends' }" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "cloud_data[0];" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "So, let's imagine that I can make a package to automatically find the latitude and longitude of the \"Location\" listed in these. I'd have to iterate over all the Locations within each row. Let's see if I can make a list" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[ 'Little High, bedroom',\n", " 'Little High, front porch',\n", " 'Little High, porch',\n", " 'Little High, porch',\n", " 'Little High, porch & living room',\n", " 'Little High, bedroom & porch',\n", " 'Little High, bed in bedroom',\n", " 'Little High, front porch',\n", " 'Little High, porch',\n", " 'Ivy Dental, porch',\n", " 'Little High, sidewalk',\n", " 'Little High, sidewalk',\n", " '',\n", " 'Little High, porch',\n", " 'Nau Hall, circular patio',\n", " 'Praxis Lab, through the window',\n", " 'Little High, street & porch',\n", " 'Little High, porch & street',\n", " 'LIttle High, bedroom',\n", " 'Little High, porch',\n", " 'Little High, desk, bedroom',\n", " 'Little High, porch & street',\n", " 'Little High, sidewalk',\n", " 'Little High, sidewalk',\n", " 'Little High, bed-window',\n", " 'Little High, porch',\n", " 'Train just past Manasses',\n", " 'NE of Washington DC, on train',\n", " 'Trenton, NJ, train station',\n", " 'Giovanni\\'s place, NYC, W 44th St.',\n", " 'Giovanni\\'s place',\n", " 'Giovanni\\'s place, out the window',\n", " 'Grolier Club, front porch',\n", " 'Gene\\'s Coffe Shop, porch',\n", " 'Along 44th St., on sidewalk',\n", " 'street somewhere near Harvard Club',\n", " '',\n", " 'Giovanni\\'s place',\n", " 'Giovanni\\'s 4th floor',\n", " 'Grolier Club, porch',\n", " 'Grolier Club, porch',\n", " 'Grolier Club, porch',\n", " 'Central Park',\n", " 'Giovanni\\'s window' ]\n" ] }, { "data": { "text/plain": [ "undefined" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "var locations = [];\n", "\n", "for (eachRow in cloud_data) {\n", " locations.push(cloud_data[eachRow].Location);\n", "}\n", "\n", "console.log(locations);" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "That's pretty cool, I can see that the quotes are escpaed out, which seems like a good idea. I wonder if that will cause problems later. Now, on some of the records, we have no scheduled time; let's say that if I didn't schedule a time, then the scheduled time is the time I made the observation. This makes sense to me, since if I didn't bother to schedule it, I must have meant \"do it whenever.\"" ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Sched: 2015-11-01T03:23-05 Obsv: 2015-11-01T03:23-05\n", "Sched: 2015-11-01T07:08-05 Obsv: 2015-11-01T07:08-05\n", "Sched: 2015-11-01T11:03-05 Obsv: 2015-11-01T11:03-05\n", "Sched: 2015-11-01T15:00-05 Obsv: 2015-11-01T15:00-05\n", "Sched: 2015-11-01T19:00-05 Obsv: 2015-11-01T18:40-05\n", "Sched: 2015-11-01T22:30-05 Obsv: 2015-11-01T22:30-05\n", "Sched: 2015-11-02T03:00-05 Obsv: 2015-11-02T03:35-05\n", "Sched: 2015-11-02T07:30-05 Obsv: 2015-11-02T08:02-05\n", "Sched: 2015-11-02T12:00-05 Obsv: 2015-11-02T12:30-05\n", "Sched: 2015-11-02T16:30-05 Obsv: 2015-11-02T16:33-05\n", "Sched: 2015-11-0T10:30-05 Obsv: 2015-11-02T19:48-05\n", "Sched: before bed Obsv: 2015-11-02T11:30-05\n", "Sched: Obsv: \n", "Sched: waking Obsv: 2015-11-03T09:54-05\n", "Sched: 2015-11-03T11:00-05 Obsv: 2015-11-03T10:36-05\n", "Sched: 2015-11-03T14:30-05 Obsv: 2015-11-03T14:27-05\n", "Sched: 2015-11-03T18:30-05 Obsv: 2015-11-03T18:52-05\n", "Sched: 2015-11-03T22:30-05 Obsv: 2015-11-03T22:32-05\n", "Sched: before bed Obsv: 2015-11-03T23:51-05\n", "Sched: upon waking Obsv: 2015-11-04T07:59-05\n", "Sched: 2015-11-04T11:30-05 Obsv: 2015-11-04T11:00-05\n", "Sched: 2015-11-04T14:00-05 Obsv: 2015-11-04T14:04-05\n", "Sched: 2015-11-04T18:00-05 Obsv: 2015-11-04T17:22-05\n", "Sched: 2015-11-04T10:30-05 Obsv: 2015-11-04T21:01-05\n", "Sched: before bed Obsv: 2015-11-04T23:59-05\n", "Sched: waking ( ca. 2015-11-05T06:00-05 ) Obsv: 2015-11-05T06:42-05\n", "Sched: 2015-11-05T09:30-05 Obsv: 2015-11-05T10:26-05\n", "Sched: 2015-11-05T12:30-05 Obsv: 2015-11-05T12:13-05\n", "Sched: 2015-11-05T15:30-05 Obsv: 2015-11-05T14:24-05\n", "Sched: 2015-11-05T18:30-05 Obsv: 2015-11-05T18:30-05\n", "Sched: before bed Obsv: 2015-11-05T22:05-05\n", "Sched: awaking Obsv: 2015-11-06T07:30-05\n", "Sched: 2015-11-06T10:30-05 Obsv: 2015-11-06T10:25-05\n", "Sched: 2015-11-06T13:30-05 Obsv: 2015-11-06T13:42-05\n", "Sched: 2015-11-06T16:30-05 Obsv: 2015-11-06T17:03-05\n", "Sched: 2015-11-06T18:30-05 Obsv: 2015-11-06T18:30-05\n", "Sched: Obsv: \n", "Sched: 2015-11-06T20:34-05 Obsv: 2015-11-06T20:34-05\n", "Sched: waking Obsv: 2015-11-07T07:27-05\n", "Sched: 2015-11-07T10:00-05 Obsv: 2015-11-07T09:50-05\n", "Sched: 2015-11-07T12:00-05 Obsv: 2015-11-07T11:00-05\n", "Sched: 2015-11-07T15:00-05 Obsv: 2015-11-07T13:00-05\n", "Sched: 2015-11-07T17:00-05 Obsv: 2015-11-07T18:10-05\n", "Sched: 2015-11-07T20:40-05 Obsv: 2015-11-07T20:40-05\n" ] }, { "data": { "text/plain": [ "undefined" ] }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "for (eachRowIndex in cloud_data) {\n", " if (cloud_data[eachRowIndex].Scheduled === \"\") {\n", " cloud_data[eachRowIndex].Scheduled = cloud_data[eachRowIndex].Observed;\n", " }\n", " console.log(\"Sched: \", cloud_data[eachRowIndex].Scheduled, \" Obsv: \", cloud_data[eachRowIndex].Observed);\n", "}" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Now, I notice that there are two blank entries and I remember that my transcription had two blank pages. Let's drop those from the cloud_data object." ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/plain": [ "[ { Serial: '1.1:1',\n", " Scheduled: '2015-11-01T03:23-05',\n", " Observed: '2015-11-01T03:23-05',\n", " Present: 'JA, RC',\n", " Location: 'Little High, bedroom',\n", " Observations: 'No clouds visible, dark & few stars visible, possibly because of the street lights.',\n", " Conditions: 'Observed from bed at approximate time, street lights & plate glass window. Somewhat hungover (drunk still?) after a long Halloween party w/ SW & friends' },\n", " { Serial: '1.2:2',\n", " Scheduled: '2015-11-01T07:08-05',\n", " Observed: '2015-11-01T07:08-05',\n", " Present: 'JA, neighbors, passing car',\n", " Location: 'Little High, front porch',\n", " Observations: '*RAIN!* Nearly uniform grey clouds but sort of milky w/ some purplish sections breaking through.',\n", " Conditions: 'Natural light, sirens, hundreads of birds singing, neighbors making dog pee; headache blurry eyes, tired & some what cold, but not uncomfortable' },\n", " { Serial: '1.3:3',\n", " Scheduled: '2015-11-01T11:03-05',\n", " Observed: '2015-11-01T11:03-05',\n", " Present: 'JA, AW, birds, RC, traffic',\n", " Location: 'Little High, porch',\n", " Observations: 'No rain, slow moving NE, grey & white; looks like a storm; curdled water lumps that look like soft paper disolving in cold water',\n", " Conditions: 'RC & AW making fun of the project, clean and heading out to brunch, so I\\'m delaying them' },\n", " { Serial: '1.4:4',\n", " Scheduled: '2015-11-01T15:00-05',\n", " Observed: '2015-11-01T15:00-05',\n", " Present: 'JA, birds (RC upstairs)',\n", " Location: 'Little High, porch',\n", " Observations: 'slow moving w/ sunlight breaking through, mild rumble (thunder?), wl a stillness suggests impending rain; not much blue, nearly black & white, blue-grey, no sky;',\n", " Conditions: 'getting read to leave w/ RC, having played Earthbound for an hour' },\n", " { Serial: '1.5:5',\n", " Scheduled: '2015-11-01T19:00-05',\n", " Observed: '2015-11-01T18:40-05',\n", " Present: 'JA, JD, M (BS and Lundy near), crickets',\n", " Location: 'Little High, porch & living room',\n", " Observations: 'mostly dark sky, with some lighter streaks of cloud; one illuminated by the moon w/ a cool-blue light; one near the western horizon illuminated by orange city (?) light;',\n", " Conditions: 'in PJs, RC just left, full, talking w/ JD and tired from a long weekend' },\n", " { Serial: '1.6:6',\n", " Scheduled: '2015-11-01T22:30-05',\n", " Observed: '2015-11-01T22:30-05',\n", " Present: 'JA, BS, Lundy, crickets',\n", " Location: 'Little High, bedroom & porch',\n", " Observations: 'organge glow near eastern horizon, no stars, black sky, no visible moon (cf. 1.5:5)',\n", " Conditions: 'bright lights make the sky hard to see; west has a cooler city glow near the horizon seems to be moisture and mist; tired afte a long day, observations' },\n", " { Serial: '2.1:7',\n", " Scheduled: '2015-11-02T03:00-05',\n", " Observed: '2015-11-02T03:35-05',\n", " Present: 'JA, radio',\n", " Location: 'Little High, bed in bedroom',\n", " Observations: 'No apparent change, still black, starless w/ no visible clouds;',\n", " Conditions: 'a soft humming seems to have developed, woke up from sleep to write notes, so tired, not sure this is a great idea, but did use the rest-room; had odd dreams, but o/w good.' },\n", " { Serial: '2.2:8',\n", " Scheduled: '2015-11-02T07:30-05',\n", " Observed: '2015-11-02T08:02-05',\n", " Present: 'JA, two trash dudes, birds (JD inside)',\n", " Location: 'Little High, front porch',\n", " Observations: 'smooth, grey, some stripes and clusters to the south west looks like rain: opaque & uniform, north looks marbled, east looks like pollution;',\n", " Conditions: 'tired from night observation, JD fussy, no coffee yet, a little cold, but enthusiastic about the project' },\n", " { Serial: '2.3:9',\n", " Scheduled: '2015-11-02T12:00-05',\n", " Observed: '2015-11-02T12:30-05',\n", " Present: 'JA, birds, cars',\n", " Location: 'Little High, porch',\n", " Observations: 'white & grey tabby pattern w/ diffuse blue-grey light; cotton balls above; hazy to the east; rainy to the west; slowly moving North',\n", " Conditions: 'after shopping, making lunch & coffee, put off and hurried' },\n", " { Serial: '2.4:10',\n", " Scheduled: '2015-11-02T16:30-05',\n", " Observed: '2015-11-02T16:33-05',\n", " Present: 'JA, Tia, traffic, crickets',\n", " Location: 'Ivy Dental, porch',\n", " Observations: 'some deep blue above, grey streaks, a few vapor trails, pool water blue to the west, grey storm to the east; moving slowly south',\n", " Conditions: 'post-dentist numb lips, about to bike happy & awake, but pestered' },\n", " { Serial: '2.5:11',\n", " Scheduled: '2015-11-0T10:30-05',\n", " Observed: '2015-11-02T19:48-05',\n", " Present: 'JA, MER, crickets, traffic',\n", " Location: 'Little High, sidewalk',\n", " Observations: 'purple-grey and ruddy (puce?) large marbling overhead; no orange clouds to the east; mottled to the west;',\n", " Conditions: 'full belly, w/ MER, cool, numbing recovering, talking about relationships; street lights, MER really wants to move on; new plan' },\n", " { Serial: '2.6:12',\n", " Scheduled: 'before bed',\n", " Observed: '2015-11-02T11:30-05',\n", " Present: 'JA, crickets',\n", " Location: 'Little High, sidewalk',\n", " Observations: 'clouds overhead more broken up, visible chunks of purple or navy,; solid to the north, loose to the east; seem stationary;',\n", " Conditions: 'tooth aching post-dinner and the return of sensation isn\\'t nice; tired, ready to sleep' },\n", " ,\n", " { Serial: '3.1:13',\n", " Scheduled: 'waking',\n", " Observed: '2015-11-03T09:54-05',\n", " Present: 'JA, birds, (JD inside), traffic',\n", " Location: 'Little High, porch',\n", " Observations: 'clear blue skies, no visible clouds, moon above, sun in yellow-orange sky to east, pool-water blue near west horizon, stringy blue north',\n", " Conditions: 'just up in PJs, stink eye from JD, cool temperature, moderate school traffic' },\n", " { Serial: '3.2:14',\n", " Scheduled: '2015-11-03T11:00-05',\n", " Observed: '2015-11-03T10:36-05',\n", " Present: 'JA, 8 students, 6 bikes, birds, plane, traffic',\n", " Location: 'Nau Hall, circular patio',\n", " Observations: 'very clear skies, moon lower in the north, pool water to the west, cobalt above, pool-water near the horizon, really;',\n", " Conditions: 'just biked to campus, sitting in patio, awake, sore tooth, prepping for class' },\n", " { Serial: '3.3:15',\n", " Scheduled: '2015-11-03T14:30-05',\n", " Observed: '2015-11-03T14:27-05',\n", " Present: 'JA, ER, JB, PL, LW, 6 students',\n", " Location: 'Praxis Lab, through the window',\n", " Observations: 'through the window, clear skies, bright sun pool-water color near the horizon, cobalt blue up, no moon,',\n", " Conditions: 'but only looking North; in the lab, was late to a meeting, reading email, ER and I are fangirling, Ronda walked in' },\n", " { Serial: '3.4:16',\n", " Scheduled: '2015-11-03T18:30-05',\n", " Observed: '2015-11-03T18:52-05',\n", " Present: 'JA, crickets, car, neighbors, traffic, Rosie, BS',\n", " Location: 'Little High, street & porch',\n", " Observations: 'clear blue sky, no clouds visible, twinkling stars, blue-black, street lights, little wind, still no clouds',\n", " Conditions: 'recently showered, Rosie politely waiting, BS visited, AW coming over, slightly hungry, cool in t-shirt, sitting, after-shave on face' },\n", " { Serial: '3.5:17',\n", " Scheduled: '2015-11-03T22:30-05',\n", " Observed: '2015-11-03T22:32-05',\n", " Present: 'JA, AW, crickets, traffic',\n", " Location: 'Little High, porch & street',\n", " Observations: 'no clouds, twinkling stars, Orion behind a tree, light on horizon,',\n", " Conditions: 'hanging w/ AW, snuggled & had beers, o.w. a quiet night, very mellow, want to play a game' },\n", " { Serial: '3.6:18',\n", " Scheduled: 'before bed',\n", " Observed: '2015-11-03T23:51-05',\n", " Present: 'JA, traffic',\n", " Location: 'LIttle High, bedroom',\n", " Observations: 'black-grey stky, no stars visible,',\n", " Conditions: 'through a window, street light, up late playing Earthbound, which was good, tired and worried about getting enough observations before bed.' },\n", " { Serial: '4.1:19',\n", " Scheduled: 'upon waking',\n", " Observed: '2015-11-04T07:59-05',\n", " Present: 'JA, birds, traffic',\n", " Location: 'Little High, porch',\n", " Observations: 'few clouds, except to the SE, white light, some grey bottoms and the pool-water horizon;',\n", " Conditions: 'a bit chilly out, lots of birds singing. I feel like I slept in, but apparently not (only 8 hours) could have 5 am' },\n", " { Serial: '4.2:20',\n", " Scheduled: '2015-11-04T11:30-05',\n", " Observed: '2015-11-04T11:00-05',\n", " Present: 'JA, traffic, music, outside',\n", " Location: 'Little High, desk, bedroom',\n", " Observations: 'very clear still, cloudy on eastern horizon in strips, white near the pool-water blue, also southern too, clear bright, white;',\n", " Conditions: 'substituting early observation because of last night\\'s pile-up and finishing a task: a reward' },\n", " { Serial: '4.3:21',\n", " Scheduled: '2015-11-04T14:00-05',\n", " Observed: '2015-11-04T14:04-05',\n", " Present: 'JA, traffic, construction, neighbor raking, children',\n", " Location: 'Little High, porch & street',\n", " Observations: 'wispy clouds E,S,W, for E grey and low, S are little streaks of pure, white, W is billowing large clouds, N is deep blue;',\n", " Conditions: 'just patch pants & finished a book, _hot_, EH coming over shortly' },\n", " { Serial: '4.4:22',\n", " Scheduled: '2015-11-04T18:00-05',\n", " Observed: '2015-11-04T17:22-05',\n", " Present: 'JA, EH, traffic, birds, crickets, children playing, neighbors, squirrel',\n", " Location: 'Little High, sidewalk',\n", " Observations: 'grey, falling light, low, light grey to dark, bluish grey east light breaking through in west',\n", " Conditions: 'walked around all day, EH assisting [with observation], street lights on, sun light around, around 60 degrees Fahrenheit, sun not visible' },\n", " { Serial: '4.5:23',\n", " Scheduled: '2015-11-04T10:30-05',\n", " Observed: '2015-11-04T21:01-05',\n", " Present: 'JA, crickets, traffic, ER',\n", " Location: 'Little High, sidewalk',\n", " Observations: 'light purple & dark blue clouds, few stars, solid purples eastern, solid grey purple west, mottled north, deep blue south;',\n", " Conditions: 'full belly, having played games & caught up w/ ER & EH' },\n", " { Serial: '4.6:24',\n", " Scheduled: 'before bed',\n", " Observed: '2015-11-04T23:59-05',\n", " Present: 'JA, crickets, traffic',\n", " Location: 'Little High, bed-window',\n", " Observations: 'purple grey clouds on a dark navy sky, street light, few stars;',\n", " Conditions: 'after setting up and playing a little Earthbound at home and getting ready for trip to NYC to go to the workshop' },\n", " { Serial: '5.1:25',\n", " Scheduled: 'waking ( ca. 2015-11-05T06:00-05 )',\n", " Observed: '2015-11-05T06:42-05',\n", " Present: 'JA, birds, radio, traffic',\n", " Location: 'Little High, porch',\n", " Observations: 'multi-color stripes to the east, dull-flat-grey to the west, south is a lightly ribbed grey-velvet mix, sun is rising on medium cover;',\n", " Conditions: 'just woken up, in jacket and jeans, worried about making the train on time' },\n", " { Serial: '5.2:26',\n", " Scheduled: '2015-11-05T09:30-05',\n", " Observed: '2015-11-05T10:26-05',\n", " Present: 'JA, passengers, trains, BH',\n", " Location: 'Train just past Manasses',\n", " Observations: 'south widwon; wispy clouds in white along horizon reaching to a blue sky above;',\n", " Conditions: 'extremely limited range of viewing, but on a comfortable seat and working on laptop while reading, BH near' },\n", " { Serial: '5.3:27',\n", " Scheduled: '2015-11-05T12:30-05',\n", " Observed: '2015-11-05T12:13-05',\n", " Present: 'JA, quiet car, _many_ more passengers',\n", " Location: 'NE of Washington DC, on train',\n", " Observations: 'SE window: brown-grey haze, no clouds, dirty looking light swirling blackish clouds up, not much NW, but hazy too;',\n", " Conditions: 'in train w/ even more people as we travel, waiting to get lunch' },\n", " { Serial: '5.4:28',\n", " Scheduled: '2015-11-05T15:30-05',\n", " Observed: '2015-11-05T14:24-05',\n", " Present: 'JA, passengers, train',\n", " Location: 'Trenton, NJ, train station',\n", " Observations: 'raining, sky reflected on surfaces at station as seen through the window of the train, grey-blue overcast; hint of aqua',\n", " Conditions: 'finished computer work, lady sitting by me, re-checked ticket, had weird lunch' },\n", " { Serial: '5.5:29',\n", " Scheduled: '2015-11-05T18:30-05',\n", " Observed: '2015-11-05T18:30-05',\n", " Present: 'JA, traffic, people on the street',\n", " Location: 'Giovanni\\'s place, NYC, W 44th St.',\n", " Observations: 'looking N out a window over buildings, black-orange haze, slight rain, glistening sidewalks;',\n", " Conditions: 'having read about Emacs & text all day ridden a train, managet to get into Giovanni\\'s house' },\n", " { Serial: '5.6:30',\n", " Scheduled: 'before bed',\n", " Observed: '2015-11-05T22:05-05',\n", " Present: 'JA, traffic, pedestrians',\n", " Location: 'Giovanni\\'s place',\n", " Observations: 'grey-purples quite bright, light from street, no stars, spot light creame in parts, just N over buildings;',\n", " Conditions: 'post shower, drinked with Ali, quite tired and ready for bed, feeling good though' },\n", " { Serial: '6.1:31',\n", " Scheduled: 'awaking',\n", " Observed: '2015-11-06T07:30-05',\n", " Present: 'JA, traffic, siren, Frank',\n", " Location: 'Giovanni\\'s place, out the window',\n", " Observations: 'gre skies gradient from smoke grey to pale white, some cracks to blueish, above, bubbly, round;',\n", " Conditions: 'just awake, dressed, watering eyes, tired, but happy, hearing voices in the hallway' },\n", " { Serial: '6.2:32',\n", " Scheduled: '2015-11-06T10:30-05',\n", " Observed: '2015-11-06T10:25-05',\n", " Present: 'JA, traffic, construction, dude on phone',\n", " Location: 'Grolier Club, front porch',\n", " Observations: 'fast moving, low clouds to the west through buildings, white & blue, above grey & white, fast moving;',\n", " Conditions: 'having looked at the exhibit and now standing outside, saw some friends and hung out' },\n", " { Serial: '6.3:33',\n", " Scheduled: '2015-11-06T13:30-05',\n", " Observed: '2015-11-06T13:42-05',\n", " Present: 'JA, traffic, construction, people',\n", " Location: 'Gene\\'s Coffe Shop, porch',\n", " Observations: 'fast, low clouds, slight haze to the west, bright sunlight & warm;',\n", " Conditions: 'hungry having looked at books for awhile and ready for conference' },\n", " { Serial: '6.4:34',\n", " Scheduled: '2015-11-06T16:30-05',\n", " Observed: '2015-11-06T17:03-05',\n", " Present: 'JA, people, traffic',\n", " Location: 'Along 44th St., on sidewalk',\n", " Observations: 'hazy and humid, clouds close in',\n", " Conditions: 'totally memorial reconstruction' },\n", " { Serial: '6.5:35',\n", " Scheduled: '2015-11-06T18:30-05',\n", " Observed: '2015-11-06T18:30-05',\n", " Present: 'JA, so many people!',\n", " Location: 'street somewhere near Harvard Club',\n", " Observations: 'nothing, too many people',\n", " Conditions: '[apparently written in some haste and despair]' },\n", " ,\n", " { Serial: '6.6:36',\n", " Scheduled: '2015-11-06T20:34-05',\n", " Observed: '2015-11-06T20:34-05',\n", " Present: 'JA, people, traffic, siren',\n", " Location: 'Giovanni\\'s place',\n", " Observations: 'grey & dark blue, slow moving, breaking clouds, grey cap over navy horizon;',\n", " Conditions: 'full belly & tired but okay and ready for bed' },\n", " { Serial: '7.1:37',\n", " Scheduled: 'waking',\n", " Observed: '2015-11-07T07:27-05',\n", " Present: 'JA, traffic, people',\n", " Location: 'Giovanni\\'s 4th floor',\n", " Observations: 'dishwater grey-blue & tight grey-white streaked together, moving slowly, not fast, seem low, beautiful streaking up;',\n", " Conditions: 'just waknig up, feeling groggy as I slept 11 hours or so, but I think it was good' },\n", " { Serial: '7.2:38',\n", " Scheduled: '2015-11-07T10:00-05',\n", " Observed: '2015-11-07T09:50-05',\n", " Present: 'JA, traffic, construction, dude crossing the street, etc.',\n", " Location: 'Grolier Club, porch',\n", " Observations: 'uniformish, grey & white, smooth colors, medium fast moving, light grey blue, etc. west a little orange at horizon;',\n", " Conditions: 'snuck out of conference, rushed' },\n", " { Serial: '7.3:39',\n", " Scheduled: '2015-11-07T12:00-05',\n", " Observed: '2015-11-07T11:00-05',\n", " Present: 'JA, conference smokers, traffic, construction',\n", " Location: 'Grolier Club, porch',\n", " Observations: 'uniform gradient from white above to blueish near horizon, then grey below, then a white streaking think scalloped horizon;',\n", " Conditions: 'break at talk, saw LO, wants award' },\n", " { Serial: '7.4:34',\n", " Scheduled: '2015-11-07T15:00-05',\n", " Observed: '2015-11-07T13:00-05',\n", " Present: 'JA, traffic, people, construction, LO, ES',\n", " Location: 'Grolier Club, porch',\n", " Observations: 'white-grey, bright clouds, darkening toward horizon, low lines of blue; moderate speed about 45 degrees up;',\n", " Conditions: 'after lecture grabbing lunch, but o.w. feeling awake & fine' },\n", " { Serial: '7.5:35',\n", " Scheduled: '2015-11-07T17:00-05',\n", " Observed: '2015-11-07T18:10-05',\n", " Present: 'JA, LO, traffic, people, dogs, horses',\n", " Location: 'Central Park',\n", " Observations: 'dark blue sky, no easily visible stars, fast walking in the cool air, no sense of rain;',\n", " Conditions: 'having finished a conference on Provenance & catching up w/ LO' },\n", " { Serial: '7.6:36',\n", " Scheduled: '2015-11-07T20:40-05',\n", " Observed: '2015-11-07T20:40-05',\n", " Present: 'JA, traffic, people',\n", " Location: 'Giovanni\\'s window',\n", " Observations: 'purple grey clouds, w/ pale but not deep blue ground, lumpy, chunks but not strings, or clods; breaking up toward horizon;',\n", " Conditions: 'sorta wanna go out, but feel like I should stay in' } ]" ] }, "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ "for (eachRowIndex in cloud_data) {\n", " if (cloud_data[eachRowIndex].Scheduled === \"\") {\n", " delete cloud_data[eachRowIndex];\n", " }\n", "}\n", "\n", "cloud_data;" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Okay, so now I've changed entries, added new records, and deleted bad records. It seems to me I have everything I need to massage this data into some sort of format that a visualization function can use, so I'll set this aside for today." ] } ], "metadata": { "kernelspec": { "display_name": "Javascript (Node.js)", "language": "javascript", "name": "javascript" }, "language_info": { "file_extension": "js", "mimetype": "application/javascript", "name": "javascript", "version": "4.2.1" } }, "nbformat": 4, "nbformat_minor": 0 }