-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
263935e
commit cb3c2f7
Showing
3 changed files
with
52 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,50 @@ | ||
$schema: https://json-schema.org/draft/2020-12/schema | ||
type: object | ||
additionalProperties: true | ||
additionalProperties: false | ||
properties: | ||
industry: | ||
description: Module subsection to ensure no name conflicts are possible between modules. | ||
inputs: | ||
type: object | ||
additionalProperties: false | ||
description: Inputs are paths of prerequired files. | ||
properties: | ||
inputs: | ||
type: object | ||
additionalProperties: false | ||
description: Inputs are paths of prerequired files. | ||
properties: | ||
path-energy-balances: | ||
type: string | ||
description: | | ||
Annual energy balance file. | ||
Columns [cat_code,carrier_code,unit,country,year,value]. | ||
path-cat-names: | ||
type: string | ||
description: | | ||
Category mapping file. | ||
Columns [cat_code,top_cat,sub_cat_contribution,sub_cat_1,sub_cat_2,jrc_idees]. | ||
path-carrier-names: | ||
type: string | ||
description: | | ||
Carrier mapping file. | ||
Columns [carrier_code,carrier_name,hh_carrier_name,com_carrier_name,ind_carrier_name,oth_carrier_name]. | ||
path-jrc-industry-energy: | ||
type: string | ||
description: | | ||
JRC processed industry energy demand .nc file. | ||
path-jrc-industry-production: | ||
type: string | ||
description: | | ||
JRC processed industrial production .nc file. | ||
outputs: | ||
type: object | ||
description: Outputs are paths for the files produced by the module. | ||
params: | ||
path-energy-balances: | ||
type: string | ||
description: | | ||
Annual energy balance file. | ||
Columns [cat_code,carrier_code,unit,country,year,value]. | ||
path-cat-names: | ||
type: string | ||
description: | | ||
Category mapping file. | ||
Columns [cat_code,top_cat,sub_cat_contribution,sub_cat_1,sub_cat_2,jrc_idees]. | ||
path-carrier-names: | ||
type: string | ||
description: | | ||
Carrier mapping file. | ||
Columns [carrier_code,carrier_name,hh_carrier_name,com_carrier_name,ind_carrier_name,oth_carrier_name]. | ||
path-jrc-industry-energy: | ||
type: string | ||
description: | | ||
JRC processed industry energy demand .nc file. | ||
path-jrc-industry-production: | ||
type: string | ||
description: | | ||
JRC processed industrial production .nc file. | ||
outputs: | ||
type: object | ||
description: Outputs are paths for the files produced by the module. | ||
params: | ||
type: object | ||
additionalProperties: false | ||
description: Parameters allow users to configure module behaviour. | ||
properties: | ||
steel: | ||
type: object | ||
additionalProperties: false | ||
description: Parameters allow users to configure module behaviour. | ||
description: "Parameters specific to the 'Iron and steel' industry category." | ||
properties: | ||
steel: | ||
type: object | ||
additionalProperties: false | ||
description: "Parameters specific to the 'Iron and steel' industry category." | ||
properties: | ||
recycled-steel-share: | ||
type: number | ||
description: "Share of recycled metal in the H-DRI steel process." | ||
minimum: 0 | ||
maximum: 1 | ||
recycled-steel-share: | ||
type: number | ||
description: "Share of recycled metal in the H-DRI steel process." | ||
minimum: 0 | ||
maximum: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Industry | ||
configfile: "./modules/industry/config.yaml" | ||
validate(config["industry"], "../modules/industry/schema.yaml") | ||
|
||
|
||
module module_industry: | ||
snakefile: "../modules/industry/industry.smk" | ||
config: config["industry"] | ||
use rule * from module_industry as module_industry_* |