Skip to content

Commit

Permalink
updated paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Eggimann committed Dec 4, 2018
1 parent 304cf61 commit f354811
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
Empty file removed energy_demand/_scrap.py
Empty file.
26 changes: 13 additions & 13 deletions energy_demand/read_write/data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,31 +483,31 @@ def get_local_paths(path):
path, '00_user_defined_variables'),

'path_population_data_for_disaggregation_LAD': os.path.join(
path, '_raw_data', 'J-population_disagg_by', 'uk_pop_principal_2015_2050.csv'), #ONS principal projection
path, 'energy_demand', '_raw_data', 'J-population_disagg_by', 'uk_pop_principal_2015_2050.csv'), #ONS principal projection
'path_population_data_for_disaggregation_MSOA': os.path.join(
path, '_raw_data', 'J-population_disagg_by', 'uk_pop_principal_2015_2050_MSOA_lad.csv'), #ONS principal projection
path, 'energy_demand', '_raw_data', 'J-population_disagg_by', 'uk_pop_principal_2015_2050_MSOA_lad.csv'), #ONS principal projection
'folder_raw_carbon_trust': os.path.join(
path, '_raw_data', "G_Carbon_Trust_advanced_metering_trial"),
path, 'energy_demand', '_raw_data', "G_Carbon_Trust_advanced_metering_trial"),
'folder_path_weater_stations': os.path.join(
path, '_raw_data', 'A-temperature_data', 'cleaned_weather_stations.csv'),
path, 'energy_demand', '_raw_data', 'A-temperature_data', 'cleaned_weather_stations.csv'),
'path_floor_area_virtual_stock_by': os.path.join(
path, '_raw_data', 'K-floor_area', 'floor_area_LAD_latest.csv'),
path, 'energy_demand', '_raw_data', 'K-floor_area', 'floor_area_LAD_latest.csv'),
'path_assumptions_db': os.path.join(
path, '_processed_data', 'assumptions_from_db'),
path, 'energy_demand', '_processed_data', 'assumptions_from_db'),
'data_processed': os.path.join(
path, '_processed_data'),
path, 'energy_demand', '_processed_data'),
'lad_shapefile': os.path.join(
path, '_raw_data', 'C_LAD_geography', 'same_as_pop_scenario', 'lad_2016_uk_simplified.shp'),
path, 'energy_demand', '_raw_data', 'C_LAD_geography', 'same_as_pop_scenario', 'lad_2016_uk_simplified.shp'),
'path_post_installation_data': os.path.join(
path, '_processed_data'),
path, 'energy_demand', '_processed_data'),
'weather_data': os.path.join(
path, '_raw_data', 'A-temperature_data', 'cleaned_weather_stations_data'),
path, 'energy_demand', '_raw_data', 'A-temperature_data', 'cleaned_weather_stations_data'),
'load_profiles': os.path.join(
path, '_processed_data', 'load_profiles'),
path, 'energy_demand', '_processed_data', 'load_profiles'),
'rs_load_profile_txt': os.path.join(
path, '_processed_data', 'load_profiles', 'rs_submodel'),
path, 'energy_demand', '_processed_data', 'load_profiles', 'rs_submodel'),
'ss_load_profile_txt': os.path.join(
path, '_processed_data', 'load_profiles', 'ss_submodel'),
path, 'energy_demand', '_processed_data', 'load_profiles', 'ss_submodel'),
'yaml_parameters': os.path.join(
path, '..', 'config', 'yaml_parameters.yml'),
'yaml_parameters_constrained': os.path.join(
Expand Down
2 changes: 1 addition & 1 deletion energy_demand/scripts/s_write_dummy_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def dummy_sectoral_load_profiles(local_paths, path_main):
Main path
"""
create_folders_to_file(
os.path.join(local_paths['ss_load_profile_txt'], "dumm"), "energy_demand", "_processed_data")
os.path.join(local_paths['ss_load_profile_txt'], "dumm"), "_processed_data")

paths = data_loader.load_paths(path_main)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def package_data(
'dimensions',
'initial_conditions',
'initial_inputs',
'interventions',
'energy_demand_minimal',
'narratives',
'parameters',
Expand All @@ -72,6 +73,7 @@ def package_data(
'initial_conditions',
'interventions',
'initial_inputs',
'interventions',
'energy_demand',
'narratives',
'parameters',
Expand Down

0 comments on commit f354811

Please sign in to comment.