Skip to content

Commit cc9e760

Browse files
committed
fix typos in tutorial 4
1 parent 14be98b commit cc9e760

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

notebooks/CSSP_20CRDS_Tutorials/tutorial_4_advance_analysis.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -529,14 +529,13 @@
529529
"metadata": {},
530530
"outputs": [],
531531
"source": [
532-
"# Now extract present day\n",
533532
"# extract a single cube of maximum air_temperature at 1.5m cube from the cubelist\n",
534533
"max_temp = cubelist.extract_strict('air_temperature' & iris.AttributeConstraint(Height='1.5 m') &\n",
535534
" max_temp_cons)\n",
536535
"# extract data for the the Shanghai region using extract_rot_cube() function\n",
537536
"max_temp = extract_rot_cube(max_temp, min_lat, min_lon, max_lat, max_lon)\n",
538537
"\n",
539-
"\n",
538+
"# Now extract present day\n",
540539
"start_time = 1981\n",
541540
"end_time = 2010\n",
542541
"\n",
@@ -548,7 +547,7 @@
548547
"cell_type": "markdown",
549548
"metadata": {},
550549
"source": [
551-
"Now we need to calculate the number of warm days, we do so by counting all the data points that are greater than 90th percentile of the baseline period within the last 30 years. We can use numpy method **np.where** which return 1 where max_temp is greater then max_temp_pc90 and returns 0 otherise. \n",
550+
"Now we need to calculate the number of warm days, we do so by counting all the data points that are greater than 90th percentile of the baseline period within the last 30 years. We can use numpy method **np.where** which return 1 where max_temp is greater then max_temp_pc90 and returns 0 otherwise. \n",
552551
"\n"
553552
]
554553
},

0 commit comments

Comments
 (0)