Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Retrieving Specific Data From a .txt file - PVWAVE
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Erini Lambrides  
View profile  
 More options Apr 25 2012, 2:09 pm
Newsgroups: comp.lang.idl-pvwave
From: Erini Lambrides <elamb...@u.rochester.edu>
Date: Wed, 25 Apr 2012 11:09:51 -0700 (PDT)
Local: Wed, Apr 25 2012 2:09 pm
Subject: Retrieving Specific Data From a .txt file - PVWAVE
Hello Folks,

   I haven't used pv-wave for very long, so bear with me if the answer
to my questions seem obvious. In a procedure I am writing, I want to
be able to extra certain data from a .txt file and store that data
into specific variables that I have already in my procedure. The data
within the .txt files are produced through pv-wave so it will always
be the same formatting - so Step1: find the file ( I know how to do
this)
                     Step2: user inputs a number (in my case this is
called the shot number)
                     Step3: check if that number is there
                     Step4:retrieve the data (i would only need the
lines below that shot and above the next shot)
                     Step5:split up the data into specific variables
(I can manage that)
The format of the .txt file looks something like this
shot 12345
h12 54 69 72
h13 47 85 92
.
.
.
shot 12346

Any ideas at all? Sorry if this is all sounds convoluted.

Thanks for any help!
-erini


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.