{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![OpenSARlab notebook banner](NotebookAddons/blackboard-banner.png)\n",
"\n",
"# Prepare a SAR Data Stack\n",
"### Joseph H Kennedy and Alex Lewandowski; Alaska Satellite Facility\n",
"\n",
"This notebook downloads an ASF-HyP3 RTC project and prepares a deep multi-temporal SAR image data stack for use in other notebooks.\n",
"\n",
""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Important Note about JupyterHub\n",
"\n",
"**Your JupyterHub server will automatically shutdown when left idle for more than 1 hour. Your notebooks will not be lost but you will have to restart their kernels and re-run them from the beginning. You will not be able to seamlessly continue running a partially run notebook.**"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import url_widget as url_w\n",
"notebookUrl = url_w.URLWidget()\n",
"display(notebookUrl)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"pycharm": {
"name": "#%%\n"
}
},
"outputs": [],
"source": [
"from IPython.display import Markdown\n",
"from IPython.display import display\n",
"\n",
"notebookUrl = notebookUrl.value\n",
"user = !echo $JUPYTERHUB_USER\n",
"env = !echo $CONDA_PREFIX\n",
"if env[0] == '':\n",
" env[0] = 'Python 3 (base)'\n",
"if env[0] != '/home/jovyan/.local/envs/rtc_analysis':\n",
" display(Markdown(f'