The [iotools.get_pvgis_tmy] is old, so when you use it analysis some location, such as Peking and Shanghai, you will raise a error(HTTPError: Location out of the spatial coverage of PVGIS5), but the PVGIS5.2 have put these location into their database, so please update, thank you!