comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Read data in more than one column
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Read data in more than one column [message #91697 is a reply to message #91696] Thu, 13 August 2015 09:08 Go to previous messageGo to previous message
joyrles1996 is currently offline  joyrles1996
Messages: 27
Registered: August 2015
Junior Member
Em quinta-feira, 13 de agosto de 2015 12:50:35 UTC-3, Paul van Delst escreveu:
> On 08/13/15 11:24, Joyrles Fernandes wrote:
>> I have datas in a file with 26 columns. In first columns there are
>> day
>> of year, in second there are dates and in the remaining columns there
>> are values of temperature. I don't get read these datas starting third
>> columns. Can you help me, please?
>
> Not enough information to really help.
>
> How about you:
> 1) Show a line or two of your input data file.
> 2) the code you are currently using to read the data.
>
> ?

file='C:\Users\Joyrles\dados.txt'

dados=read_ascii(file, data_start=1)

dados=dados.(0)
date=dados[0,*]
day=[1,*]
temp=[?,*]

I do not know how to put to read the rest of the columns missing and all lines for me to withdraw temperatures.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Rant about axis range defaults using overplot in object graphics
Next Topic: Re: Read data in more than one column

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 02:25:17 PDT 2025

Total time taken to generate the page: 1.36112 seconds