diff --git a/eedl/image.py b/eedl/image.py index ddc0387..ab2d9c9 100644 --- a/eedl/image.py +++ b/eedl/image.py @@ -390,9 +390,9 @@ def export(self, (drive_root_folder is None or not os.path.exists(drive_root_folder)): raise NotADirectoryError("The provided path for the Google Drive export folder is not a valid directory but" - "Drive export was specified. Either change the export type to use Google Cloud" - "and set that up properly (with a bucket, etc), or set the drive_root_folder" - "to a valid folder.") + " Drive export was specified. Either change the export type to use Google Cloud" + " and set that up properly (with a bucket, etc), or set the drive_root_folder" + " to a valid folder.") elif export_type.lower() == "drive": if drive_root_folder: self.drive_root_folder = drive_root_folder diff --git a/examples/scv_et_rework.py b/examples/scv_et_rework.py index 241cc41..d90e835 100644 --- a/examples/scv_et_rework.py +++ b/examples/scv_et_rework.py @@ -63,9 +63,7 @@ def scv_data_download_for_year(year: str, openet_collection: str = r"OpenET/ENSE def download_updated_vw_et_images_by_year(download_folder: str = r"D:\vw_et_update_2023", - field_boundaries: Optional[dict[str: str]] = None) -> None: - if field_boundaries is None: - field_boundaries = field_boundaries_by_year + field_boundaries: dict[str: str] = field_boundaries_by_year) -> None: exports_by_year = {}