diff --git a/swe_maps_stac/conversion.py b/swe_maps_stac/conversion.py
index e637f0abc82adc1a3df3e425cfb1105211056a3f..acb2c0ba4d8cf353cc43d87168b131dfb3b356e4 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")