Skip to content

Commit

Permalink
Fix requested changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamJCrawford committed Nov 14, 2023
1 parent 219b98e commit caf1783
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions eedl/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions examples/scv_et_rework.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}

Expand Down

0 comments on commit caf1783

Please sign in to comment.