Skip to content

Commit

Permalink
Update docs for iiasa/message_data#549
Browse files Browse the repository at this point in the history
- add intersphinx configuration for plotnine.
- add |t|, |ya|, |yv| replacements to rest prolog.
- remove contents migrated upstream in #162
- address some sphinx nitpicks.
  • Loading branch information
khaeru committed Jul 29, 2024
1 parent ab1b26d commit c1c7692
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
5 changes: 1 addition & 4 deletions message_ix_models/model/transport/build.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
"""Build MESSAGEix-Transport on a base model.
.. autodata:: TEMPLATE
"""
"""Build MESSAGEix-Transport on a base model."""

import logging
from importlib import import_module
Expand Down
4 changes: 2 additions & 2 deletions message_ix_models/model/transport/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@ class Config(ConfigHelper):
#: exogenous data.
ssp: ssp_field = ssp_field(default=SSP_2017["2"])

#: :any:`.True` if a base model or MESSAGEix-Transport scenario (possibly with
#: :any:`True` if a base model or MESSAGEix-Transport scenario (possibly with
#: solution data) is available.
with_scenario: bool = False

#: :any:`.True` if solution data is available.
#: :any:`True` if solution data is available.
with_solution: bool = False

#: Work hours per year, used to compute the value of time.
Expand Down
4 changes: 2 additions & 2 deletions message_ix_models/model/transport/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,10 +492,10 @@ def groups_iea_eweb(technologies: List[Code]) -> Tuple[Groups, Groups, Dict]:
2. Groups for aggregating MESSAGEix-Transport data. In particular:
- Labels for MESSAGEix-Transport transport modes (``t`` dimension) are aggregated
- Labels for MESSAGEix-Transport transport modes (|t| dimension) are aggregated
to labels for IEA ``flow``.
3. Indexers for *dis*aggregating computed scaling factors; that is, reversing (2).
3. Indexers for *dis* aggregating computed scaling factors; that is, reversing (2).
"""
g0: Groups = dict(flow={}, product={})
g1: Groups = dict(t={})
Expand Down
4 changes: 2 additions & 2 deletions message_ix_models/project/navigate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,6 @@ class Config:
#: :data:`True` to use MESSAGEix-Materials (:mod:`.model.material`).
material: bool = True

#: :data:`True` to use MESSAGEix-Transport (:mod:`.model.transport`) alongside
#: MESSAGEix-Buildings and MESSAGEix-Materials.
#: :data:`True` to use MESSAGEix-Transport (:mod:`message_data.model.transport`)
#: alongside MESSAGEix-Buildings and MESSAGEix-Materials.
transport: bool = True

0 comments on commit c1c7692

Please sign in to comment.