PVNet 0.0.18__tar.gz → 0.0.19__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {PVNet-0.0.18 → PVNet-0.0.19}/PKG-INFO +1 -1
- {PVNet-0.0.18 → PVNet-0.0.19}/PVNet.egg-info/PKG-INFO +1 -1
- PVNet-0.0.19/pvnet/__init__.py +2 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/pvnet/app.py +3 -1
- PVNet-0.0.18/pvnet/__init__.py +0 -2
- {PVNet-0.0.18 → PVNet-0.0.19}/LICENSE +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/MANIFEST.in +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/PVNet.egg-info/SOURCES.txt +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/PVNet.egg-info/dependency_links.txt +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/PVNet.egg-info/requires.txt +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/PVNet.egg-info/top_level.txt +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/README.md +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/pvnet/callbacks.py +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/pvnet/optimizers.py +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/pvnet/training.py +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/pvnet/utils.py +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/pyproject.toml +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/requirements-dev.txt +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/requirements.txt +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/setup.cfg +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/setup.py +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/tests/__init__.py +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/tests/conftest.py +0 -0
- {PVNet-0.0.18 → PVNet-0.0.19}/tests/test_app.py +0 -0
|
@@ -65,6 +65,8 @@ batch_size = 10
|
|
|
65
65
|
model_name = "openclimatefix/pvnet_v2"
|
|
66
66
|
model_version = "7cc7e9f8e5fc472a753418c45b2af9f123547b6c"
|
|
67
67
|
|
|
68
|
+
model_name_ocf_db = "pvnet_v2"
|
|
69
|
+
|
|
68
70
|
# ---------------------------------------------------------------------------
|
|
69
71
|
# LOGGER
|
|
70
72
|
|
|
@@ -313,7 +315,7 @@ def app(t0=None, apply_adjuster=False, gsp_ids=gsp_ids):
|
|
|
313
315
|
connection = DatabaseConnection(url=os.environ["DB_URL"])
|
|
314
316
|
with connection.get_session() as session:
|
|
315
317
|
sql_forecasts = convert_df_to_forecasts(
|
|
316
|
-
df, session, model_name=
|
|
318
|
+
df, session, model_name=model_name_ocf_db, version=model_version
|
|
317
319
|
)
|
|
318
320
|
|
|
319
321
|
save_sql_forecasts(
|
PVNet-0.0.18/pvnet/__init__.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|