diff --git a/applications/applications.rst b/applications/applications.rst index da18608a..cc5eadcf 100644 --- a/applications/applications.rst +++ b/applications/applications.rst @@ -1,5 +1,10 @@ .. _applications: +Python Applications +=================== + +Python resources by category with relevant context and links to additional resources and references. + .. grid:: 3 :gutter: 2 @@ -8,28 +13,26 @@ .. grid:: 1 :gutter: 1 - .. card:: Dates and Times - - - `Working with Date and Time `_ - - .. card:: Plot Types + .. card:: Time + - `Dates and times `_ .. grid-item:: .. grid:: 1 :gutter: 1 - .. card:: Data Analysis + .. card:: Math - - `General Applied Math `_ - - `Calculating Climatologies `_ - - `Spectral Analysis `_ - - `Humid Heat Metrics `_ + - `General applied math `_ + - `Spectral analysis `_ .. grid-item:: .. grid:: 1 :gutter: 1 - .. card:: Regridding + .. card:: Geoscience + + - `Climatology `_ + - `Humid heat metrics `_ diff --git a/applications/data_analysis/climatology.ipynb b/applications/climatology.ipynb similarity index 100% rename from applications/data_analysis/climatology.ipynb rename to applications/climatology.ipynb diff --git a/applications/data_analysis/data_analysis.rst b/applications/data_analysis/data_analysis.rst deleted file mode 100644 index 93ad68b9..00000000 --- a/applications/data_analysis/data_analysis.rst +++ /dev/null @@ -1,14 +0,0 @@ -.. currentmodule:: geocat.applications - -.. _applications_data_analysis: - -Data Analysis -============= - -.. toctree:: - :maxdepth: 1 - - general_applied_math.ipynb - climatology.ipynb - spectral_analysis.ipynb - humid_heat_metrics.ipynb diff --git a/applications/date_time/date_time.rst b/applications/date_time/date_time.rst deleted file mode 100644 index ebd3c8c2..00000000 --- a/applications/date_time/date_time.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. currentmodule:: geocat.applications - -.. _applications_datetime: - -Dates and Times -=============== - -.. toctree:: - :maxdepth: 1 - - datetime.ipynb diff --git a/applications/date_time/datetime.ipynb b/applications/datetime.ipynb similarity index 100% rename from applications/date_time/datetime.ipynb rename to applications/datetime.ipynb diff --git a/applications/data_analysis/general_applied_math.ipynb b/applications/general_applied_math.ipynb similarity index 100% rename from applications/data_analysis/general_applied_math.ipynb rename to applications/general_applied_math.ipynb diff --git a/applications/data_analysis/humid_heat_metrics.ipynb b/applications/humid_heat_metrics.ipynb similarity index 100% rename from applications/data_analysis/humid_heat_metrics.ipynb rename to applications/humid_heat_metrics.ipynb diff --git a/applications/plot_types/plot_types.rst b/applications/plot_types/plot_types.rst deleted file mode 100644 index 13196f65..00000000 --- a/applications/plot_types/plot_types.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. currentmodule:: geocat.applications - -.. _applications_plot_types: - -Plot Types -========== - -.. toctree:: - :maxdepth: 1 - :hidden: diff --git a/applications/data_analysis/spectral_analysis.ipynb b/applications/spectral_analysis.ipynb similarity index 100% rename from applications/data_analysis/spectral_analysis.ipynb rename to applications/spectral_analysis.ipynb diff --git a/index.rst b/index.rst index 3750437f..f529ee83 100644 --- a/index.rst +++ b/index.rst @@ -1,11 +1,11 @@ -.. geocat-applications documentation master file +.. geocat-applications documentation main file You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. .. module:: geocat.applications .. meta:: - :description: GeoCAT-applications + :description: geocat-applications :keywords: geocat, geocat-applications, geocat applications, wrf, python, wrf-python, weather research and forecasting, @@ -17,9 +17,6 @@ pynio, pyngl, interpolation -.. .. image:: _static/images/nsf.png -.. :scale: 100% -.. :align: right @@ -27,16 +24,17 @@ GeoCAT Applications =================== GeoCAT Applications is a community resource managed by the GeoCAT team. Inspired by the -`NCL Applications `_ page, this is designed to be a quick reference -demonstrating capabilities within the Scientific Python Ecosystem that may be relevant to your geoscience workflows. +`NCL Applications `_ page, GeoCAT Applications is +designed to be a quick reference guide demonstrating capabilities within the scientific +Python ecosystem that may be relevant to your geoscience workflows. New to Python or GeoCAT Applications? Check out the `Getting Started `_ guide! -Python Examples ---------------- +Python Applications +------------------- .. include:: applications/applications.rst - + :start-line: 5 .. TIP:: If you're looking for NCL to Python examples, please visit :ref:`ncl_applications`. @@ -52,11 +50,9 @@ Python Examples .. toctree:: :maxdepth: 2 :hidden: - :caption: Applications + :caption: Python - Plot Types - Data Analysis - Date and Time + Applications .. toctree:: :maxdepth: 2 @@ -64,20 +60,20 @@ Python Examples :caption: NCL to Python NCL Index - NCL Applications + Applications .. toctree:: :maxdepth: 2 :hidden: :caption: Contributing - Contributor Guide Code of Conduct + Contributor Guide .. toctree:: :maxdepth: 2 :hidden: - :caption: Getting Support + :caption: Support GitHub Issues - Feature Request Form + Suggestion Box diff --git a/ncl/ncl_entries/climatology_functions.ipynb b/ncl/ncl_entries/climatology.ipynb similarity index 99% rename from ncl/ncl_entries/climatology_functions.ipynb rename to ncl/ncl_entries/climatology.ipynb index 77c14225..0e3b7c1b 100644 --- a/ncl/ncl_entries/climatology_functions.ipynb +++ b/ncl/ncl_entries/climatology.ipynb @@ -322,7 +322,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.3" + "version": "3.12.7" } }, "nbformat": 4, diff --git a/ncl/ncl_entries/days_in_month.ipynb b/ncl/ncl_entries/days_in_month.ipynb deleted file mode 100644 index d2d87bfe..00000000 --- a/ncl/ncl_entries/days_in_month.ipynb +++ /dev/null @@ -1,189 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "85f94cfa6f4fae8e", - "metadata": {}, - "source": [ - "# days_in_month" - ] - }, - { - "cell_type": "markdown", - "id": "5df936372159018b", - "metadata": {}, - "source": [ - "## Overview\n", - "NCL's [`days_in_month`](https://www.ncl.ucar.edu/Document/Functions/Built-in/days_in_month.shtml) calculates the number of days in a month given a month and year." - ] - }, - { - "cell_type": "markdown", - "id": "774124772c1ca8d4", - "metadata": {}, - "source": [ - "## Grab and Go" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "71b6e5623fb2f661", - "metadata": { - "ExecuteTime": { - "end_time": "2024-06-06T20:18:11.395749Z", - "start_time": "2024-06-06T20:18:11.262729Z" - } - }, - "outputs": [], - "source": [ - "import cftime\n", - "\n", - "day = 1\n", - "month = 2\n", - "year = 2024\n", - "\n", - "days = cftime.datetime(year, month, day, calendar='standard').daysinmonth\n", - "\n", - "days" - ] - }, - { - "cell_type": "markdown", - "id": "471ffe2f336259de", - "metadata": {}, - "source": [ - "---" - ] - }, - { - "cell_type": "markdown", - "id": "6b288584e85b49b9", - "metadata": {}, - "source": [ - "## Using the `calendar` module\n", - "The [`calendar`](https://docs.python.org/3/library/calendar.html) module is part of the Python Standard Library and could be sufficient to calculate the number of days in a month." - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "d54840a911c73610", - "metadata": { - "ExecuteTime": { - "end_time": "2024-06-06T20:18:11.399650Z", - "start_time": "2024-06-06T20:18:11.396804Z" - } - }, - "outputs": [], - "source": [ - "from calendar import monthrange\n", - "\n", - "month = 2\n", - "year = 1500\n", - "first_day, num_days = monthrange(year, month)\n", - "print(f\"Month {month} in {year} has {num_days} days\")" - ] - }, - { - "cell_type": "markdown", - "id": "82c5bb43f75c474e", - "metadata": {}, - "source": [ - "However, the `calendar` only uses a proleptic Gregorian calendar. If you need to work with other calendars, the `calendar` module will not be sufficient." - ] - }, - { - "cell_type": "markdown", - "id": "7bfc78baeee6cef4", - "metadata": {}, - "source": [ - "## Using `cftime`\n", - "[`cftime`](https://unidata.github.io/cftime/index.html) supports all of the [CF Convention calendars](https://cfconventions.org/cf-conventions/cf-conventions#calendar). Here's how you can use `cftime` to calculate the number of days in a month." - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "f762cbca2cf59dfa", - "metadata": { - "ExecuteTime": { - "end_time": "2024-06-06T20:18:11.403172Z", - "start_time": "2024-06-06T20:18:11.400471Z" - } - }, - "outputs": [], - "source": [ - "import cftime\n", - "\n", - "day = 1\n", - "month = 2\n", - "year = 1500\n", - "\n", - "days = cftime.datetime(year, month, day, calendar='standard').daysinmonth\n", - "print(f\"standard calendar: \\t\\t\\t\\t month {month} in {year} has {days} days\")\n", - "\n", - "days = cftime.datetime(year, month, day, calendar='proleptic_gregorian').daysinmonth\n", - "print(f\"proleptic Gregorian calendar: \\t month {month} in {year} has {days} days\")\n", - "\n", - "days = cftime.datetime(year, month, day, calendar='julian').daysinmonth\n", - "print(f\"Julian calendar: \\t\\t\\t\\t month {month} in {year} has {days} days\")\n", - "\n", - "days = cftime.datetime(year, month, day, calendar='360_day').daysinmonth\n", - "print(f\"360 day calendar: \\t\\t\\t\\t month {month} in {year} has {days} days\")" - ] - }, - { - "cell_type": "markdown", - "id": "a8b079a3a3eb9f00", - "metadata": {}, - "source": [ - "## Differences between `cftime` and NCL's `days_in_month`\n", - "\n", - "### Calendars\n", - "The calendars available in `cftime` and NCL's `days_in_month`, while both based on the CF Conventions calendars, are slightly different.\n", - "\n", - "- `cftime` does support using `\"none\"` as a calendar type, but not for this particular function. \n", - "- NCL's `days_in_month` does not support the `proleptic_gregorian` calendar.\n", - "\n", - "### Numerical Differences\n", - "Additionally, the `\"standard\"` and `\"gregorian\"` calendars seem to disagree for some historical dates.\n", - "\n", - "### Input type\n", - "Notably, using `cftime` to calculate the number of days in a month works by getting a `daysinmonth` value from a `cftime.datetime` object, which means that the calculations for days in a month have to be collected through each date individually, while NCL's `days_in_month` can take in multidimensional integer arrays, given that the `year` and `month` arrays have the same dimensions." - ] - }, - { - "cell_type": "markdown", - "id": "8eda876fd519891", - "metadata": {}, - "source": [ - "## Python Resources\n", - "- The `calendar` module [documentation](https://docs.python.org/3/library/calendar.html).\n", - "- The [`cftime.datetime` documentation](https://unidata.github.io/cftime/api.html#cftime.datetime).\n", - "- [\"Time series data\"](https://docs.xarray.dev/en/stable/user-guide/time-series.html) for working with time series data in xarray" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.12.3" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/ncl/ncl_entries/ncl_entries.rst b/ncl/ncl_entries/ncl_entries.rst index 9e216cd7..6c03b81c 100644 --- a/ncl/ncl_entries/ncl_entries.rst +++ b/ncl/ncl_entries/ncl_entries.rst @@ -1,23 +1,40 @@ .. _ncl_applications: -NCL Applications -================ - -Data Analysis ---------------- -.. toctree:: - :maxdepth: 1 - - climatology_functions.ipynb - trigonometric_functions.ipynb - general_applied_math.ipynb - meteorology.ipynb - specx_specxy_anal.ipynb - -Dates and Times ---------------- -.. toctree:: - :maxdepth: 1 - - days_in_month.ipynb - day_of_week.ipynb +NCL to Python Applications +========================== + +NCL to Python resources by category with relevant context +and links to additional resources and references. + +.. grid:: 3 + :gutter: 2 + + .. grid-item:: + + .. grid:: 1 + :gutter: 1 + + .. card:: Time + + - `Dates and times `_ + + .. grid-item:: + + .. grid:: 1 + :gutter: 1 + + .. card:: Math + + - `Trigonometry `_ + - `General applied math `_ + - `Spectral analysis `_ + + .. grid-item:: + + .. grid:: 1 + :gutter: 1 + + .. card:: Geoscience + + - `Climatology `_ + - `Meteorology `_ diff --git a/ncl/ncl_entries/specx_specxy_anal.ipynb b/ncl/ncl_entries/spectral_analysis.ipynb similarity index 97% rename from ncl/ncl_entries/specx_specxy_anal.ipynb rename to ncl/ncl_entries/spectral_analysis.ipynb index a3cb2a0a..fa7d6074 100644 --- a/ncl/ncl_entries/specx_specxy_anal.ipynb +++ b/ncl/ncl_entries/spectral_analysis.ipynb @@ -4,7 +4,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# specx_specxy_anal\n", + "# Spectral Analysis\n", "\n", "This example demonstrates how to perform spectral and cross-spectral analysis using the `scipy.signal` module. To learn more about the functions and keyword arguments available in this package, read SciPy's [signal processing documentation](https://docs.scipy.org/doc/scipy/reference/signal.html).\n", "\n", @@ -43,7 +43,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -131,7 +131,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -158,7 +158,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -185,7 +185,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -211,7 +211,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -240,7 +240,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -359,7 +359,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -421,7 +421,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -461,7 +461,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -519,7 +519,7 @@ ], "metadata": { "kernelspec": { - "display_name": "geocat_comp_build", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -533,9 +533,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.2" + "version": "3.12.7" } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 4 } diff --git a/ncl/ncl_entries/day_of_week.ipynb b/ncl/ncl_entries/time.ipynb similarity index 55% rename from ncl/ncl_entries/day_of_week.ipynb rename to ncl/ncl_entries/time.ipynb index 1685661d..24650da0 100644 --- a/ncl/ncl_entries/day_of_week.ipynb +++ b/ncl/ncl_entries/time.ipynb @@ -4,22 +4,27 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# day_of_week" + "# Time" ] }, { "cell_type": "markdown", - "metadata": {}, + "metadata": { + "jp-MarkdownHeadingCollapsed": true + }, "source": [ "## Overview\n", - "NCL's [`day_of_week`](https://www.ncl.ucar.edu/Document/Functions/Built-in/day_of_week.shtml) calculates the day of the week given month, day, and year." + "This section covers NCL functions relating to dates and times:" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "## Grab and Go" + "## day_of_week\n", + "NCL's [`day_of_week`](https://www.ncl.ucar.edu/Document/Functions/Built-in/day_of_week.shtml) calculates the day of the week given month, day, and year.\n", + "\n", + "### Grab and Go" ] }, { @@ -51,7 +56,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Using the `datetime` module\n", + "### Using the `datetime` module\n", "The [`datetime`](https://docs.python.org/3/library/datetime.html) module is part of the Python Standard Library and could be sufficient to calculate the day of the week. " ] }, @@ -84,7 +89,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Using `cftime`\n", + "### Using `cftime`\n", "[`cftime`](https://unidata.github.io/cftime/index.html) offers a solution to these potential issues by supporting year 0 and all of the [CF Convention calendars](https://cfconventions.org/cf-conventions/cf-conventions#calendar). Here is how you can use `cftime` to calculate the day of the week." ] }, @@ -132,14 +137,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Differences between `cftime` and NCL's `day_of_week`" + "### Differences between `cftime` and NCL's `day_of_week`" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "### Calendars\n", + "#### Calendars\n", "NCL's `day_of_week` only supports the proleptic Gregorian calendar, while the `cftime` module supports all CF conventions calendars, including the `proleptic_gregorian` calendar." ] }, @@ -147,7 +152,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Input Type\n", + "#### Input Type\n", "Notably, using `cftime` to calculate the day of the week works by getting a `strftime()` value from a `cftime.datetime` object, which means that the calculations for the day of the week have to be collected through each date individually, while NCL's `days_in_month` can take in multidimensional integer arrays, given that the `year` and `month` arrays have the same dimensions." ] }, @@ -155,7 +160,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Year 0\n", + "#### Year 0\n", "There is a slight difference in the way that NCL's `day_of_week` and the `cftime` module handle the year 0.\n", "- NCL's `day_of_week` supports all positive years and year 0 by default.\n", "- The `cftime` module supports all years, but handling for year 0 is dependent upon the calendar and/or the `has_year_zero` keyword argument." @@ -165,21 +170,120 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Python Resources\n", - "- The `datetime` module [documentation](https://docs.python.org/3/library/datetime.html).\n", - "- The `cftime.datetime` [documentation](https://unidata.github.io/cftime/api.html#cftime.datetime).\n", - "- [Working with Dates and Times](https://ncar.github.io/geocat-applications/applications/date_time/datetime.html) GeoCAT Applications notebook." + "## days_in_month\n", + "NCL's [`days_in_month`](https://www.ncl.ucar.edu/Document/Functions/Built-in/days_in_month.shtml) calculates the number of days in a month given a month and year.\n", + "\n", + "### Grab and Go" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import cftime\n", + "\n", + "day = 1\n", + "month = 2\n", + "year = 2024\n", + "\n", + "days = cftime.datetime(year, month, day, calendar='standard').daysinmonth\n", + "\n", + "days" ] }, { "cell_type": "markdown", "metadata": {}, - "source": [] + "source": [ + "### Using the `calendar` module\n", + "The [`calendar`](https://docs.python.org/3/library/calendar.html) module is part of the Python Standard Library and could be sufficient to calculate the number of days in a month." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from calendar import monthrange\n", + "\n", + "month = 2\n", + "year = 1500\n", + "first_day, num_days = monthrange(year, month)\n", + "print(f\"Month {month} in {year} has {num_days} days\")" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "However, the `calendar` only uses a proleptic Gregorian calendar. If you need to work with other calendars, the `calendar` module will not be sufficient.\n", + "\n", + "### Using `cftime`\n", + "[`cftime`](https://unidata.github.io/cftime/index.html) supports all of the [CF Convention calendars](https://cfconventions.org/cf-conventions/cf-conventions#calendar). Here's how you can use `cftime` to calculate the number of days in a month." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import cftime\n", + "\n", + "day = 1\n", + "month = 2\n", + "year = 1500\n", + "\n", + "days = cftime.datetime(year, month, day, calendar='standard').daysinmonth\n", + "print(f\"standard calendar: \\t\\t\\t\\t month {month} in {year} has {days} days\")\n", + "\n", + "days = cftime.datetime(year, month, day, calendar='proleptic_gregorian').daysinmonth\n", + "print(f\"proleptic Gregorian calendar: \\t month {month} in {year} has {days} days\")\n", + "\n", + "days = cftime.datetime(year, month, day, calendar='julian').daysinmonth\n", + "print(f\"Julian calendar: \\t\\t\\t\\t month {month} in {year} has {days} days\")\n", + "\n", + "days = cftime.datetime(year, month, day, calendar='360_day').daysinmonth\n", + "print(f\"360 day calendar: \\t\\t\\t\\t month {month} in {year} has {days} days\")" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Differences between `cftime` and NCL's `days_in_month`\n", + "\n", + "#### Calendars\n", + "The calendars available in `cftime` and NCL's `days_in_month`, while both based on the CF Conventions calendars, are slightly different.\n", + "\n", + "- `cftime` does support using `\"none\"` as a calendar type, but not for this particular function. \n", + "- NCL's `days_in_month` does not support the `proleptic_gregorian` calendar.\n", + "\n", + "#### Numerical Differences\n", + "Additionally, the `\"standard\"` and `\"gregorian\"` calendars seem to disagree for some historical dates.\n", + "\n", + "#### Input type\n", + "Notably, using `cftime` to calculate the number of days in a month works by getting a `daysinmonth` value from a `cftime.datetime` object, which means that the calculations for days in a month have to be collected through each date individually, while NCL's `days_in_month` can take in multidimensional integer arrays, given that the `year` and `month` arrays have the same dimensions." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Python Resources\n", + "- The `datetime` module [documentation](https://docs.python.org/3/library/datetime.html)\n", + "- The `cftime.datetime` [documentation](https://unidata.github.io/cftime/api.html#cftime.datetime)\n", + "- The [time series data](https://docs.xarray.dev/en/stable/user-guide/time-series.html) section of the Xarray documentation for working with time series data in Xarray\n", + "- [Working with Dates and Times](https://ncar.github.io/geocat-applications/applications/date_time/datetime.html) GeoCAT Applications notebook" + ] } ], "metadata": { "kernelspec": { - "display_name": "geocat-applications", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -193,9 +297,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.3" + "version": "3.12.7" } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 4 } diff --git a/ncl/ncl_entries/trigonometric_functions.ipynb b/ncl/ncl_entries/trigonometry.ipynb similarity index 99% rename from ncl/ncl_entries/trigonometric_functions.ipynb rename to ncl/ncl_entries/trigonometry.ipynb index 9ece3a08..7626c7ae 100644 --- a/ncl/ncl_entries/trigonometric_functions.ipynb +++ b/ncl/ncl_entries/trigonometry.ipynb @@ -5,13 +5,15 @@ "id": "e630c395-5419-4786-84fe-94bc0f0abbdc", "metadata": {}, "source": [ - "# Trigonometric Functions" + "# Trigonometry" ] }, { "cell_type": "markdown", "id": "cac2fd03-5dcf-478a-8cd5-72207bc2cb4b", - "metadata": {}, + "metadata": { + "jp-MarkdownHeadingCollapsed": true + }, "source": [ "## Overview\n", "The trigonometric functions for sine, cosine, and tangent (and associated inverse functions) are built-in functions in Python as well as part of a common Python package `numpy`\n", @@ -701,7 +703,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.8" + "version": "3.12.7" } }, "nbformat": 4,