equil_to_gdata.m
USAGE: [gdata,ireadok] = equil_to_gdata(equil, tms);
USAGE: [gdata,ireadok] = equil_to_gdata(mds_string); calls read_mds_func
PURPOSE: Convert equil data generated by read_mds_eq_func to read_gfile_func
INPUTS: <default>
equil= equilibrium data: equil=read_mds_eq_func(shot,tree,server);
mds_string= optionally if equil is a string containing MDS+ tree information:
format: <Server><.><tree>.shot.time
Examples:
'D3D.EFIT09.g131498.02600'
'D3D.EFITRT1.131498.02600'
'.g131498.02600' => 'D3D.EFIT01.g131498.02600'
tms= time [ms] to use from equil data
OUTPUTS:
gdata = data structure containing EFIT G-file variables
ireadok = flag to report good read of gfile (0=bad, 1=good)
RESTRICTIONS:
MDS EFIT Tree must exist for call with mds_string string convention
NOTE TESTED WITH ANY MDS+ except D3D
Dependencies