diff --git a/pvnet_app/app.py b/pvnet_app/app.py index 8f4fe89..5d707f3 100644 --- a/pvnet_app/app.py +++ b/pvnet_app/app.py @@ -67,12 +67,12 @@ # Huggingfacehub model repo and commit for PVNet (GSP-level model) default_model_name = "openclimatefix/pvnet_v2" -default_model_version = "96ac8c67fa8663844ddcfa82aece51ef94f34453" +default_model_version = "ca621fcb8e275bdcdc586b1f971e82fc65e02735" # Huggingfacehub model repo and commit for PVNet summation (GSP sum to national model) # If summation_model_name is set to None, a simple sum is computed instead default_summation_model_name = "openclimatefix/pvnet_v2_summation" -default_summation_model_version = "ead56528a7ac5681a1d4c9db40dabd2d07c7a55f" +default_summation_model_version = "01393d6e4a036103f9c7111cba6f03d5c19beb54" model_name_ocf_db = "pvnet_v2" use_adjuster = os.getenv("USE_ADJUSTER", "True").lower() == "true" diff --git a/requirements.txt b/requirements.txt index c94846f..07d62fb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ torch[cpu]>=2.0 PVNet-summation>=0.0.8 -pvnet>=2.1.29 -ocf_datapipes>=1.2.44 +pvnet>=2.1.30 +ocf_datapipes>=2.0.4 nowcasting_datamodel>=1.5.10 fsspec[s3] xarray diff --git a/tests/test_app.py b/tests/test_app.py index dfc4c8b..6cd6a24 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -33,8 +33,6 @@ def test_app(db_session, nwp_data, sat_data, gsp_yields_and_systems, me_latest): store.close() # Set model version - os.environ["APP_MODEL_VERSION"] = "96ac8c67fa8663844ddcfa82aece51ef94f34453" - os.environ["APP_SUMMATION_MODEL_VERSION"] = "4a145d74c725ffc72f482025d3418659a6869c94" os.environ["SAVE_GSP_SUM"] = "True" # Run prediction