<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div>Hi John,</div><div><br></div><div>What happened is that you selected "station level" information using the -sta flag. &nbsp;If you didn't use that, it would default to channel level and you would see that WS is returning one line for each channel and omitting the channel name, so it looks like lots of duplicates. &nbsp;If you want only the earliest and latest station epochs, you will have to read them all to figure this out.</div><div><br></div><div>Also just as an FYI since you are interested in the epochs, sometimes a very tiny gap in station epochs can exist (like one sample point e.g. 0.05sec) or metadata gets changed and what happens is that you will see 2 epochs where the end of the first epoch will equal the start of the second.</div><div><br></div><div>epoch 1: &nbsp;2002-03-17T00:00:00,2005-04-05T06:07:08</div><div>epoch 2:&nbsp;2005-04-05T06:07:08,2599-12-31T23:59:59</div><div><br></div><div>Alex</div><div><br></div><div><br></div><div>channel level:</div><div><br></div><div>scoop synthetics/METADATA&gt; FetchMetadata -ua 2011-06-06 -N ND -vvv -s 2010-01-01 -e 2500-12-12</div><div>FetchMetadata (2011.172) at 2011-11-13 18:37:39</div><div>== Data selections ==</div><div>&nbsp; &nbsp; ND||||2010-01-01T00:00:00|2500-12-12T00:00:00</div><div>Metadata URI: 'http://www.iris.edu/ws/station/query?level=chan&amp;network=ND&amp;timewindow=2010-01-01,2500-12-12&amp;updatedafter=2011-06-06'</div><div>Fetching metadata :: Received 108.1 KB &nbsp;</div><div>Received 108.1 KB of metadata in 0.1 seconds (1.2 MB/s)</div><div>Parsing XML metadata... Done (0.1 seconds)</div><div>Processed metadata for 84 channel epochs in 0.2 seconds (488.3 KB/s)</div><div>Writing metadata (84 channel epochs) file</div><div>#net,sta,loc,chan,lat,lon,elev,depth,azimuth,SACdip,instrument,scale,scalefreq,scaleunits,samplerate,start,end</div><div>ND,KOUNC,--,BHE,-20.5507,164.2861,88.0,0.0,90.0,90,Trillium 120P; 120 s; 1201 V/m/s-Kephren; gain 1;,1.28257E11,0.05,M/S,20,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,--,BHN,-20.5507,164.2861,88.0,0.0,0.0,90,Trillium 120P; 120 s; 1201 V/m/s-Kephren; gain 1;,1.28257E11,0.05,M/S,20,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,--,BHZ,-20.5507,164.2861,88.0,0.0,0.0,0,Trillium 120P; 120 s; 1201 V/m/s-Kephren; gain 1;,1.28257E11,0.05,M/S,20,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,--,BNE,-20.5507,164.2861,88.0,0.0,90.0,90,Episensor; DC to &gt;200 Hz; &nbsp;20V differential full s,2.18979E8,0.05,M/S**2,20,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,--,BNN,-20.5507,164.2861,88.0,0.0,0.0,90,Episensor; DC to &gt;200 Hz; &nbsp;20V differential full s,2.18979E8,0.05,M/S**2,20,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,--,BNZ,-20.5507,164.2861,88.0,0.0,0.0,0,Episensor; DC to &gt;200 Hz; &nbsp;20V differential full s,2.18979E8,0.05,M/S**2,20,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,--,HHE,-20.5507,164.2861,88.0,0.0,90.0,90,Trillium 120P; 120 s; 1201 V/m/s-Kephren; gain 1;,1.28257E11,0.05,M/S,100,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,--,HHN,-20.5507,164.2861,88.0,0.0,0.0,90,Trillium 120P; 120 s; 1201 V/m/s-Kephren; gain 1;,1.28257E11,0.05,M/S,100,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,--,HHZ,-20.5507,164.2861,88.0,0.0,0.0,0,Trillium 120P; 120 s; 1201 V/m/s-Kephren; gain 1;,1.28257E11,0.05,M/S,100,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,--,HNE,-20.5507,164.2861,88.0,0.0,90.0,90,Episensor; DC to &gt;200 Hz; &nbsp;20V differential full s,2.18979E8,0.05,M/S**2,100,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,--,HNN,-20.5507,164.2861,88.0,0.0,0.0,90,Episensor; DC to &gt;200 Hz; &nbsp;20V differential full s,2.18979E8,0.05,M/S**2,100,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,--,HNZ,-20.5507,164.2861,88.0,0.0,0.0,0,Episensor; DC to &gt;200 Hz; &nbsp;20V differential full s,2.18979E8,0.05,M/S**2,100,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,LIFNC,--,BHE,-20.7771,167.2402,33.0,0.0,90.0,90,Trillium 120P; 120 s; 1201 V/m/s-Kephren; gain 1;,1.28257E11,0.05,M/S,20,2010-08-28T00:00:00,2599-12-31T23:59:59</div><div>ND,LIFNC,--,BHN,-20.7771,167.2402,33.0,0.0,0.0,90,Trillium 120P; 120 s; 1201 V/m/s-Kephren; gain 1;,1.28257E11,0.05,M/S,20,2010-08-28T00:00:00,2599-12-31T23:59:59</div><div>ND,LIFNC,--,BHZ,-20.7771,167.2402,33.0,0.0,0.0,0,Trillium 120P; 120 s; 1201 V/m/s-Kephren; gain 1;,1.28257E11,0.05,M/S,20,2010-08-28T00:00:00,2599-12-31T23:59:59</div><div>ND,LIFNC,--,BNE,-20.7771,167.2402,33.0,0.0,90.0,90,Episensor; DC to &gt;200 Hz; &nbsp;20V differential full s,2.18979E8,0.05,M/S**2,20,2010-08-28T00:00:00,2599-12-31T23:59:59</div></div></div><div><br></div><div>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div><div>station level &nbsp;(-sta flag):</div><div><br></div><div><div>scoop synthetics/METADATA&gt; FetchMetadata -ua 2011-06-06 -N ND -vvv -s 2010-01-01 -e 2500-12-12 -sta</div><div>FetchMetadata (2011.172) at 2011-11-13 18:36:27</div><div>== Data selections ==</div><div>&nbsp; &nbsp; ND||||2010-01-01T00:00:00|2500-12-12T00:00:00</div><div>Metadata URI: 'http://www.iris.edu/ws/station/query?level=sta&amp;network=ND&amp;timewindow=2010-01-01,2500-12-12&amp;updatedafter=2011-06-06'</div><div>Fetching metadata :: Received 38.3 KB &nbsp;&nbsp;</div><div>Received 38.3 KB of metadata in 0.1 seconds (492.5 KB/s)</div><div>Parsing XML metadata... Done (0.0 seconds)</div><div>Processed metadata for 84 station epochs in 0.1 seconds (323.3 KB/s)</div><div>Writing metadata (84 station epochs) file</div><div>#net,sta,lat,lon,elev,site,start,end</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,KOUNC,-20.5507,164.2861,88.0,Koumac; New Caledonia,2011-03-17T00:00:00,2599-12-31T23:59:59</div><div>ND,LIFNC,-20.7771,167.2402,33.0,Lifou; Loyalty Islands; New Caledonia,2010-08-28T00:00:00,2599-12-31T23:59:59</div><div>ND,LIFNC,-20.7771,167.2402,33.0,Lifou; Loyalty Islands; New Caledonia,2010-08-28T00:00:00,2599-12-31T23:59:59</div><div>ND,LIFNC,-20.7771,167.2402,33.0,Lifou; Loyalty Islands; New Caledonia,2010-08-28T00:00:00,2599-12-31T23:59:59</div><div>ND,LIFNC,-20.7771,167.2402,33.0,Lifou; Loyalty Islands; New Caledonia,2010-08-28T00:00:00,2599-12-31T23:59:59</div></div><div><br></div><div><br></div><br><div><div>On Nov 13, 2011, at 4:05 PM, John D. West wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font class="Apple-style-span" face="arial, helvetica, sans-serif">Hi.</font><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">The query&nbsp;<a href="http://www.iris.edu/ws/station/query?updatedafter=2011-06-06&amp;level=sta&amp;net=ND&amp;timewindow=2010-01-01,2500-12-12">http://www.iris.edu/ws/station/query?updatedafter=2011-06-06&amp;level=sta&amp;net=ND&amp;timewindow=2010-01-01,2500-12-12</a></font></div>

<div><font class="Apple-style-span" face="arial, helvetica, sans-serif">returns multiple duplicates of the&nbsp;<span class="Apple-style-span" style="font-size: 13px; ">&lt;StationEpoch&gt; sections for each station.&nbsp;</span></font></div>

<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 13px; "><br></span></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 13px; ">Makes my sync to a local copy procedure very slow...</span></font></div>

<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 13px; "><br></span></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 13px; ">Thanks!</span></font></div>

<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 13px; "><br></span></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">&nbsp; &nbsp;&nbsp; -- John</font><br>


</div>
_______________________________________________<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></blockquote></div><br></body></html>