Made changes to load data from data directory on Jupyter Hub and deleted data directory.

This commit is contained in:
2021-06-25 10:11:03 +02:00
parent 8ce3df158c
commit 138d954abf
19 changed files with 13 additions and 23 deletions

View File

@@ -25,6 +25,7 @@
"source": [
"# Import all required packages\n",
"%matplotlib inline\n",
"import os\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"from obspy import read\n",
@@ -38,8 +39,8 @@
"outputs": [],
"source": [
"# Read the data\n",
"st = read(\"../data/DOR50/*063\")\n",
"print(st)"
"datapath = os.path.join(os.path.expanduser('~'),'work', 'data', 'DOR50', '*063')\n",
"st = read(datapath)"
]
},
{