From 01992218325c8c6cd12de896455973ac533701cd Mon Sep 17 00:00:00 2001 From: Olivier Sauter <olivier.sauter@epfl.ch> Date: Mon, 12 Aug 2024 14:13:52 +0200 Subject: [PATCH] add comment for updating empty ids for TCV usage on lacs --- matlab/TCV_IMAS/idses_empty_to_mfile.m | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/matlab/TCV_IMAS/idses_empty_to_mfile.m b/matlab/TCV_IMAS/idses_empty_to_mfile.m index 2a83d912..6c23f1b8 100644 --- a/matlab/TCV_IMAS/idses_empty_to_mfile.m +++ b/matlab/TCV_IMAS/idses_empty_to_mfile.m @@ -9,6 +9,16 @@ function [empty_dir_out,ids_empty_structures,okflags] = idses_empty_to_mfile(dir % % varargin{1}: option for outputs: 1 (default) to mfiles, 2 to mfiles and json files, 3 to json files % +% The procedure for updating the empty idses available for TCV/lacs is to do: +% [empty_dir_out,ids_empty_structures,okflags] = idses_empty_to_mfile; +% !cp -pr /tmp/$USER/idses_empty_to_mfile/* /.../gdat/matlab/TCV_IMAS/ids_empty +% !ls -alt /.../gdat/matlab/TCV_IMAS/ids_empty +% and rm the old files (not replaced by the cp above, since it means non existent in current version +% add branch to gdat and merge, then deploy +% +% wall = ids_empty_wall; % for example gives the IDS wall structure +% help ids_empty_wall % gives you the IMAS version it used to produce it +% if nargin < 1 || isempty(dirname_for_files) || ~exist(dirname_for_files,'dir') dirname_for_files = sprintf('/tmp/%s/idses_empty_to_mfile',getenv('USER')); -- GitLab