Skip to content

Commit

Permalink
Merge pull request #81 from openclimatefix/update_model
Browse files Browse the repository at this point in the history
Update model
  • Loading branch information
dfulu authored May 31, 2024
2 parents d65a202 + 9af7a8e commit 405747f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions pvnet_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
# Huggingfacehub model repo and commit for PVNet (GSP-level model)
"pvnet": {
"name": "openclimatefix/pvnet_uk_region",
"version": "849f19b0c774a1a3fe10e20f901e225131f5645b",
"version": "9989666ae3792a576dbc16872e152985c950a42e",
},
# 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
Expand All @@ -86,10 +86,10 @@
},

# Extra models which will be run on dev only
"pvnet_v2-sat60min-v8-batches": {
"pvnet_v2-sat0min-v8-batches": {
"pvnet": {
"name": "openclimatefix/pvnet_uk_region",
"version": "9989666ae3792a576dbc16872e152985c950a42e",
"version": "849f19b0c774a1a3fe10e20f901e225131f5645b",
},
"summation": {
"name": "openclimatefix/pvnet_v2_summation",
Expand All @@ -99,6 +99,7 @@
"save_gsp_sum": False,
"verbose": False,
},

}

# Remove extra models if not configured to run them
Expand Down
2 changes: 1 addition & 1 deletion pvnet_app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
from nowcasting_datamodel.read.read import (
get_latest_input_data_last_updated,
get_location,
get_model,
)
from nowcasting_datamodel.read.read_models import get_model

from datetime import timezone, datetime

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ torch[cpu]==2.2.0
PVNet-summation==0.1.4
pvnet==3.0.25
ocf_datapipes==3.3.19
nowcasting_datamodel>=1.5.41
nowcasting_datamodel>=1.5.42
fsspec[s3]
xarray
zarr
Expand Down

0 comments on commit 405747f

Please sign in to comment.