Expand description
The module responsible for writing output data to disk.
Structsยง
- Asset
Row ๐ - Represents a row in the assets output CSV file
- Commodity
Flow ๐Row - Represents the flow-related data in a row of the commodity flows CSV file.
- Commodity
Price ๐Row - Represents a row in the commodity prices CSV file
- Data
Writer - An object for writing commodity prices to file
Constantsยง
- ASSETS_
FILE_ ๐NAME - The output file name for assets
- COMMODITY_
FLOWS_ ๐FILE_ NAME - The output file name for commodity flows
- COMMODITY_
PRICES_ ๐FILE_ NAME - The output file name for commodity prices
- OUTPUT_
DIRECTORY_ ๐ROOT - The root folder in which model-specific output folders will be created
Functionsยง
- create_
output_ directory - Create a new output directory for the model specified at
model_dir
. - get_
output_ dir - Get the model name from the specified directory path