You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-10Lines changed: 19 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,28 +15,37 @@ GHG: Greenhouse Gas.
15
15
16
16
-------
17
17
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
19
19
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.*
21
23
- Open a python console and go to the folder ``py_files`` (all of the following is run using python3):
22
24
- 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.
23
25
- 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.
24
26
- Put the new folder-name ``preprocess_yyyymmdd_hhmm`` into ``setup_metadata.py`` (```folder_preprocess = 'preprocess_yyyymmdd_hhmm'```).
25
27
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).
29
29
30
30
- Open a python console and go to the folder ``py_files`` (all of the following is run using python3):
31
31
- 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
+
33
44
- 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
+
35
46
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/``.
38
47
39
-
---------------
48
+
- The output (emissions targets per country, per-country pathways, global pathways) is stored in ``/data/output/``.
40
49
41
50
If you have access to the MATLAB-based PRIMAP Emissions and Climate Module you can do the following:
0 commit comments