Skip to content

Commit

Permalink
fix typo in pacwave notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
akeeste committed Oct 11, 2024
1 parent 4811202 commit 77c1980
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/PacWave_resource_characterization_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1125,15 +1125,14 @@
"Hm0 = pd.concat(Hm0_list, axis=0)\n",
"J = pd.concat(J_list, axis=0)\n",
"Tz = pd.concat(Tz_list, axis=0)\n",
"data = pd.concat([Hm0, Te, Tp, J, Tz], axis=1)\n",
"\n",
"# Name each Series and concat into a dataFrame\n",
"Te.name = 'Te'\n",
"Tp.name = 'Tp'\n",
"Hm0.name = 'Hm0'\n",
"J.name = 'J'\n",
"Tz.name = 'Tz'\n",
"data = pd.concat([Hm0, Te], axis=1)\n",
"data = pd.concat([Hm0, Te, Tp, J, Tz], axis=1)\n",
"\n",
"# Calculate wave steepness\n",
"data[\"Sm\"] = data.Hm0 / (9.81 / (2 * np.pi) * data.Tz**2)\n",
Expand Down

0 comments on commit 77c1980

Please sign in to comment.