Skip to content

Commit

Permalink
Merge a523b84 into 3768738
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann committed Jun 4, 2020
2 parents 3768738 + a523b84 commit 533e240
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Data model
----------

An illustrative example of the timeseries format developed by the
[Integrated Assessment Modeling Consortium](http://www.globalchange.umd.edu/iamc/) (IAMC)
[Integrated Assessment Modeling Consortium](https://www.iamconsortium.org) (IAMC)
is shown below.
The row is taken from the [IAMC 1.5°C scenario explorer](https://data.ene.iiasa.ac.at/iamc-1.5c-explorer),
showing a scenario from the [CD-LINKS](https://www.cd-links.org) project.
Expand Down
Binary file added doc/source/_static/iamc-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed doc/source/_static/iamc_logo.jpg
Binary file not shown.
4 changes: 2 additions & 2 deletions doc/source/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Data Model
The IAMC timeseries format for scenario data
--------------------------------------------

.. figure:: _static/iamc_logo.jpg
:width: 120px
.. figure:: _static/iamc-logo.png
:width: 150px
:align: right

`IAMC website`_
Expand Down
Binary file removed doc/source/tutorials/_static/IAMC_logo.jpg
Binary file not shown.
Binary file added doc/source/tutorials/_static/iamc-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/source/tutorials/data_table_formats.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"The default input/output (io) format of the **pyam** package is the *tabular, wide data format*,\n",
"where the columns represent the time domain.\n",
"This follows the standard established by the *Integrated Assessment Modeling Consortium*\n",
"([IAMC](http://www.globalchange.umd.edu/iamc/));\n",
"([IAMC](https://www.iamconsortium.org/));\n",
"[read the docs](https://pyam-iamc.readthedocs.io/en/stable/data.html) for more information.\n",
"\n",
"Alas, to make using the package as easy as possible, iniatilizing an `IamDataFrame` will accept a variety of different table formats\n",
Expand Down
6 changes: 3 additions & 3 deletions doc/source/tutorials/pyam_first_steps.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"## Scope and feature overview\n",
"\n",
"The **pyam** package provides a range of diagnostic tools and functions\n",
"for analyzing, visualizing and working with timeseries data following the format established by the *Integrated Assessment Modeling Consortium* ([IAMC](http://www.globalchange.umd.edu/iamc/)). The format has been used in several IPCC assessments and numerous model comparison exercises.\n",
"\n",
"<img style=\"float: right; margin: 10px;\" src=\"_static/IAMC_logo.jpg\">\n",
"for analyzing, visualizing and working with timeseries data following the format established by the *Integrated Assessment Modeling Consortium* ([IAMC](https://www.iamconsortium.org)).\n",
"\n",
"The format has been used in several IPCC assessments and numerous model comparison exercises.\n",
"An illustrative example of this format template is shown below;\n",
"[read the docs](https://pyam-iamc.readthedocs.io/en/stable/data.html) for more information.\n",
"\n",
"<img style=\"float: right; margin: 10px;\" src=\"_static/iamc-logo.png\">\n",
"\n",
"| **Model** | **Scenario** | **Region** | **Variable** | **Unit** | **2005** | **2010** | **2015** |\n",
"|-----------|--------------|------------|----------------|----------|----------|----------|----------|\n",
Expand Down
16 changes: 10 additions & 6 deletions pyam/iiasa.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,17 @@ def query(self, **kwargs):
- region
- variable
Example
-------
Examples
--------
You can read from a :class:`pyam.iiasa.Connection` instance using
keyword arguments similar to filtering an :class:`IamDataFrame`:
.. code-block:: python
Connection.query(model='MESSAGE', scenario='SSP2*',
variable=['Emissions|CO2', 'Primary Energy'])
```
Connection.query(model='MESSAGE', scenario='SSP2*',
variable=['Emissions|CO2', 'Primary Energy'])
```
"""
headers = {
'Authorization': 'Bearer {}'.format(self._token),
Expand Down

0 comments on commit 533e240

Please sign in to comment.