From 28354eaa4824c7c930abfac2a222f9ff00593745 Mon Sep 17 00:00:00 2001
From: Alex Rojas <a.rojas8907@gmail.com>
Date: Fri, 1 Dec 2023 06:29:45 +0000
Subject: [PATCH] added line to delete GEDI raw data at end of main.py file.

---
 main.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.py b/main.py
index e96daee..f2360f2 100644
--- a/main.py
+++ b/main.py
@@ -203,8 +203,8 @@ if __name__ == '__main__':
         # Close h5py files and delete so they are note saved!
         l1b_ds.close()
         l2a_ds.close()
-        # os.remove(l1b_fp)
-        # os.remove(l2a_fp)
+        os.remove(l1b_fp)
+        os.remove(l2a_fp)
     except Exception as e:
         print("Couldnt save file: ", l1b_basename)
         print("outdir: ", outdir)
-- 
GitLab