Skip to content

Commit

Permalink
a few small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-theia committed Jul 16, 2024
1 parent 835e57a commit d10211d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ncl/ncl_entries/climatology_functions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"metadata": {},
"source": [
"## Overview\n",
"The climatology functions listed below can be calculated using `xarray` and or `geocat.comp`.\n",
"\n",
"- [calcDayAnomTLL](https://www.ncl.ucar.edu/Document/Functions/Contributed/calcDayAnomTLL.shtml)\n",
"- [calcMonAnomTLL](https://www.ncl.ucar.edu/Document/Functions/Contributed/calcMonAnomTLL.shtml)\n",
Expand Down Expand Up @@ -46,9 +47,11 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Content Sections\n",
"## Using `xarray`\n",
"\n",
"- Will do this part in the next day or two"
"The [`xarray`](https://docs.xarray.dev/en/latest/index.html) module may be sufficient to calculate the majority of climatology functions. \n",
"\n",
"You can use the [`groupby()`](https://docs.xarray.dev/en/stable/generated/xarray.DataArray.groupby.html) function to group the data by numerous [timescales](https://xarray.pydata.org/en/v2024.06.0/user-guide/time-series.html#datetime-indexing)."
]
},
{
Expand Down Expand Up @@ -1756,7 +1759,9 @@
"metadata": {},
"source": [
"## month_to_season\n",
"`month_to_season` computes a user-specified three-month seasonal mean (DJF, JFM, FMA, MAM, AMJ, MJJ, JJA, JAS, ASO, SON, OND, NDJ)"
"`month_to_season` computes a user-specified three-month seasonal mean (DJF, JFM, FMA, MAM, AMJ, MJJ, JJA, JAS, ASO, SON, OND, NDJ)\n",
"\n",
"`xarray` may not be sufficient to calculate custom seasonal means. If you need to work with custom seasons, we suggest using [`geocat.comp.climatologies.month_to_season`](https://geocat-comp.readthedocs.io/en/stable/user_api/generated/geocat.comp.climatologies.month_to_season.html). "
]
},
{
Expand Down

0 comments on commit d10211d

Please sign in to comment.