emod_api.channelreports.icj_to_csv module#
- emod_api.channelreports.icj_to_csv.inset_chart_json_to_csv_dataframe_pd(output_path)[source]#
Convert InsetChart.json file in ‘output_path’ to InsetChart.csv. Adding Simulation_Year column if Base_Year exists in config.json.
- Parameters:
output_path (str) – Subdirectory in which to find InsetChart.json
- Returns:
N/A
- Raises:
- ValueError if InsetChart.json can't be found. –
- ValueError if InsetChart.csv can't be written. –