[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to read / import specific data from a txt file

From: Danielo
Subject: How to read / import specific data from a txt file
Date: Sat, 10 Aug 2019 08:01:59 -0500 (CDT)

I have around 2000 txt files following the same structure containing
summarized information from different weather stations. I would like to
create a matrix extracting some specific fields from them, one column with
the name of the file, another with the coordinates and another with the
values at the lower part of the file (they are yearly mean values of
different stuff).

Here is attached a screenshot of one of them. I’ve imported to excel and
found out that they can be imported as tab delimited files but that’s just
nice to know information. The txt files are the monthly mean data from the
yearly-by-minute data on the CVS files that they are on screen.

I took a Matlab /Octave class but we never really cover working with
external files other than matrix files. I would appreciate some help with
the subject. Thanks


Sent from:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]