comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: extract an array from an structure
items: Re: extract an array from an structure

extract an array from an structure
type: item
description: 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
creator: lucesmm
date: 2014-11-24T18:40:40-00:00

Re: extract an array from an structure
type: item
description: 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
creator: Fabzi
date: 2014-11-25T11:07:53-00:00