From d2da1be7f05920c06888b39d3a0aa370b5f79ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zvolensk=C3=BD=20Juraj?= <jzvolensky@eosao34.eurac.edu> Date: Mon, 12 Feb 2024 14:55:41 +0100 Subject: [PATCH] added contributing.md and pyproject.toml update --- swe_maps_stac/conversion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swe_maps_stac/conversion.py b/swe_maps_stac/conversion.py index e637f0a..acb2c0b 100644 --- a/swe_maps_stac/conversion.py +++ b/swe_maps_stac/conversion.py @@ -22,7 +22,7 @@ def netcdf_to_cog(netcdf_path: str, cog_dir: str) -> None: swe_name_year : str Name of the SWE dataset and year. This is used in the COG file names. """ - time_start: float = time.perf_counter() + time_start = time.perf_counter() os.makedirs(cog_dir, exist_ok=True) @@ -90,7 +90,7 @@ def netcdf_to_cog(netcdf_path: str, cog_dir: str) -> None: os.remove("temp.tif") - time_end: float = time.perf_counter() + time_end = time.perf_counter() print(f"COG creation time: {time_end - time_start:.2f} seconds") -- GitLab