<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Mary,<div><br></div><div>In the examples you have given, in the case of CI_PASC you are specifying a channel and location code. With IC_ENH you are not specifying either, you wouldn't you expect more than one record (or in Matlab language, structure of 1x2 arrays)? Maybe try specifying a channel and/or loc code and see what you get back.</div><div><br></div><div>Best regards,</div><div>- Rob N</div><div><br></div><div><br></div><div><div><div>On Feb 7, 2013, at 3:01 PM, Mary Templeton wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hello,<br><br><span class="Apple-tab-span" style="white-space:pre">        </span>I'm running a matlab amplitude check on GSN stations for the recent Santa <br>Cruz Islands event. I've done this for past event of M>=7 with no problem.<br><br><span class="Apple-tab-span" style="white-space:pre">        </span>Today my routine is failing because the structure returned by irisFetch.Traces <br>for IC.ENH.00.BHZ (for example) is a structure of 1x2 arrays having duplicate <br>values rather than a structure of single values. I'm not getting this behavior with <br>CI.PASC.00.BHZ. <br><br>Here's what I'm used to:<br><br><blockquote type="cite"><blockquote type="cite">net='CI'<br></blockquote></blockquote>net =CI<br><blockquote type="cite"><blockquote type="cite">sta='PASC'<br></blockquote></blockquote>sta =PASC<br><blockquote type="cite"><blockquote type="cite">loc='00'<br></blockquote></blockquote>loc =00<br><blockquote type="cite"><blockquote type="cite">chan='BHZ'<br></blockquote></blockquote>chan =BHZ<br><blockquote type="cite"><blockquote type="cite">starttime<br></blockquote></blockquote>starttime =2013-02-06 01:12:35<br><blockquote type="cite"><blockquote type="cite">endtime<br></blockquote></blockquote>endtime =2013-02-06 03:12:35<br><br><blockquote type="cite"><blockquote type="cite">primary = irisFetch.Traces(net,sta,loc,chan,starttime,endtime)<br></blockquote></blockquote>primary = <br> network: 'CI'<br> station: 'PASC'<br> location: '00'<br> channel: 'BHZ'<br> quality: 'M'<br> latitude: 34.1714<br> longitude: -118.1852<br> elevation: 341<br> depth: 0<br> azimuth: 0<br> dip: -90<br> sensitivity: 5.9199e+09<br> sensitivityFrequency: 0.0300<br> instrument: 'STS-1'<br> sensitivityUnits: 'M/S'<br> data: [288000x1 single]<br> sampleCount: 288000<br> sampleRate: 40<br> startTime: 7.3527e+05<br> endTime: 7.3527e+05<br> sacpz: [1x1 struct]<br><br><br>Here's how IC.ENH differs:<br><br><blockquote type="cite"><blockquote type="cite">net='IC'<br></blockquote></blockquote>net =IC<br><blockquote type="cite"><blockquote type="cite">sta='ENH'<br></blockquote></blockquote>sta =ENH<br><br><blockquote type="cite"><blockquote type="cite">secondary = irisFetch.Traces(net,sta,loc,chan,starttime,endtime)<br></blockquote></blockquote>secondary = <br>1x2 struct array with fields:<br> network<br> station<br> location<br> channel<br> quality<br> latitude<br> longitude<br> elevation<br> depth<br> azimuth<br> dip<br> sensitivity<br> sensitivityFrequency<br> instrument<br> sensitivityUnits<br> data<br> sampleCount<br> sampleRate<br> startTime<br> endTime<br> sacpz<br><br><blockquote type="cite"><blockquote type="cite">secondary.sampleRate<br></blockquote></blockquote>ans = 20<br>ans = 20<br><blockquote type="cite"><blockquote type="cite">secondary.network<br></blockquote></blockquote>ans =IC<br>ans =IC<br><br>etc.<br><br>The only field where the values aren't duplicated is sampleCount:<br><blockquote type="cite"><blockquote type="cite">secondary.sampleCount<br></blockquote></blockquote>ans = 75712<br>ans = 60270<br><br>Is this what you would expect? If so, can you explain when/why it occurs? I'm wondering <br>if this is an error or something I need to catch and handle.<br><br>Thanks a bunch,<br>Mary Templeton<br><br><br><br>_______________________________________________<br>webservices mailing list<br><a href="mailto:webservices@iris.washington.edu">webservices@iris.washington.edu</a><br>http://www.iris.washington.edu/mailman/listinfo/webservices<br></div></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Spranq eco sans'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Spranq eco sans'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Spranq eco sans'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">_____________________________________________<br><br>Rob Newman</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Technology Architect, IRIS DMC</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">[e] <a href="mailto:rnewman@iris.washington.edu">rnewman@iris.washington.edu</a><br><br><br></div></span></div></span></span>
</div>
<br></div></body></html>