changeset 149:8fa520759989 draft

Uploaded
author luca_milaz
date Mon, 22 Jul 2024 09:56:09 +0000
parents f51fe57a9eb3
children ab765fe37c3b
files marea_2/ras_to_bounds.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/ras_to_bounds.py	Mon Jul 22 09:53:54 2024 +0000
+++ b/marea_2/ras_to_bounds.py	Mon Jul 22 09:56:09 2024 +0000
@@ -153,8 +153,6 @@
     if not os.path.exists('ras_to_bounds'):
         os.makedirs('ras_to_bounds')
 
-    if not os.path.exists('ras_to_bounds_medium'):
-        os.makedirs('ras_to_bounds_medium')
 
     global ARGS
     ARGS = process_args(sys.argv)
@@ -186,9 +184,9 @@
         medium = medium[ARGS.medium_selector].to_dict()
 
     if(ARGS.ras_selector == True):
-        generate_bounds(model, medium, ras = ras)
+        generate_bounds(model, medium, ras = ras, output_folder=ARGS.output_folder)
     else:
-        generate_bounds(model, medium)
+        generate_bounds(model, medium, output_folder=ARGS.output_folder)
 
     pass