Skip to content

Commit

Permalink
Removed tqdm for writing data sources
Browse files Browse the repository at this point in the history
  • Loading branch information
damienallen committed May 17, 2024
1 parent e244b6d commit b20bb34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urban_heat/tasks/prepare_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def process_images_by_urau(
data_source_dir: Path = SOURCES_DIR / urau_code / data_source_key
data_source_dir.mkdir(exist_ok=True)

for year, max_temp in tqdm(data_source_by_year.items(), desc="Writing data source"):
for year, max_temp in data_source_by_year.items():
with rasterio.open(
data_source_dir / f"{data_source_key}_{year}.tif", "w", **metadata
) as dst:
Expand Down

0 comments on commit b20bb34

Please sign in to comment.