Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not loading code in web page #17

Open
alex9green opened this issue Sep 18, 2024 · 4 comments
Open

not loading code in web page #17

alex9green opened this issue Sep 18, 2024 · 4 comments

Comments

@alex9green
Copy link

alex9green commented Sep 18, 2024

heat-pump-dashboard/co2intensity.py:6: UserWarning:

Could not infer format, so each element will be parsed individually, falling back to dateutil. To ensure parsing is consistent and as-expected, please specify a format.

/usr/local/lib/python3.12/dist-packages/meteostat/core/loader.py:82: FutureWarning:

Support for nested sequences for 'parse_dates' in pd.read_csv is deprecated. Combine the desired columns with pd.to_datetime after parsing instead.

/usr/local/lib/python3.12/dist-packages/meteostat/core/loader.py:82: FutureWarning:

Support for nested sequences for 'parse_dates' in pd.read_csv is deprecated. Combine the desired columns with pd.to_datetime after parsing instead.

/usr/local/lib/python3.12/dist-packages/meteostat/core/loader.py:82: FutureWarning:

Support for nested sequences for 'parse_dates' in pd.read_csv is deprecated. Combine the desired columns with pd.to_datetime after parsing instead.

/usr/local/lib/python3.12/dist-packages/meteostat/core/loader.py:82: FutureWarning:

Support for nested sequences for 'parse_dates' in pd.read_csv is deprecated. Combine the desired columns with pd.to_datetime after parsing instead.

/usr/local/lib/python3.12/dist-packages/meteostat/interface/meteodata.py:167: FutureWarning:

'H' is deprecated and will be removed in a future version, please use 'h' instead.

/home/delta/heat-pump-dashboard/co2intensity.py:6: UserWarning:

Could not infer format, so each element will be parsed individually, falling back to dateutil. To ensure parsing is consistent and as-expected, please specify a format.

@alex9green
Copy link
Author

co2intensity.py
/home/delta/hplib/heat-pump-dashboard/co2intensity.py:6: UserWarning: Could not infer format, so each element will be parsed individually, falling back to dateutil. To ensure parsing is consistent and as-expected, please specify a format.
hour_deltas = pd.to_datetime(power_df["Start"]).dt.hour.apply(
/home/delta/hplib/heat-pump-dashboard/co2intensity.py:9: UserWarning: The argument 'infer_datetime_format' is deprecated and will be removed in a future version. A strict version of it is now the default, see https://pandas.pydata.org/pdeps/0004-consistent-to-datetime-parsing.html. You can safely remove this argument.
power_df["Date"] = pd.to_datetime(power_df["Date"],infer_datetime_format=False) + hour_deltas

@alex9green
Copy link
Author

Could not infer format, so each element will be parsed individually, falling back to dateutil. To ensure parsing is consistent and as-expected, please specify a format.
UserWarning: The argument 'infer_datetime_format' is deprecated and will be removed in a future version. A strict version of it is now the default, see https://pandas.pydata.org/pdeps/0004-consistent-to-datetime-parsing.html. You can safely remove this argument.
Traceback (most recent call last):
File "/home/delta/hplib/heat-pump-dashboard/datasource.py", line 78, in
print(fetch_all("DE", 81829, "2020-01-01", "2022-01-02", "Somm"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/delta/hplib/heat-pump-dashboard/datasource.py", line 59, in fetch_all
df = temperatures.load_TRY(TRY_dataset).rename(
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'temperatures' has no attribute 'load_TRY'

@alex9green
Copy link
Author

trydf["Date"] = pd.to_datetime(
dict(
year=trydf["year"], month=trydf["MM"], day=trydf["DD"], hour=trydf["HH"]
), format="%Y-%m-%d %H:%M:%S"
)

@alex9green
Copy link
Author

we don`t have this folders ....no update informations
csv missing

hplib_database.py

THIS_FOLDER_PATH + "/../input/csv/" + filename + ".csv"

df = pd.read_csv("../output/database_reduced.csv")

df = pd.read_csv("data/hplib_database.csv", delimiter=",")

"https://www.heatpumpkeymark.com/?type=109126").content,
"html.parser", we need update models

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant