input/output with changing waterfall
parent
ef2a5fbf06
commit
48173b25d7
|
@ -159,7 +159,9 @@
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"from collections import defaultdict"
|
"from collections import defaultdict\n",
|
||||||
|
"#import PIL as pil\n",
|
||||||
|
"from PIL import Image as im"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -197,7 +199,9 @@
|
||||||
" print('Observation ID: ', obs_id)\n",
|
" print('Observation ID: ', obs_id)\n",
|
||||||
" obs_waterfall_path = os.path.join('/srv/satnogs/download', str(obs_id), obs_waterfall)\n",
|
" obs_waterfall_path = os.path.join('/srv/satnogs/download', str(obs_id), obs_waterfall)\n",
|
||||||
" print(obs_waterfall_path)\n",
|
" print(obs_waterfall_path)\n",
|
||||||
" display(Image(filename=obs_waterfall_path, width=100))"
|
" #display(Image(filename=obs_waterfall_path, width=100))\n",
|
||||||
|
" img = im.open(obs_waterfall_path).resize( (100,200) )\n",
|
||||||
|
" display(img)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue