From 71db03199564aa59fa633995910be735caf9cb94 Mon Sep 17 00:00:00 2001
From: dave <dave@dtu.dk>
Date: Thu, 4 Aug 2016 08:55:04 +0200
Subject: [PATCH] prepost.Simulations: prepost-data dir in zip-chunks

---
 wetb/prepost/Simulations.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/wetb/prepost/Simulations.py b/wetb/prepost/Simulations.py
index a9a984b6..bcb9cb69 100755
--- a/wetb/prepost/Simulations.py
+++ b/wetb/prepost/Simulations.py
@@ -1039,6 +1039,10 @@ def create_chunks_htc_pbs(cases, sort_by_values=['[Windspeed]'], ppn=20,
             if dirname != 0:
                 zf.write('.', os.path.join(dirname, '.'))
 
+        # and the post-processing data
+        # FIXME: do not use hard coded paths!
+        zf.write('.', 'prepost-data/')
+
         # HTC files
         df_src = df['[run_dir]'] + df['[htc_dir]'] + df['[case_id]']
         df_dst = df['[htc_dir]'] + df['[case_id]']
-- 
GitLab