Skip to content

Instantly share code, notes, and snippets.

@darkblue-b
Created January 26, 2015 06:21
Show Gist options
  • Save darkblue-b/3ddba61f1927e9c4258a to your computer and use it in GitHub Desktop.
Save darkblue-b/3ddba61f1927e9c4258a to your computer and use it in GitHub Desktop.
gaez18 display demo0
{
"metadata": {
"name": "",
"signature": "sha256:14c8540323e4853e738486ac9fcfa6a3986e00a100985fccd4b57b91bdc4f59d"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": [
"from IPython.display import Image\n",
"\n",
"## Display example in IPython Notebook\n",
"## this page briefly demonstrates not the ability to show an image,\n",
"## or the content particularly, but rather the beginnings of a workflow\n",
"## The Notebook itself is executed on a live, privelaged server, and the \n",
"## results of the interactive session are snapshot'd and delivered \n",
"##\n",
"## The categorizations shown are trivial coloring of the contents of \n",
"## gaez18 spliced into accepted administrative boundaries of the world.\n",
"##\n",
"## 25jan15 -Brian M Hamlin maplabs@light42.com"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"Image(url='http://ct.light42.com/plevin_misc/imgs/gaez18_ne2_UN_Region.png')"
],
"language": "python",
"metadata": {},
"outputs": [
{
"html": [
"<img src=\"http://ct.light42.com/plevin_misc/imgs/gaez18_ne2_UN_Region.png\"/>"
],
"metadata": {},
"output_type": "pyout",
"prompt_number": 2,
"text": [
"<IPython.core.display.Image at 0x7f53ac011d90>"
]
}
],
"prompt_number": 2
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"Image(url='http://ct.light42.com/plevin_misc/imgs/gaez18_gridcode_raw.png')\n",
"\n",
"## this shows gridcode only, from gaez18. Note how political boundaries are crossed"
],
"language": "python",
"metadata": {},
"outputs": [
{
"html": [
"<img src=\"http://ct.light42.com/plevin_misc/imgs/gaez18_gridcode_raw.png\"/>"
],
"metadata": {},
"output_type": "pyout",
"prompt_number": 3,
"text": [
"<IPython.core.display.Image at 0x7f53ac02f150>"
]
}
],
"prompt_number": 3
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"Image(url='http://ct.light42.com/plevin_misc/imgs/gaez18_ne2_IncOECD.png')\n",
"\n",
"## an economic categorization"
],
"language": "python",
"metadata": {},
"outputs": [
{
"html": [
"<img src=\"http://ct.light42.com/plevin_misc/imgs/gaez18_ne2_IncOECD.png\"/>"
],
"metadata": {},
"output_type": "pyout",
"prompt_number": 4,
"text": [
"<IPython.core.display.Image at 0x7f53ac011cd0>"
]
}
],
"prompt_number": 4
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"Image(url='http://ct.light42.com/plevin_misc/imgs/gaez18_ne2_0.png')\n",
"\n",
"## simple continents"
],
"language": "python",
"metadata": {},
"outputs": [
{
"html": [
"<img src=\"http://ct.light42.com/plevin_misc/imgs/gaez18_ne2_0.png\"/>"
],
"metadata": {},
"output_type": "pyout",
"prompt_number": 5,
"text": [
"<IPython.core.display.Image at 0x7f53ac011d10>"
]
}
],
"prompt_number": 5
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment