From 6f025213e18a1f21aecf3d89c2882fb7bf2cf51b Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Sun, 6 Oct 2024 15:07:21 +0200
Subject: [PATCH] add comment if shot too old for gas_fluxes

---
 matlab/TCV/gdat_tcv.m | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m
index 80f4889b..43a7b34b 100644
--- a/matlab/TCV/gdat_tcv.m
+++ b/matlab/TCV/gdat_tcv.m
@@ -1384,6 +1384,10 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
            end
            gdat_data.data = gdat_data_data;
            gdat_data.data_refs = gdat_data_data_refs;
+         else
+           if (gdat_params.nverbose>=1)
+             disp('available only for shot > 82186, but can try gdat(shot,''\atlas::top.system.gas.valve_001:flow'',1)')
+           end
          end
        catch
        end
-- 
GitLab