Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Hi I have an array inside an structure that I obtain using READ_ASCII how can I just extract this data into an Floating array? thank you
On 24.11.2014 19:40, lucesmm@gmail.com wrote: > Hi > I have an array inside an structure that I obtain using READ_ASCII > how can I just extract this data into an Floating array? > > thank you > Hi, IDL> st = {field:FLTARR(3)} IDL> help, st ** Structure <628cb278>, 1 tags, length=12, data length=12, refs=1: FIELD FLOAT Array[3] IDL> help, st.field <Expression> FLOAT = Array[3] IDL> array = st.field IDL> print, array 0.00000 0.00000 0.00000 cheers, Fabien