diff --git a/matlab/TCV_IMAS/idses_empty_to_mfile.m b/matlab/TCV_IMAS/idses_empty_to_mfile.m index 2a83d912cf44959cc084600c1951093f16591129..6c23f1b82579820ab875c822207470c936ed5e67 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'));