Skip to content

Commit 48a5683

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e7ae63a commit 48a5683

File tree

7 files changed

+7
-11
lines changed

7 files changed

+7
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
3838

3939
<!-- ALL-CONTRIBUTORS-LIST:END -->
4040

41-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
41+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

data/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ and then a files such as:
2121
- Jan.csv.gz
2222
- Feb.csv.gz
2323
- ...
24-
- Dec.csv.gz
24+
- Dec.csv.gz

notebooks/Satellite_Cloud_Coverage_and_Power_Generation_Visualization.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,4 +636,4 @@
636636
},
637637
"nbformat": 4,
638638
"nbformat_minor": 5
639-
}
639+
}

scripts/5min/Load_parquet_dataframe.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
# Specify the location of your parquet file
66
file_dir = '/Volumes/Sara_external_drive/PhD/PIPs/OpenClimateFix/Data Huggingface/5min.parquet'
77
data = pd.read_parquet(file_dir, engine = 'pyarrow')
8-

scripts/5min/Plot_one_system_one_day.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Select and plot one day of PV data from one PV system
1+
# Select and plot one day of PV data from one PV system
22

33
import pandas as pd
44
import matplotlib.pyplot as plt
@@ -26,6 +26,5 @@
2626
hours_dataformat = pd.date_range(start="2021-04-01",end="2021-04-02", freq="3H")
2727
hours_dataformat = hours_dataformat.strftime("%Y-%m-%d %H:%M:%S+00:00").tolist()
2828
hours_plot = ['12 am', '3 am', '6 am', '9 am', '12 pm', '3 pm', '6 pm', '9 pm', '12 am']
29-
plt.xticks(hours_dataformat, hours_plot, rotation=30)
29+
plt.xticks(hours_dataformat, hours_plot, rotation=30)
3030
plt.show()
31-

scripts/5min/Plot_ten_systems_one_year.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
PV_data = pd.DataFrame(columns = ["generation_wh","timestamp","ss_id"])
1212
PV_systems = [13308, 13057, 7548, 7542, 10589, 6891, 9369, 11438, 18989, 7243]
1313
PV_data = data[data['ss_id'].isin(PV_systems)]
14-
14+
1515
# Select data from one year
1616
start_day = '2020-01-01'
1717
end_day = '2021-01-01'
@@ -27,6 +27,5 @@
2727
hours_dataformat = pd.date_range(start="2020-01-01",end="2020-12-31", freq="MS")
2828
hours_dataformat = hours_dataformat.strftime("%Y-%m-%d %H:%M:%S+00:00").tolist()
2929
hours_plot = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
30-
plt.xticks(hours_dataformat, hours_plot, rotation=30)
30+
plt.xticks(hours_dataformat, hours_plot, rotation=30)
3131
plt.show()
32-

scripts/5min/examples/.gitkeep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

0 commit comments

Comments
 (0)