From 7a3d2ba10992ec0c98d6e749afaf292e895e11c6 Mon Sep 17 00:00:00 2001 From: Fridolin Glatter Date: Fri, 31 Mar 2023 14:32:12 +0200 Subject: [PATCH] Fix some typos in add_year/README --- message_ix/tools/add_year/README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/message_ix/tools/add_year/README.rst b/message_ix/tools/add_year/README.rst index 3f27b79ed..c7fa64086 100644 --- a/message_ix/tools/add_year/README.rst +++ b/message_ix/tools/add_year/README.rst @@ -4,7 +4,7 @@ Add model years to an existing Scenario Description ----------- -This tool adds new modeling years to an existing :class:`message_ix.Scenario` (hereafter "reference scenario"). For instance, in a scenario define with:: +This tool adds new modeling years to an existing :class:`message_ix.Scenario` (hereafter "reference scenario"). For instance, in a scenario defined with:: history = [690] model_horizon = [700, 710, 720] @@ -13,7 +13,7 @@ This tool adds new modeling years to an existing :class:`message_ix.Scenario` (h firstmodelyear=model_horizon[0] ) -…additional years can be added after importing the add_year function:: +…additional years can be added after importing the ``add_year function``:: from message_ix.tools.add_year import add_year sc_new = message_ix.Scenario(mp, sc_ref.model, sc_ref.scenario, @@ -26,7 +26,7 @@ At this point, ``sc_new`` will have the years [700, 705, 710, 712, 718, 720, 725 The tool operates by creating a new empty Scenario (hereafter "new scenario") and: - Copying all **sets** from the reference scenario, adding new time steps to relevant sets (e.g., adding 2025 between 2020 and 2030 in the set ``year``) -- Copying all **parameters** from the reference scenario, adding new years to relevant parameters, and calculating missing values for the added years. +- Copying all **parameters** from the reference scenario, adding new years to relevant parameters, and calculating missing values for the added years Features ~~~~~~~~