Closed kandersolar closed 2 days ago
I think this is good news!
I'll prepare some updated tests soon
@AdamRJensen PVGIS tests are failing again: https://github.com/pvlib/pvlib-python/actions/runs/11354441803/job/31581700027
=========================== short test summary info ============================
FAILED pvlib/tests/iotools/test_pvgis.py::test_get_pvgis_tmy - assert False
+ where False = <function allclose at 0x7fd219cd2cf0>(time(UTC)\n2018-01-01 00:00:00+00:00 2.04\n2018-01-01 01:00:00+00:00 1.98\n2018-01-01 02:00:00+00:00 1.92\n2018-0...:00 2.23\n2016-12-31 22:00:00+00:00 2.17\n2016-12-31 23:00:00+00:00 2.10\nName: T2m, Length: 8760, dtype: float64, time(UTC)\n2014-01-01 00:00:00+00:00 1.08\n2014-01-01 01:00:00+00:00 0.42\n2014-01-01 02:00:00+00:00 -0.24\n2014-0...:00 3.05\n2018-12-31 22:00:00+00:00 2.39\n2018-12-31 23:00:00+00:00 1.73\nName: T2m, Length: 8760, dtype: float64)
+ where <function allclose at 0x7fd219cd2cf0> = np.allclose
FAILED pvlib/tests/iotools/test_pvgis.py::test_get_pvgis_tmy_kwargs - assert False
+ where False = <function allclose at 0x7fd219cd2cf0>(time(UTC)\n2018-01-01 00:00:00+00:00 0.0\n2018-01-01 01:00:00+00:00 0.0\n2018-01-01 02:00:00+00:00 0.0\n2018-01-0...00:00 0.0\n2016-12-31 22:00:00+00:00 0.0\n2016-12-31 23:00:00+00:00 0.0\nName: G(h), Length: 8760, dtype: float64, array([0, 0, 0, ..., 0, 0, 0]))
+ where <function allclose at 0x7fd219cd2cf0> = np.allclose
+ and array([0, 0, 0, ..., 0, 0, 0]) = 0 0\n1 0\n2 0\n3 0\n4 0\n ..\n8755 0\n8756 0\n8757 0\n8758 0\n8759 0\nName: G(h), Length: 8760, dtype: int64.values
FAILED pvlib/tests/iotools/test_pvgis.py::test_get_pvgis_tmy_basic - assert False
+ where False = <function allclose at 0x7fd219cd2cf0>(time(UTC)\n2018-01-01 00:00:00+00:00 2.04\n2018-01-01 01:00:00+00:00 1.98\n2018-01-01 02:00:00+00:00 1.92\n2018-0...:00 2.23\n2016-12-31 22:00:00+00:00 2.17\n2016-12-31 23:00:00+00:00 2.10\nName: T2m, Length: 8760, dtype: float64, time(UTC)\n2014-01-01 00:00:00+00:00 1.08\n2014-01-01 01:00:00+00:00 0.42\n2014-01-01 02:00:00+00:00 -0.24\n2014-0...:00 3.05\n2018-12-31 22:00:00+00:00 2.39\n2018-12-31 23:00:00+00:00 1.73\nName: T2m, Length: 8760, dtype: float64)
+ where <function allclose at 0x7fd219cd2cf0> = np.allclose
FAILED pvlib/tests/iotools/test_pvgis.py::test_get_pvgis_tmy_csv - assert False
+ where False = <function allclose at 0x7fd219cd2cf0>(time(UTC)\n2018-01-01 00:00:00+00:00 2.04\n2018-01-01 01:00:00+00:00 1.98\n2018-01-01 02:00:00+00:00 1.92\n2018-0...:00 2.23\n2016-12-31 22:00:00+00:00 2.17\n2016-12-31 23:00:00+00:00 2.10\nName: T2m, Length: 8760, dtype: float64, time(UTC)\n2014-01-01 00:00:00+00:00 1.08\n2014-01-01 01:00:00+00:00 0.42\n2014-01-01 02:00:00+00:00 -0.24\n2014-0...:00 3.05\n2018-12-31 22:00:00+00:00 2.39\n2018-12-31 23:00:00+00:00 1.73\nName: T2m, Length: 8760, dtype: float64)
+ where <function allclose at 0x7fd219cd2cf0> = np.allclose
FAILED pvlib/tests/iotools/test_pvgis.py::test_get_pvgis_tmy_epw - assert False
+ where False = <function allclose at 0x7fd219cd2cf0>(2018-01-01 00:00:00+01:00 0.0\n2018-01-01 01:00:00+01:00 0.0\n2018-01-01 02:00:00+01:00 0.0\n2018-01-01 03:00:00...+01:00 0.0\n2016-12-31 22:00:00+01:00 0.0\n2016-12-31 23:00:00+01:00 0.0\nName: ghi, Length: 8760, dtype: float64, time(UTC)\n2014-01-01 00:00:00+00:00 0.0\n2014-01-01 01:00:00+00:00 0.0\n2014-01-01 02:00:00+00:00 0.0\n2014-01-0...00:00 0.0\n2018-12-31 22:00:00+00:00 0.0\n2018-12-31 23:00:00+00:00 0.0\nName: G(h), Length: 8760, dtype: float64)
+ where <function allclose at 0x7fd219cd2cf0> = np.allclose
+ and 2018-01-01 00:00:00+01:00 0.0\n2018-01-01 01:00:00+01:00 0.0\n2018-01-01 02:00:00+01:00 0.0\n2018-01-01 03:00:00...+01:00 0.0\n2016-12-31 22:00:00+01:00 0.0\n2016-12-31 23:00:00+01:00 0.0\nName: ghi, Length: 8760, dtype: float64 = year ... liquid_precipitation_quantity\n2018-01-01 00:00:00+01:00 2018 ... ... 99\n2016-12-31 23:00:00+01:00 2016 ... 99\n\n[8760 rows x 35 columns].ghi
======= 5 failed, 138 passed, 8 warnings, 25 rerun in 238.69s (0:03:58) ========
Several PVGIS tests are failing because the expected values no longer match what is returned by the API. See an example CI run: https://github.com/pvlib/pvlib-python/actions/runs/11003008118/job/30551180154#step:6:256
I suppose it has something to do with the release of PVGIS 5.3. See here: https://joint-research-centre.ec.europa.eu/photovoltaic-geographical-information-system-pvgis/pvgis-releases/pvgis-53_en