Skip to content

Commit

Permalink
Moved source files and docs around
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias157 committed Sep 23, 2024
1 parent 364a9a8 commit fc13f4b
Show file tree
Hide file tree
Showing 42 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.5.8-0' # any version from https://github.com/mamba-org/micromamba-releases
environment-file: RawDataProcessing/docs/docs_environment.yml
environment-file: docs/docs_environment.yml
init-shell: bash
cache-environment: true
post-cleanup: 'all'
generate-run-shell: false

- name: Sphinx build
run: |
sphinx-build 'RawDataProcessing/docs' _build
sphinx-build 'docs' _build
shell: bash -el {0}

- name: Deploy to GitHub Pages
Expand Down
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
RawDataProcessing/Data/*
RawDataProcessing/Output/*
!RawDataProcessing/Data/IncFilePreSuf/README.md
!RawDataProcessing/Output/Figures/.keepoutfolder
src/Data/*
src/Output/*
!src/Data/IncFilePreSuf/README.md
!src/Output/Figures/.keepoutfolder
exo_elec_dem_conversion_dictionaries.pkl
exo_heat_dem_conversion_dictionaries.pkl
.snakemake
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"terminal.integrated.cwd": "src",
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Balmorel Pre-Processing

These scripts process raw data into Balmorel input. An application presented at the EGU24 conference is illustrated in the poster below (check Zenodo link below for a high-res pdf). For more info, read README in the RawDataProcessing folder.
These scripts process raw data into Balmorel input. An application presented at the EGU24 conference is illustrated in the poster below (check Zenodo link below for a high-res pdf). For more info, read README in the src folder.
![Application example](https://github.com/Mathias157/balmorel-preprocessing/blob/master/Raw%20Data%20Processing/Conference%20Poster%20for%20Analysis%20of%20Spatial%20Resolutions%20for%20Modelling%20Sector-Coupled%20Energy%20Systems.png)

Data can be downloaded in the Zenodo link below and should be placed in RawDataProcessing/
Data can be downloaded in the Zenodo link below and should be placed in src/

https://zenodo.org/records/10960910

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion RawDataProcessing/docs/conf.py → docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", ".venv", ".venv/**"]

conf_py_path = "RawDataProcessing/docs/" # with leading and trailing slash
conf_py_path = "docs/" # with leading and trailing slash

html_static_path = ["css"]

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def convert_municipal_code_to_name(to_be_converted: pd.DataFrame,
column_to_convert: (str, int),
pivot_table: bool = False,
exclude_regions: list = ['Herlev', 'Christiansø'],
muni_geofile_path: str = r'C:\Users\mberos\gitRepos\balmorel-preprocessing\RawDataProcessing\Data\Shapefiles\Denmark\Adm\gadm36_DNK_2.shp'):
muni_geofile_path: str = r'C:\Users\mberos\gitRepos\balmorel-preprocessing\src\Data\Shapefiles\Denmark\Adm\gadm36_DNK_2.shp'):

index, muni_geofile, country = prepared_geofiles('DK Municipalities')

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fc13f4b

Please sign in to comment.