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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PVNet
3
- Version: 0.0.18
3
+ Version: 0.0.19
4
4
  Summary: PVNet
5
5
  Author: Peter Dudfield
6
6
  Author-email: info@openclimatefix.org
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PVNet
3
- Version: 0.0.18
3
+ Version: 0.0.19
4
4
  Summary: PVNet
5
5
  Author: Peter Dudfield
6
6
  Author-email: info@openclimatefix.org
@@ -0,0 +1,2 @@
1
+ """PVNet"""
2
+ __version__ = "0.0.19"
@@ -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=model_name, version=model_version
318
+ df, session, model_name=model_name_ocf_db, version=model_version
317
319
  )
318
320
 
319
321
  save_sql_forecasts(
@@ -1,2 +0,0 @@
1
- """PVNet"""
2
- __version__ = "0.0.18"
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