Skip to content
Snippets Groups Projects
Commit 01992218 authored by Olivier Sauter's avatar Olivier Sauter
Browse files

add comment for updating empty ids for TCV usage on lacs

parent 7e2deae1
No related branches found
No related tags found
1 merge request!160add function to recreate empty ids files automatically (to replace files in...
Pipeline #203939 passed
...@@ -9,6 +9,16 @@ function [empty_dir_out,ids_empty_structures,okflags] = idses_empty_to_mfile(dir ...@@ -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 % 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') if nargin < 1 || isempty(dirname_for_files) || ~exist(dirname_for_files,'dir')
dirname_for_files = sprintf('/tmp/%s/idses_empty_to_mfile',getenv('USER')); dirname_for_files = sprintf('/tmp/%s/idses_empty_to_mfile',getenv('USER'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment