From 3361927c3c85a56cb5d04995a7004bf32854ae76 Mon Sep 17 00:00:00 2001 From: khider <11758571+khider@users.noreply.github.com> Date: Mon, 8 Jul 2024 16:51:05 -0700 Subject: [PATCH] fix typos --- README.md | 2 +- notebooks/paleoPCA.ipynb | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index df2771d..35ad5f7 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Recently, [Steinman et al. (2022)](https://doi.org/10.1073/pnas.2120015119) used ## Authors -[Deborah Khider](@khider), [Hari Sundar](@sriharisundar) +[Deborah Khider](https://github.com/khider), [Hari Sundar](https://github.com/sriharisundar), [Varun Ratnakar](https://github.com/varunratnakar) ### Contributors diff --git a/notebooks/paleoPCA.ipynb b/notebooks/paleoPCA.ipynb index 32362ed..1073097 100644 --- a/notebooks/paleoPCA.ipynb +++ b/notebooks/paleoPCA.ipynb @@ -416,7 +416,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "The first step is to make sure that everything is on the same representation of the time axis. Year is considered prograte while age is considered retrograde:" + "The first step is to make sure that everything is on the same representation of the time axis. Year is considered prograde while age is considered retrograde:" ] }, { @@ -592,7 +592,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Let's filter for records with a resolution of at least 60 years:" + "Let's filter for records with a resolution finer or equal to 60 years:" ] }, { @@ -976,14 +976,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## PCA analysis on the CESM Last Millennium Analysis" + "## PCA analysis on the CESM Last Millennium Ensemble" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "The first step is the calculate precipitation $\\delta^{18}O$ for the all forcing simulations. The following section demonstrates how to get the data from JetStream2 and pre-process each file to save the needed variable and place them into a new `xarray.Dataset`. This process can be time-consuming. \n", + "The first step is the calculate precipitation $\\delta^{18}O$ for the all forcings simulation. The following section demonstrates how to get the data from JetStream2 and pre-process each file to save the needed variable and place them into a new `xarray.Dataset`. This process can be time-consuming. \n", "\n", "### Get the CESM Last Millennium Ensemble data from JetStream2\n", "\n", @@ -1075,7 +1075,7 @@ "\n", "
\n", "

Warning

\n", - " Note that this cell may take some time to run!\n", + " Note that this cell may take some time to run! On a 2024 MacBook pro with an M3 chip, it took about 7minutes.\n", "
" ] }, @@ -1097,7 +1097,7 @@ "%%time\n", "for idx,item in enumerate(fileset):\n", " ds_u = xr.open_dataset(item)\n", - " var_name = names[idx].split('.')[-3]\n", + " var_name = names[idx].split('.')[-3] #This uses the file name to obtain the variable name. \n", " da = ds_u[var_name]\n", " try:\n", " ds[var_name]= da\n", @@ -1705,7 +1705,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "And resample to the proxy resolution:" + "And resample to the proxy resolution (~20yr as calculated above):" ] }, { @@ -2808,7 +2808,7 @@ "\n", "- CoralHydro2k: Walter, R. M., Sayani, H. R., Felis, T., Cobb, K. M., Abram, N. J., Arzey, A. K., Atwood, A. R., Brenner, L. D., Dassié, É. P., DeLong, K. L., Ellis, B., Emile-Geay, J., Fischer, M. J., Goodkin, N. F., Hargreaves, J. A., Kilbourne, K. H., Krawczyk, H., McKay, N. P., Moore, A. L., Murty, S. A., Ong, M. R., Ramos, R. D., Reed, E. V., Samanta, D., Sanchez, S. C., Zinke, J., and the PAGES CoralHydro2k Project Members: The CoralHydro2k database: a global, actively curated compilation of coral δ18O and Sr ∕ Ca proxy records of tropical ocean hydrology and temperature for the Common Era, Earth Syst. Sci. Data, 15, 2081–2116, [https://doi.org/10.5194/essd-15-2081-2023](https://doi.org/10.5194/essd-15-2081-2023), 2023.\n", "\n", - "- SISAL: omas-Bru, L., Rehfeld, K., Roesch, C., Amirnezhad-Mozhdehi, S., Harrison, S. P., Atsawawaranunt, K., Ahmad, S. M., Brahim, Y. A., Baker, A., Bosomworth, M., Breitenbach, S. F. M., Burstyn, Y., Columbu, A., Deininger, M., Demény, A., Dixon, B., Fohlmeister, J., Hatvani, I. G., Hu, J., Kaushal, N., Kern, Z., Labuhn, I., Lechleitner, F. A., Lorrey, A., Martrat, B., Novello, V. F., Oster, J., Pérez-Mejías, C., Scholz, D., Scroxton, N., Sinha, N., Ward, B. M., Warken, S., Zhang, H., and SISAL Working Group members: SISALv2: a comprehensive speleothem isotope database with multiple age–depth models, Earth Syst. Sci. Data, 12, 2579–2606, [https://doi.org/10.5194/essd-12-2579-2020](https://doi.org/10.5194/essd-12-2579-2020), 2020.\n", + "- SISAL: Comas-Bru, L., Rehfeld, K., Roesch, C., Amirnezhad-Mozhdehi, S., Harrison, S. P., Atsawawaranunt, K., Ahmad, S. M., Brahim, Y. A., Baker, A., Bosomworth, M., Breitenbach, S. F. M., Burstyn, Y., Columbu, A., Deininger, M., Demény, A., Dixon, B., Fohlmeister, J., Hatvani, I. G., Hu, J., Kaushal, N., Kern, Z., Labuhn, I., Lechleitner, F. A., Lorrey, A., Martrat, B., Novello, V. F., Oster, J., Pérez-Mejías, C., Scholz, D., Scroxton, N., Sinha, N., Ward, B. M., Warken, S., Zhang, H., and SISAL Working Group members: SISALv2: a comprehensive speleothem isotope database with multiple age–depth models, Earth Syst. Sci. Data, 12, 2579–2606, [https://doi.org/10.5194/essd-12-2579-2020](https://doi.org/10.5194/essd-12-2579-2020), 2020.\n", "\n", "\n", "### Software\n",