sedos-project / data_adapter

Provides general functionality for other data adapters
GNU Affero General Public License v3.0
0 stars 0 forks source link

Inlcude region mapping (low prio) #22

Open henhuy opened 1 year ago

henhuy commented 1 year ago

Idea is to add parameter regions to Adapter class which holds hierarchical structure of regions, which can be used to extract process parameters from parent regions. Example regions mapping could look like:

{
  "DE": {
    "NW": [
      "district_01",
      "district_02",
      ...
    ],
    "HB": [...],
    ...
  }
}

For example, a process holding data for "district_01" could then grab related WACC which is set for "DE".

(Not needed in SEDOS - thus low prio for now)