[SAC-HELP] Re: sac-help Digest, Vol 17, Issue 6

Peggy peggy at iris.washington.edu
Tue Dec 5 11:43:37 PST 2006


Hello, Fellow-SAC'ers,

I haven't gotten a response to my question (included below), so thought 
I would
try again.  I'll rephrase the original question and add to it.

I am plotting XY data in a text (ascii) file using readtable (readtable content Y).
The x-value is time (julian day).  Readtable seems to have no means for interpolating 
missing values (using a sample rate, which would have to be supplied somewhere) 
and plotting a zero for any values that don't exist in the data file (as in the 
case for gaps).  Does anyone know a clever way to  do this, short of preprocessing 
the file and filling in the values myself?

I am aware that the merge command will do what I want with SAC binary files, so maybe
this is a route to go....

Thanks,
Peg





*******************************************************************
Peg Johnson, USArray Data Control Analyst
IRIS DMC	1408 NE 45th Street, Suite 201	 Seattle, WA  98105
Tel. 206.547.0393 	Fax. 206.547.1093
*******************************************************************



sac-help-request at iris.washington.edu wrote:

>Send sac-help mailing list submissions to
>	sac-help at iris.washington.edu
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://www.iris.washington.edu/mailman/listinfo/sac-help
>or, via email, send a message with subject or body 'help' to
>	sac-help-request at iris.washington.edu
>
>You can reach the person managing the list at
>	sac-help-owner at iris.washington.edu
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of sac-help digest..."
>
>
>Today's Topics:
>
>   1.  skipping null y-values in a time plot of ascii data (Peggy)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 10 Nov 2006 13:12:46 -0800
>From: Peggy <peggy at iris.washington.edu>
>Subject: [SAC-HELP] skipping null y-values in a time plot of ascii
>	data
>To: sac-help at iris.washington.edu
>Message-ID: <4554EB4E.90001 at iris.washington.edu>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>I am plotting XY data in a text (ascii) file usinig readtable (readtable content Y).
>
>The x-value is time (julian day).  I want to plot nothing if there is no value (ie, a blank line) for a particular day, but it seems readtable will just skip this and scoot all the values down, so that a gap of 20 days does not show up in the plot.
>
>I've tried setting a dummy value of -99 (e.g.) instead of having a blank value.  Is there any way to get SAC to skip a specified dummy value and plot nothing for it?  I want to see the gap in time, even if there is no value during that time period.
>
>Thanks,
>
>Peg
>
>*******************************************************************
>Peg Johnson, USArray Data Control Analyst
>IRIS DMC	1408 NE 45th Street, Suite 201	 Seattle, WA  98105
>Tel. 206.547.0393 	Fax. 206.547.1093
>*******************************************************************
>
>
>
>------------------------------
>
>_______________________________________________
>sac-help mailing list
>sac-help at iris.washington.edu
>http://www.iris.washington.edu/mailman/listinfo/sac-help
>
>
>End of sac-help Digest, Vol 17, Issue 6
>***************************************
>  
>



More information about the sac-help mailing list