read_mds_g_func.m
SYNTAX: [gfile,neq,eq] = read_mds_g_func(shotnum,tree,server)
PURPOSE: Read geqdsk generic function, returning data in approximately the
same form as read_gfile_func.m.
INPUT:
shotnum = shot number
tree = mdsplus tree containing efit data
server = mdsplus server name
OUTPUT:
gfile = structure containing:
gdef = text description of variables
shotnum = shot number of equilibria
time = array of times of equilibria
data = array of structures containing data
(same data produced by read_gfile_func)
neq = number of equilibria found
eq = equilibrium structure returned by eq_mds
RESTRICTIONS: The bzero and ecase entries of gfile.data are empty.
Dependencies