diff --git a/scripts/get_installed_capacity.py b/scripts/get_installed_capacity.py index ddf3091..95ca46e 100644 --- a/scripts/get_installed_capacity.py +++ b/scripts/get_installed_capacity.py @@ -10,7 +10,6 @@ import json import boto3 -import xarray import xarray as xr from nowcasting_datamodel.connection import DatabaseConnection from nowcasting_datamodel.models.base import Base_PV @@ -37,7 +36,6 @@ # get pv systems from database and update connection = DatabaseConnection(url=db_url, base=Base_PV, echo=True) with connection.get_session() as session: - pv_systems = session.query(PVSystemSQL).all() for pv_system in pv_systems: