wut-web-dev cruft inputish

master 0.71
ml server 2020-01-23 22:10:12 -07:00
parent 3086fd990e
commit 4806b13411
1 changed files with 45 additions and 43 deletions

View File

@ -25,49 +25,6 @@
"from tensorflow.python.keras.preprocessing.image import ImageDataGenerator"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
},
"outputs": [],
"source": [
"def wutObs(datObs):\n",
" print('Observation URL: https://network.satnogs.org/observations/{}'.format(datObs))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
},
"outputs": [],
"source": [
"wutObs_slide = wg.IntText(value='1456893')"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
},
"outputs": [],
"source": [
"wg.interact(wutObs, datObs=wutObs_slide)"
]
},
{
"cell_type": "code",
"execution_count": null,
@ -223,6 +180,51 @@
"# Copy waterfall to processing location (meh, should hit directly).\n",
"# Load correct .tf model file based on transmitter_mode."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"maxobsid=1470525\n",
"minobsid=1292461"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
},
"outputs": [],
"source": [
"def wutObs(datObs):\n",
" if int(datObs) > minobsid and int(datObs) < maxobsid:\n",
" print('Observation URL: https://network.satnogs.org/observations/{}'.format(datObs));\n",
" !cat /srv/satnogs/download/$datObs/$datObs\\.json | jq\n",
" print('Files:')\n",
" !ls /srv/satnogs/download/$datObs"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
},
"outputs": [],
"source": [
"print('Enter an Observation ID above', minobsid, 'and below', maxobsid)\n",
"wutObs_slide = wg.IntText(value='0');\n",
"wg.interact(wutObs, datObs=wutObs_slide);"
]
}
],
"metadata": {