diff --git a/_config.yml b/_config.yml index 464ef6e..6edadb3 100644 --- a/_config.yml +++ b/_config.yml @@ -25,10 +25,14 @@ parse: - smartquotes - substitution +bibtex_bibfiles: + - references.bib + sphinx: config: linkcheck_ignore: ["https://doi.org/*"] # don't run link checker on DOI links since they are immutable nb_execution_raise_on_error: true # raise exception in build if there are notebook errors (this flag is ignored if building on binder) + bibtex_reference_style: author_year html_favicon: notebooks/images/icons/favicon.ico html_last_updated_fmt: "%-d %B %Y" html_theme: sphinx_pythia_theme diff --git a/_toc.yml b/_toc.yml index 7665b94..dfe352a 100644 --- a/_toc.yml +++ b/_toc.yml @@ -8,3 +8,6 @@ parts: chapters: - file: notebooks/eof-intro - file: notebooks/climate-modes-xeofs + - caption: Appendix + chapters: + - file: references diff --git a/environment.yml b/environment.yml index faf7df0..b6dfae6 100644 --- a/environment.yml +++ b/environment.yml @@ -20,6 +20,4 @@ dependencies: - cftime - pydap - sphinx-pythia-theme - - pip - - pip: - - xeofs + - xeofs diff --git a/notebooks/climate-modes-xeofs.ipynb b/notebooks/climate-modes-xeofs.ipynb index 7382b24..8a359c6 100644 --- a/notebooks/climate-modes-xeofs.ipynb +++ b/notebooks/climate-modes-xeofs.ipynb @@ -52,7 +52,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -78,12 +78,12 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "We will use the [NOAA Extended Reconstructed Sea Surface Temperature version 5 (ERSSTv5)](https://www.psl.noaa.gov/data/gridded/data.noaa.oisst.v2.html) monthly gridded dataset, which is accessible using [OPeNDAP](https://www.opendap.org/). More information on [using OPeNDAP to access NOAA data can be found here](https://psl.noaa.gov/data/help/using_opendap.html)." + "We will use the [NOAA Extended Reconstructed Sea Surface Temperature version 5 (ERSSTv5)](https://www.psl.noaa.gov/data/gridded/data.noaa.oisst.v2.html) monthly gridded dataset {cite:p}`Huang:2017a`, which is accessible using [OPeNDAP](https://www.opendap.org/). More information on [using OPeNDAP to access NOAA data can be found here](https://psl.noaa.gov/data/help/using_opendap.html)." ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -92,11 +92,464 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 30, "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/html": [ + "
<xarray.DataArray 'sst' (time: 2045, lat: 89, lon: 180)> Size: 131MB\n", + "[32760900 values with dtype=float32]\n", + "Coordinates:\n", + " * lat (lat) float32 356B 88.0 86.0 84.0 82.0 ... -82.0 -84.0 -86.0 -88.0\n", + " * lon (lon) float32 720B 0.0 2.0 4.0 6.0 8.0 ... 352.0 354.0 356.0 358.0\n", + " * time (time) datetime64[ns] 16kB 1854-01-01 1854-02-01 ... 2024-05-01\n", + "Attributes:\n", + " long_name: Monthly Means of Sea Surface Temperature\n", + " units: degC\n", + " var_desc: Sea Surface Temperature\n", + " level_desc: Surface\n", + " statistic: Mean\n", + " dataset: NOAA Extended Reconstructed SST V5\n", + " parent_stat: Individual Values\n", + " actual_range: [-1.8 42.32636]\n", + " valid_range: [-1.8 45. ]\n", + " _ChunkSizes: [ 1 89 180]