Skip to content

Commit 7783372

Browse files
committed
Use ../example_data in Exercise_01
1 parent b939009 commit 7783372

File tree

4 files changed

+12
-16
lines changed

4 files changed

+12
-16
lines changed

notebooks/.notebook_shadow_copies/Exercise_01.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ from pv_conversions import pv_from_lfric_cube
5959

6060
```python tags=[]
6161
# Define the location of the data and file names
62-
data_path =
63-
lfric_path = data_path + '20210324T0000Z_lf_ugrid.nc'
64-
um_path = data_path + '20210324T0000Z_um_latlon.nc'
62+
data_path = '../example_data/'
63+
lfric_path = data_path + 'u-ct674_20210324T0000Z_lf_ugrid.nc'
64+
um_path = data_path + 'u-ct674_20210324T0000Z_um_latlon.nc'
6565

6666
with PARSE_UGRID_ON_LOAD.context():
6767
lfric_rho = iris.load_cube(lfric_path, 'surface_air_pressure')

notebooks/.notebook_shadow_copies/Exercise_01_answers.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,9 @@ from pv_conversions import pv_from_lfric_cube
6060

6161
```python tags=[]
6262
# Define the location of the data and file names
63-
data_path = '/scratch/bfock/example_data_iris-mesh-tutorial'
64-
data_path = '/scratch/bfock/example_data_u-ct674/'
65-
66-
lfric_path = data_path + '20210324T0000Z_lf_ugrid.nc'
67-
um_path = data_path + '20210324T0000Z_um_latlon.nc'
63+
data_path = '../example_data/'
64+
lfric_path = data_path + 'u-ct674_20210324T0000Z_lf_ugrid.nc'
65+
um_path = data_path + 'u-ct674_20210324T0000Z_um_latlon.nc'
6866

6967
with PARSE_UGRID_ON_LOAD.context():
7068
lfric_rho = iris.load_cube(lfric_path, 'surface_air_pressure')

notebooks/Exercise_01.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@
9696
"outputs": [],
9797
"source": [
9898
"# Define the location of the data and file names\n",
99-
"data_path = \n",
100-
"lfric_path = data_path + '20210324T0000Z_lf_ugrid.nc'\n",
101-
"um_path = data_path + '20210324T0000Z_um_latlon.nc'\n",
99+
"data_path = '../example_data/'\n",
100+
"lfric_path = data_path + 'u-ct674_20210324T0000Z_lf_ugrid.nc'\n",
101+
"um_path = data_path + 'u-ct674_20210324T0000Z_um_latlon.nc'\n",
102102
"\n",
103103
"with PARSE_UGRID_ON_LOAD.context():\n",
104104
" lfric_rho = iris.load_cube(lfric_path, 'surface_air_pressure')\n",

notebooks/Exercise_01_answers.ipynb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,9 @@
129129
],
130130
"source": [
131131
"# Define the location of the data and file names\n",
132-
"data_path = '/scratch/bfock/example_data_iris-mesh-tutorial'\n",
133-
"data_path = '/scratch/bfock/example_data_u-ct674/'\n",
134-
"\n",
135-
"lfric_path = data_path + '20210324T0000Z_lf_ugrid.nc'\n",
136-
"um_path = data_path + '20210324T0000Z_um_latlon.nc'\n",
132+
"data_path = '../example_data/'\n",
133+
"lfric_path = data_path + 'u-ct674_20210324T0000Z_lf_ugrid.nc'\n",
134+
"um_path = data_path + 'u-ct674_20210324T0000Z_um_latlon.nc'\n",
137135
"\n",
138136
"with PARSE_UGRID_ON_LOAD.context():\n",
139137
" lfric_rho = iris.load_cube(lfric_path, 'surface_air_pressure')\n",

0 commit comments

Comments
 (0)