|
1 | 1 | """Handle data and structure for IAMC-like formats.
|
2 | 2 |
|
3 |
| -The "IAMC format" or "IAMC template" refers to a variety of similar data formats with a |
4 |
| -similar structure, developed by the Integrated Assessment Modeling Consortium (IAMC) and |
5 |
| -others, for data that is output from or input to integrated assessment models. Similar |
6 |
| -DSDs are commonly used in related research. |
7 |
| -
|
8 |
| -These data structures are characterized by: |
9 |
| -
|
10 |
| -- Common dimensions, including: |
11 |
| -
|
12 |
| - - "Model", "Scenario" —identifying a model and particular configuration of that model. |
13 |
| - - "Region" —geography. |
14 |
| - - "Year" —if in ‘long’ format; or also commonly a ‘wide’ format with one column per |
15 |
| - distinct year. |
16 |
| - - "Unit" —in some cases this is effectively an attribute; in other cases, it may be a |
17 |
| - dimension. See below. |
18 |
| - - "Variable" —see below. |
19 |
| -
|
20 |
| -- Combination of several data flows in the same file: |
21 |
| -
|
22 |
| - - Codes appearing in the "Variable" dimension are strings with a varying number of |
23 |
| - parts separated by the pipe ("|") character. |
24 |
| - - The first (or only) part indicates the measure concept, e.g. "Population". |
25 |
| - - Subsequent parts are codes for additional dimensions. For example in |
26 |
| - "Population|Female|50—59Y", "Female" may be a code for a gender dimension, and |
27 |
| - "50–59Y" may be a code for an age dimension. The data message usually does not |
28 |
| - identify these dimensions, and separate structural information may be provided only |
29 |
| - as text and not in machine-readable formats. |
30 |
| -
|
31 |
| -- Specification of "templates" in the form of files in the same format as the data, with |
32 |
| - no observation values. These provide code lists for the "Variable" and sometimes other |
33 |
| - dimensions. These thus, more or less explicitly, specify the measures, dimensions, |
34 |
| - codes, etc. for the various data flows included. |
35 |
| -
|
36 | 3 | .. todo:: Add a function to generate distinct DSDs for each data flow in a data set.
|
37 | 4 | .. todo:: Add function(s) to reshape IAMC-like data.
|
38 | 5 | """
|
|
0 commit comments