diff --git a/cloud_archives/pv/passiv/ss_rawdata_api.py b/cloud_archives/pv/passiv/ss_rawdata_api.py index 4b4983f..66f0b8e 100644 --- a/cloud_archives/pv/passiv/ss_rawdata_api.py +++ b/cloud_archives/pv/passiv/ss_rawdata_api.py @@ -26,7 +26,7 @@ class ProxyDict(TypedDict): class SSRawDataAPI: def __init__(self, user_id: Union[int, str], api_key: str, proxies: Optional[ProxyDict] = None): - self.base_url = "https://api.solar.sheffield.ac.uk/rawdata/api/v4" + self.base_url = "https://api.pvlive.uk/rawdata/api/v4" # self.base_url = "https://staging.solar.shef.ac.uk/rawdata/api/v4" self.max_range = datetime.timedelta(days=1) self.proxies = proxies diff --git a/tests/cloud_archives/pv/test_passiv.py b/tests/cloud_archives/pv/test_passiv.py index 6e9139d..6cdbe6e 100644 --- a/tests/cloud_archives/pv/test_passiv.py +++ b/tests/cloud_archives/pv/test_passiv.py @@ -4,5 +4,5 @@ def test_get_daily_passiv_data(): - start_date = datetime(2022, 1, 1, tzinfo=timezone.utc) + start_date = datetime(2024, 12, 5, tzinfo=timezone.utc) get_monthly_passiv_data(start_date, upload_to_hf=False, overwrite=True)