Skip to content

Output Variables from EBTEL2 (IDL version) #6

@chhabrasherry

Description

@chhabrasherry

This may be a known problem, but I noticed that the listed outputs from EBTEL2.pro need to be written in order. If one tries to only get selected outputs (by name), the routine returns wrong outputs.

For example:
The initial calling sequence is written as (original ebtel2.pro):

ebtel2, ttime, heat, length, t, n, p, v, ta, na, pa, c11, dem_tr, dem_cor, $
logtdem, f_ratio, rad_ratio, cond, rad_cor,$
classical=classical, dynamic=dynamic, dem_old=dem_old, $
flux_nt=flux_nt, energy_nt=energy_nt, rtv=rtv, $
a_c=a_c, a_0=a_0, a_tr=a_tr, l_fact=l_fact

  • Note the order of output variables*

Now, If I need dem_tr, dem_cor and logtdem as outputs, and I use the following command (shown as an example in the routine):
ebtel2, ttime, heat, t, n, p, v, dem_tr, dem_cor, logtdem

It will return ta, na, pa for dem_tr, dem_cor, and logtdem. i.e. one cannot skip specific output variables.

This is not clarified anywhere in the document, so it causes a lot of confusion. Also, I was wondering if there is a way to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions