From cd155772ee34f0a02a75e21bd3e342445b255082 Mon Sep 17 00:00:00 2001 From: Zubair Khan Date: Wed, 13 May 2026 13:05:54 -0400 Subject: [PATCH 1/3] Rename 'Washington Sec.tif' to 'Washington SEC.tif' --- sec.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sec.py b/sec.py index 9dfb9f4..e85af73 100644 --- a/sec.py +++ b/sec.py @@ -15,6 +15,8 @@ common.download_list(all_charts) all_files = common.get_files("SEC") +mv 'Washington Sec.tif' 'Washington SEC.tif' + # make tiles vrts = common.make_vrt_list(all_files, True, "SEC") common.make_main_vrt(vrts, "SEC") From c3ce8465cee45c1a6bd7ac66e2ee158855a60e00 Mon Sep 17 00:00:00 2001 From: Zubair Khan Date: Wed, 13 May 2026 13:13:58 -0400 Subject: [PATCH 2/3] Use os.rename to rename SEC file --- sec.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sec.py b/sec.py index e85af73..4d38685 100644 --- a/sec.py +++ b/sec.py @@ -1,5 +1,6 @@ import common import glob +import os import cycle @@ -15,7 +16,7 @@ common.download_list(all_charts) all_files = common.get_files("SEC") -mv 'Washington Sec.tif' 'Washington SEC.tif' +os.rename('Washington Sec.tif', 'Washington SEC.tif') # make tiles vrts = common.make_vrt_list(all_files, True, "SEC") From 661d74017ead4d7b04990885a3736a2b1c89c328 Mon Sep 17 00:00:00 2001 From: Zubair Khan Date: Wed, 13 May 2026 13:14:29 -0400 Subject: [PATCH 3/3] Fix duplicate file rename in sec.py Remove duplicate renaming of 'Washington Sec.tif'. --- sec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sec.py b/sec.py index 4d38685..5f6564c 100644 --- a/sec.py +++ b/sec.py @@ -14,9 +14,9 @@ for nn in all_charts_2: all_charts.append(nn) common.download_list(all_charts) +os.rename('Washington Sec.tif', 'Washington SEC.tif') all_files = common.get_files("SEC") -os.rename('Washington Sec.tif', 'Washington SEC.tif') # make tiles vrts = common.make_vrt_list(all_files, True, "SEC")