Skip to content

Commit c52e4a1

Browse files
committed
Update in README.md
1 parent bfd7e95 commit c52e4a1

1 file changed

Lines changed: 19 additions & 10 deletions

File tree

README.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,37 @@ GHG: Greenhouse Gas.
1515

1616
-------
1717

18-
If you have access to the MATLAB-based PRIMAP Emissions Module you can do the following:
18+
### How-to for different steps of the modeling chain from baseline data over mitigated emissions pathways to temperature estimates
1919

20-
- In the PRIMAP Emissions Module run ``ndcs_get_all_data_agu.m`` to write out all the tables needed for the quantifications from the PRIMAPDB to ``/data/preprocess/matlab_tables`` as csv-files. These tables are available in the repository, so one can skip this step.
20+
If you have access to the MATLAB-based PRIMAP Emissions Module you can do the following (get the baseline data from the PRIMAP Emissions Module Database):
21+
22+
- In the PRIMAP Emissions Module run ``ndcs_get_all_data_agu.m`` to write out all the tables needed for the quantifications from the PRIMAPDB to ``/data/preprocess/matlab_tables`` as csv-files. *These tables are available in the repository, so one can skip this step.*
2123
- Open a python console and go to the folder ``py_files`` (all of the following is run using python3):
2224
- Run ``preprocessing_general.py`` to create the input needed for the quantifications. It is saved in ``/data/preprocess/preprocess``. The preprocessed data are available in the repository.
2325
- Run ``preprocessing_current_pc_cov.py``, which will store the tables with the covered part of emissions per country in ``/data/preprocess/pc_cov_yyyymmdd_hhmm``. The preprocessed data are available in the repository.
2426
- Put the new folder-name ``preprocess_yyyymmdd_hhmm`` into ``setup_metadata.py`` (```folder_preprocess = 'preprocess_yyyymmdd_hhmm'```).
2527

26-
--------------------
27-
28-
If you do not have access to the MATLAB tools, you can do the following (**running NDCmitiQ**).
28+
If you do not have access to the MATLAB tools, you can do the following (**running NDCmitiQ**, code can be run without catching the input data from the MATLAB-based PRIMAP Emissions Module, as the input tables are stored in the repository).
2929

3030
- Open a python console and go to the folder ``py_files`` (all of the following is run using python3):
3131
- Go to ``/MODIFY_INPUT_HERE`` and copy the file ``input_default.py`` and adjust it as you wish.
32-
32+
What can be modified are the following input parameters (for more detail please check ``input_DEFAULT_with_EXPLANATIONS.py``):
33+
34+
- Chose SSP marker scenario (for additional down-scaled SSP scenarios one would need to do further implementations)
35+
- Chose for which countries to calculate the targets (else: baseline emissions used)
36+
- Which target type(s) to prioritise
37+
- Prioritisaton of emissions baselines from NDCs or from the SSPs
38+
- Set coverage to 100% (for certain / all countries)
39+
- How to extend the emissions pathways after last target year (constant\_percentages or constant\_emissions)
40+
- Whether to use the baseline as unconditional pathway even if the baseline lies below the conditional pathway (for countries without unconditional target)
41+
- Strengthen targets by a certain percentage
42+
- Define groups for which the aggregated pathways should be calculated
43+
3344
- Go to ``_to_be_run.py`` and put in the input-file(s) that you wish to work with (``main_ndc_quantifications('input_default', '')``) and run ``python3 _to_be_run.py``.
34-
45+
3546
Or using Spyder with a Python 3 console, with the work-path ``\ndc_quantifications\py_files`` run ``from main_ndc_quantifications import main_ndc_quantifications`` and then ``main_ndc_quantifications('input_default', '')``.
36-
37-
- The output (emissions targets per country, per-country pathways, global pathways) is stored in ``/data/output/``.
3847

39-
---------------
48+
- The output (emissions targets per country, per-country pathways, global pathways) is stored in ``/data/output/``.
4049

4150
If you have access to the MATLAB-based PRIMAP Emissions and Climate Module you can do the following:
4251

0 commit comments

Comments
 (0)