Made changes to load data from data directory on Jupyter Hub and deleted data directory.
This commit is contained in:
@@ -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)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user