From 2fdb4c7e1e9d7113ad31c3892bbbbab7d1caae0f Mon Sep 17 00:00:00 2001 From: madsmpedersen <m@madsp.dk> Date: Wed, 11 May 2016 12:40:52 +0200 Subject: [PATCH] include "mann" in default turb names --- wetb/hawc2/htc_contents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wetb/hawc2/htc_contents.py b/wetb/hawc2/htc_contents.py index 54c338b4..7bbe2c45 100644 --- a/wetb/hawc2/htc_contents.py +++ b/wetb/hawc2/htc_contents.py @@ -351,7 +351,7 @@ class HTCDefaults(object): else: mann.add_line('create_turb_parameters', [L, ae23, Gamma, seed, int(high_frq_compensation)], "L, alfaeps, gamma, seed, highfrq compensation") if filenames is None: - fmt = "l%.1f_ae%.2f_g%.1f_h%d_%dx%dx%d_%.3fx%.2fx%.2f_s%04d%c.turb" + fmt = "mann_l%.1f_ae%.2f_g%.1f_h%d_%dx%dx%d_%.3fx%.2fx%.2f_s%04d%c.turb" import numpy as np dxyz = tuple(np.array(box_dimension) / no_grid_points) filenames = ["./turb/" + fmt % ((L, ae23, Gamma, high_frq_compensation) + no_grid_points + dxyz + (seed, uvw)) for uvw in ['u', 'v', 'w']] -- GitLab