Skip to content

Commit

Permalink
Merge pull request #240 from openclimatefix/nwp-update
Browse files Browse the repository at this point in the history
update nwp
  • Loading branch information
peterdudfield authored Jan 6, 2025
2 parents 09b839e + d9fab49 commit ad93cb6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/nwp_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ def nwp_page():
y = d_one_channel_one_step.latitude.values
xaxis_title = "Longitude"
yaxis_title = "Latitude"
elif "HRES-IFS_uk" in d_one_channel_one_step.variables:
values = d_one_channel_one_step["HRES-IFS_uk"]
x = d_one_channel_one_step.longitude.values
y = d_one_channel_one_step.latitude.values
xaxis_title = "Longitude"
yaxis_title = "Latitude"
elif "UKV" in d_one_channel_one_step.variables:
values = d_one_channel_one_step["UKV"]
x = d_one_channel_one_step.x.values
Expand Down

0 comments on commit ad93cb6

Please sign in to comment.