Skip to content

read_mds_eq_func.m

Basic Information

  SYNTAX:  [equil,neq,eq,ier] = read_mds_eq_func(shotnum,tree,server)

  PURPOSE:  Generic read of geqdsk and aeqdsk data, returning data in
    approximately the same form as read_gfile_func.m.
    (data needed from aeqdsk not well-defined yet)

  INPUT: <default>
    shotnum = shot number
    tree = mdsplus tree containing efit data
    server = mdsplus server name
       verbose= 1; print out progressive info. during MDS READ, 0=no print <[]>

  OUTPUT:
    equil = structure containing:
        gdef = text description of variables
        shotnum = shot number of equilibria
        time = array of times of equilibria
        gdata = array of structures containing geqdsk data
            (same data produced by read_equil_func)
        adata = array of structureus containing aeqdsk data
    neq = number of equilibria found
    eq  = equilibrium structure returned by get_mds_tree
    ier = error code

  RESTRICTIONS: The bzero and ecase entries of equil.gdata are empty.

Dependencies