archive-edu.com » EDU » W » WASHINGTON.EDU

Total: 718

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • News Test1 - The simplest project - IRIS SeisCode
    Search scope All Projects The simplest project The simplest project Overview Roadmap Issues Calendar News Documents Wiki Forums Files Repository News Test1 This is a test Added by Rich Karstens about 2 years ago only a test Test 1 Comments

    Original URL path: https://seiscode.iris.washington.edu/news/10 (2015-06-03)
    Open archived version from archive


  • Activity - Chad Trabant - IRIS SeisCode
    07 18 PM ascii2mseed ascii2mseed 1 3 tar gz Chad Trabant 05 15 2015 04 33 PM Web Service Fetch scripts FetchData 2015 135 released Fix SAC PZ and RESP output directory designation and creation when Federation is being performed Data center specif Chad Trabant 04 32 PM Web Service Fetch scripts FetchData 2015 135 Chad Trabant 05 14 2015 03 29 PM libmseed libmseed 2 16m released Download https seiscode iris washington edu projects libmseed files No functional changes since 2 16 some defi Chad Trabant 03 24 PM libmseed libmseed 2 16m zip Chad Trabant 03 24 PM libmseed libmseed 2 16m tar gz Chad Trabant 03 23 PM libmseed Revision 11 Push tag release 2 16m Chad Trabant 02 56 PM FDSN StationXML SEED Converter Bug 694 output from stationxml converter failing verseed From Yazan Also Channel comments are b059s that reference b031 with field 5 of 1 70 UNLPS I think the comm Chad Trabant 02 56 PM FDSN StationXML SEED Converter Bug 694 output from stationxml converter failing verseed Thank you Ellen for the ticket From Yazan I converted to seed and back to xml the result is OK therefore Chad Trabant 05 11 2015

    Original URL path: https://seiscode.iris.washington.edu/activity?from=2015-05-29&user_id=5 (2015-06-03)
    Open archived version from archive

  • Bug #704: Correctly restart network listening threads when they die - ringserver - IRIS SeisCode
    accept and other errors within the Listen threads SeedLink and DataLink the listening thread can die When this occurs the socket is left open and bound When a thread restart is attempted the bind fails because it is already bound to fix a InitServerSocket should close the socket if any error is returned This allows the assumption that if the socket is initialized open it is also bound and ready

    Original URL path: https://seiscode.iris.washington.edu/issues/704 (2015-06-03)
    Open archived version from archive

  • Version 4 - History - Wiki - Wiki - ascii2mseed - IRIS SeisCode
    no spaces quality code optional samples Number of samples following header sps Sampling rate in samples per second Time Time of first sample in ISO YYYY MM DDTHH MM SS FFFFFF format Format SLIST sample list or TSPAIR time sample pair Type Sample type INTEGER or FLOAT Units Units of time series will not be present in Mini SEED Example data file using SLIST sample list format TIMESERIES XX TEST BHZ 12 samples 40 sps 2003 05 29T02 13 22 043400 SLIST INTEGER Counts 2787 2776 2774 2780 2783 2782 2776 2766 2759 2760 2765 2767 Example data file using TSPAIR time sample pair format TIMESERIES XX TEST BHZ 12 samples 40 sps 2003 05 29T02 13 22 043400 TSPAIR INTEGER Counts 2003 05 29T02 13 22 043400 2787 2003 05 29T02 13 22 068400 2776 2003 05 29T02 13 22 093400 2774 2003 05 29T02 13 22 118400 2780 2003 05 29T02 13 22 143400 2783 2003 05 29T02 13 22 168400 2782 2003 05 29T02 13 22 193400 2776 2003 05 29T02 13 22 218400 2766 2003 05 29T02 13 22 243400 2759 2003 05 29T02 13 22 268400 2760 2003 05 29T02 13 22 293400 2765 2003

    Original URL path: https://seiscode.iris.washington.edu/projects/ascii2mseed/wiki/Wiki/4 (2015-06-03)
    Open archived version from archive


  • 0 90 0 die Minimum latitude out of range latrange 0 n if defined latrange 1 latrange 1 90 0 die Maximum latitude out of range latrange 1 n if scalar lonrange lonrange split lonrange 0 if defined lonrange 0 lonrange 0 180 0 die Minimum longitude out of range lonrange 0 n if defined lonrange 1 lonrange 1 180 0 die Maximum longitude out of range lonrange 1 n if scalar degrange degrange split degrange 0 if scalar degrange 4 die Unrecognized radius specification degrange n if defined degrange 0 degrange 0 90 0 die Radius latitude out of range degrange 0 n if defined degrange 1 degrange 1 180 0 die Radius longitude out of range degrange 1 n An array to hold data selections my selections Add command line selection to list if defined net defined sta defined loc defined chan defined starttime defined endtime push selections net sta loc chan starttime endtime Read selection list file if selectfile print STDERR Reading data selection from list file selectfile n ReadSelectFile selectfile Read BREQ FAST file if bfastfile print STDERR Reading data selection from BREQ FAST file bfastfile n ReadBFastFile bfastfile Report complete data selections if verbose 2 print STDERR Data selections n foreach my select selections print STDERR select n print STDERR Latitude range latrange 0 latrange 1 n if scalar latrange print STDERR Longitude range lonrange 0 lonrange 1 n if scalar lonrange print STDERR Radius range degrange 0 degrange 1 degrange 2 degrange 3 n if scalar degrange A mega hash for data center details requests and some results datacenter DATACENTER website URL datacenter DATACENTER timeseriesws URL datacenter DATACENTER metadataws URL datacenter DATACENTER sacpzws URL datacenter DATACENTER respws URL datacenter DATACENTER selection ref to ARRAY of selections datacenter DATACENTER request ref to HASH of requests datacenter DATACENTER metarequest ref to HASH of metadata requests time extents datacenter DATACENTER metadata ref to ARRAY of metadata my datacenter A buffer for metadata service responses my metadataresponse Track bytes downloaded in callback handlers my datasize 0 Fetch metadata from the station web service by default unless the nometadata option is specified or if metadata output file has been requested or if geographic range selection is requested nometadata undef if metafile sacpzdir respdir scalar latrange scalar lonrange scalar degrange Resolve federated requests if federate FederateRequest fedcatservice selections if verbose 1 printf STDERR Federation catalog results from d data center s n scalar keys datacenter foreach my dckey sort keys datacenter printf STDERR Data center dckey d selections n scalar datacenter dckey selection print STDERR MetadataWS datacenter dckey metadataws n if datacenter dckey metadataws print STDERR TimeSeriesWS datacenter dckey timeseriesws n if datacenter dckey timeseriesws print STDERR SACPZWS datacenter dckey sacpzws n if datacenter dckey sacpzws print STDERR RESPWS datacenter dckey respws n if datacenter dckey respws Otherwise set up default empty data center else Add default environmental entries to datacenter hash datacenter timeseriesws timeseriesservice datacenter metadataws metadataservice datacenter sacpzws sacpzservice datacenter respws respservice User selections used directly datacenter selection selections Process each data center foreach my dckey sort keys datacenter if dckey printf STDERR Fetching data from dckey s n datacenter dckey website Fetch metadata unless requested not to if defined nometadata if exists datacenter dckey metadataws print STDERR Cannot fetch metadata no fdsnws station service available for data center dckey n else FetchMetaData dckey Build request hash directly from selections if not fetching metadata and not already populated elsif exists datacenter dckey request foreach my selection datacenter dckey selection my snet ssta sloc schan sstart send split selection Subsitute non specified fields with wildcards snet if snet ssta if ssta sloc if sloc schan if schan datacenter dckey request snet ssta sloc schan sstart send sstart send Report complete data request if verbose 2 print STDERR Request list n foreach my req sort keys datacenter dckey request print STDERR req metadata datacenter dckey request req n Fetch time series data if output file specified if outfile if exists datacenter dckey timeseriesws print STDERR Cannot fetch time series no fdsnws dataselect service available for data center dckey n else Determine output file mode overwrite or append and add data center prefix if needed my outfilemode defined outfileapp my outfilename outfile outfilename dckey outfile if defined outfileapp dckey FetchTimeSeriesData dckey outfilename outfilemode if outfile Collect SAC P Zs if output directory specified if sacpzdir if exists datacenter dckey sacpzws print STDERR Cannot fetch SAC PZs no SACPZ service available for data center dckey n else my dcsacpzdir dckey sacpzdir dckey sacpzdir if d dcsacpzdir mkdir dcsacpzdir 0755 die Cannot create directory dcsacpzdir n FetchSACPZ dckey dcsacpzdir Collect RESP if output directory specified if respdir if exists datacenter dckey respws print STDERR Cannot fetch RESP no RESP service available for data center dckey n else my dcrespdir dckey respdir dckey respdir if d dcrespdir mkdir dcrespdir 0755 die Cannot create directory dcrespdir n FetchRESP dckey dcrespdir Write metadata to file if metafile exists datacenter dckey metadata if scalar datacenter dckey metadata my metafilename metafile metafilename dckey metafile if defined metafileapp dckey open META mode metafilename die Cannot open metadata file metafilename n printf STDERR Writing metadata d channel epochs to file s n scalar datacenter dckey metadata metafilename if verbose 0 Print data center identifier printf META dckey s n datacenter dckey website if dckey Print header line print META net sta loc chan lat lon elev depth azimuth dip instrument scale scalefreq scaleunits samplerate start end n foreach my channel sort datacenter dckey metadata my net sta loc chan start end lat lon elev depth azimuth dip instrument samplerate sens sensfreq sensunit split channel sensfreq sprintf 0g sensfreq samplerate sprintf 0g samplerate print META net sta loc chan lat lon elev depth azimuth dip instrument sens sensfreq sensunit samplerate start end n close META Done looping through data centers my sec min hour mday mon year wday yday isdst localtime time printf STDERR DONE at 4d 02d 02d 02d 02d 02d n year 1900 mon 1 mday hour min sec if verbose 0 exit exitvalue End of main ReadSelectFile Read selection list file and add entries to the selections array Selection lines are expected to be in the following form Net Sta Loc Chan Start End The Net Sta Loc and Channel fields are required and can be specified as wildcards sub ReadSelectFile my selectfile shift open SF chomp line next if line Skip comment lines my net sta loc chan start end split line next if defined chan Normalize time strings if start my year month mday hour min sec subsec split s T start start sprintf 04d 02d 02dT 02d 02d 02d year month mday hour min sec start subsec if subsec if end my year month mday hour min sec subsec split s T end end sprintf 04d 02d 02dT 02d 02d 02d year month mday hour min sec end subsec if subsec Add selection to global list push selections net sta loc chan start end close SF End of ReadSelectFile ReadBFastFile Read BREQ FAST file and add entries to the selections array sub ReadBFastFile my bfastfile shift open BF chomp line linecount next if line Skip empty lines Capture QUALTIY header if line QUALITY qual line QUALITY DRQMBE next next if line Skip other header lines my sta net syear smon sday shour smin ssec eyear emon eday ehour emin esec count chans split line Simple validation of BREQ FAST fields if sta A Za z0 9 1 5 print Unrecognized station code sta skipping line linecount n if verbose 1 next if net A Za z0 9 print Unrecognized network code net skipping line linecount n if verbose 1 next if syear d d d d print Unrecognized start year syear skipping line linecount n if verbose 1 next if smon d 1 2 print Unrecognized start month smon skipping line linecount n if verbose 1 next if sday d 1 2 print Unrecognized start day sday skipping line linecount n if verbose 1 next if shour d 1 2 print Unrecognized start hour shour skipping line linecount n if verbose 1 next if smin d 1 2 print Unrecognized start min smin skipping line linecount n if verbose 1 next if ssec d 1 2 d 0 6 print Unrecognized start seconds ssec skipping line linecount n if verbose 1 next if eyear d d d d print Unrecognized end year eyear skipping line linecount n if verbose 1 next if emon d 1 2 print Unrecognized end month emon skipping line linecount n if verbose 1 next if eday d 1 2 print Unrecognized end day eday skipping line linecount n if verbose 1 next if ehour d 1 2 print Unrecognized end hour ehour skipping line linecount n if verbose 1 next if emin d 1 2 print Unrecognized end min emin skipping line linecount n if verbose 1 next if esec d 1 2 d 0 6 print Unrecognized end seconds esec skipping line linecount n if verbose 1 next if count d count 1 next if scalar chans 1 next Extract location ID if present i e if channel count is one less than present my loc undef loc pop chans if scalar chans count 1 if loc loc A Za z0 9 1 2 print Unrecognized location ID loc skipping line linecount n if verbose 1 next foreach my chan chans if chan A Za z0 9 1 3 print Unrecognized channel codes chan skipping line linecount n if verbose 1 next BFLINE if scalar chans count printf Channel count field count does not match number of channels specified d skipping line linecount n scalar chans if verbose 1 next Normalize time strings my ssec ssub split ssec my start sprintf 04d 02d 02dT 02d 02d 02d syear smon sday shour smin ssec start ssub if ssub my esec esub split esec my end sprintf 04d 02d 02dT 02d 02d 02d eyear emon eday ehour emin esec end esub if esub Add selection to global list for each channel foreach my chan chans push selections net sta loc chan start end close BF End of ReadBFastFile FederateRequest Submit selections to federation catalog service and parse response into per data center requests This will populate the following datacenter components datacenter DATACENTER website datacenter DATACENTER stationws datacenter DATACENTER dataselectws datacenter DATACENTER sacpzws datacenter DATACENTER respws datacenter DATACENTER selection Return count of unique data centers identified in response on success and undef on error sub FederateRequest my fedcatws shift my selectionref shift my datacentercount 0 Create HTTP user agent my ua RequestAgent new ua env proxy Create web service URI my uri fedcatws query Create POST data selection my postdata if scalar latrange postdata minlatitude latrange 0 n if defined latrange 0 postdata maxlatitude latrange 1 n if defined latrange 1 if scalar lonrange postdata minlongitude lonrange 0 n if defined lonrange 0 postdata maxlongitude lonrange 1 n if defined lonrange 1 if scalar degrange postdata latitude degrange 0 n if defined degrange 0 postdata longitude degrange 1 n if defined degrange 1 postdata maxradius degrange 2 n if defined degrange 2 postdata minradius degrange 3 n if defined degrange 3 Translate selections to POST body repeat lines and build selection hash for matching foreach my selection selectionref my snet ssta sloc schan sstart send split selection Subsitute non specified fields with wildcards snet if snet ssta if ssta sloc if sloc schan if schan my pstart sstart sstart my pend send send postdata snet ssta sloc schan pstart pend n my ftime Time HiRes time print STDERR Federator catalog URI uri n if verbose 2 print STDERR Federator catalog POST n postdata if verbose 1 print STDERR Fetching federator catalog results if verbose 1 datasize 0 metadataresponse Fetch metadata from web service using callback routine my response inflater ua post uri Accept Encoding gzip Content postdata content cb MDCallBack ua post uri Content postdata content cb MDCallBack inflater inflateReset if inflater if response code 204 print STDERR No federator catalog results available n if verbose 1 return elsif response is success print STDERR Error fetching federator catalog result response code status message response code n print STDERR n response decoded content n n print STDERR URI uri n if verbose 2 exitvalue 1 else printf STDERR s n nobsprint sizestring datasize if verbose 1 printf STDERR Federator response code d n response code if verbose 1 if verbose 2 print STDERR Federator response n print STDERR n metadataresponse n n my duration Time HiRes time ftime my rate datasize duration duration 0 000001 printf STDERR Received s from federator catalog in 1f seconds s s n sizestring datasize duration sizestring rate if verbose 0 Parse response from catalog service Selections net sta loc chan starttime endtime my dckey undef foreach my line split n r metadataresponse chomp line next if line Skip comment lines beginning with Reset data center parsing on empty line if line dckey undef next my key website line DATACENTER my stationws line STATIONSERVICE my dataselectws line DATASELECTSERVICE my sacpzws line SACPZSERVICE my respws line RESPSERVICE if key dckey key datacenter dckey website website datacentercount elsif stationws if dckey stationws s Trim trailing slash datacenter dckey metadataws stationws else print STDERR Federation catalog service returned STATIONSERVICE without DATACENTER declared n return undef elsif dataselectws if dckey dataselectws s Trim trailing slash datacenter dckey timeseriesws dataselectws else print STDERR Federation catalog service returned DATASELECTSERVICE without DATACENTER declared n return undef elsif sacpzws if dckey sacpzws s Trim trailing slash datacenter dckey sacpzws sacpzws else print STDERR Federation catalog service returned SACPZSERVICE without DATACENTER declared n return undef elsif respws if dckey respws s Trim trailing slash datacenter dckey respws respws else print STDERR Federation catalog service returned RESPSERVICE without DATACENTER declared n return undef Ignore any other service declarations elsif line SERVICE print STDERR Unused service declaration line n if verbose 2 Ignore key value parameters elsif line w w print STDERR Unused key value line n if verbose 2 All other lines should be selection lines else my net sta loc chan start end split s line if defined end print STDERR Federation catalog service returned unrecognized selection line n line n return undef Add to data center selection list if dckey push datacenter dckey selection net sta loc chan start end else print STDERR Federation catalog service returned selecion line without DATACENTER declared n return undef Done parsing federator catalog response return datacentercount End of FederateRequest FetchTimeSeriesData Collect time series data for each entry in the request hash All returned data is written to the global output file outfile The request list is separatated into groups where the group size is defined in terms of station days If the request for a group fails it will be retried after too many failures sub FetchTimeSeriesData my dckey shift my outfilename shift my outfilemode shift Open output file with specified name and mode open OUT outfilemode outfilename die Cannot open output file outfilename n my count 0 Determine request data groups to avoid single large requests this is done for two reasons 1 To facilitate re starting of requests after broken connections wihout needing re submit the entire request 2 Avoid service timeouts my grouprequest my groupdays 0 my groupidx 0 my groupsta undef foreach my req sort keys datacenter dckey request my wnet wsta wloc wchan wstart wend split req count Determine day coverage for this request my rstartepoch str2time wstart UTC my rendepoch str2time wend UTC my reqdays int rendepoch rstartepoch 86400 0 0 5 reqdays 1 if reqdays groupstadays groupdays 0 groupidx Add request to current group push grouprequest groupidx wnet wsta wloc wchan wstart wend if count print STDERR No data selections to request n return print STDERR Fetching time series data count selections n if verbose 1 my ftime Time HiRes time my totalbytes 0 Request each data group my groupnum 1 my groupcnt scalar grouprequest my fetchcnt 1 my outoffset 0 foreach my groupref grouprequest REDOGROUP Create web service URI my query auth queryauth query my uri datacenter dckey timeseriesws query Create POST data selection specify options followed by selections my postdata postdata quality qual n if defined qual postdata minimumlength mslopt n if defined mslopt postdata longestonly true n if defined lsoopt foreach my req groupref postdata req n print STDERR Time series URI uri n if verbose 1 print STDERR Data selection POST n postdata if verbose 1 print STDERR Downloading time series data group groupnum of groupcnt if verbose 1 datasize 0 Create HTTP user agent my ua RequestAgent new ua env proxy Fetch time series data from web service using callback routine my response ua post uri Content postdata content cb DLCallBack NoGZIP if response code 204 print STDERR No data available n if verbose 1 elsif response code 401 print STDERR AUTHORIZATION FAILED username and password not recognized n last elsif response is success print STDERR Error fetching time series data response code status message response code n if response code 429 print STDERR Usage has exceeded data center limit try making fewer concurrent requests n else print STDERR n response decoded content n n print STDERR URI uri n if verbose 1 Exit immediately if we are not retrying exit 1 if noretry For real output files rewind position to the end of the last group data seek OUT outoffset 0 if outfile ne Retry in 10 seconds or give up if already tried 60 times if response code 400 fetchcnt 1 Get ready for next group fetchcnt 1 groupnum outoffset tell OUT totalbytes datasize close OUT my duration Time HiRes time ftime my rate totalbytes duration duration 0 000001 printf STDERR Received s of time series data in 1f seconds s s written to s n sizestring totalbytes duration sizestring rate outfilename if verbose 0 Remove empty file unlink outfile if z outfile End of FetchTimeSeriesData FetchSACPZ Fetch SAC Poles and Zeros for each entry in the metarequest hash with a defined value The result for

    Original URL path: https://seiscode.iris.washington.edu/attachments/download/719/FetchData-2015.135 (2015-06-03)
    Open archived version from archive

  • Activity - Manochehr Bahavar - IRIS SeisCode
    75 Manochehr Bahavar 02 50 PM Noise Toolkit Microseism Energy ME bundle Wiki edit Wiki 74 Manochehr Bahavar 02 50 PM Noise Toolkit Microseism Energy ME bundle Wiki edit Wiki 73 Manochehr Bahavar 02 49 PM Noise Toolkit Microseism Energy ME bundle Wiki edit Wiki 72 Manochehr Bahavar 02 16 PM Noise Toolkit Microseism Energy ME bundle Revision 2 noise toolkit me bundle R 6 0 0 Manochehr Bahavar 01 45 PM Noise Toolkit Microseism Energy ME bundle IRIS NTK ME scripts 0 6 0 tar gz Manochehr Bahavar 04 30 2015 03 41 PM Noise Toolkit PDF PSD bundle IRIS NTK PSD scripts 0 8 1 released This bundle contains changes to common par in support of the Noise Toolkit ME bundle and does not affect the PDF PSD Manochehr Bahavar 03 38 PM Noise Toolkit PDF PSD bundle IRIS NTK PSD scripts 0 8 1 tar gz Noise Toolkit PDF PSD scripts bundle Manochehr Bahavar 03 35 PM Noise Toolkit PDF PSD bundle Revision 4 noise toolkit pdf psd bundle R 0 8 1 2015 04 30 added powerDirectory and imageDirec Manochehr Bahavar 02 22 PM Noise Toolkit PDF PSD bundle Revision 3 noise toolkit pdf psd bundle added powerDirectory and imageDirectory in support of Manochehr Bahavar 07 11 AM Noise Toolkit PDF PSD bundle Wiki edit Wiki 28 Manochehr Bahavar 07 09 AM Noise Toolkit PDF PSD bundle Wiki edit Wiki 27 Manochehr Bahavar 07 06 AM Noise Toolkit PDF PSD bundle Wiki edit Wiki 26 Manochehr Bahavar 07 05 AM Noise Toolkit PDF PSD bundle Wiki edit Wiki 25 Manochehr Bahavar 04 29 2015 02 51 PM Noise Toolkit PDF PSD bundle Wiki edit Wiki 24 Manochehr Bahavar 02 35 PM Noise Toolkit PDF PSD bundle Wiki edit Wiki 23 Manochehr Bahavar 02 33 PM Noise

    Original URL path: https://seiscode.iris.washington.edu/activity?from=2015-05-20&user_id=38 (2015-06-03)
    Open archived version from archive

  • Bug #696: endtime is not exclusive! - Mustang PDF - IRIS SeisCode
    Target version Resolution Description Based on the noise psd Web Service Documentation page the endtime parameter is exclusive however by running the following request http service iris edu mustang noise psd 1 query target IU WVT 00 BH2 M starttime 2014 01 01T00 00 00 endtime 2014 02 01T00 00 00 format xml one also gets PSD for the first hour of the endtime Psd target IU WVT 00 BH2

    Original URL path: https://seiscode.iris.washington.edu/issues/696 (2015-06-03)
    Open archived version from archive

  • Revision 3 - added models: 'Andes.ANT.Ward.2013' and 'APVC.ANT+RF.Ward.2014' to common.py... - IRIS EMC 3D Visualizer - IRIS SeisCode
    EMC 3D Visualizer Overview Issues News Wiki Files Repository Previous Next Revision 3 Added by Manochehr Bahavar 22 days ago added models Andes ANT Ward 2013 and APVC ANT RF Ward 2014 to common py created the SouthAmerica py parameter file and added x section helper comments to the parameter files Files added modified copied renamed deleted View differences trunk param NorthAmerica py diff SouthAmerica py Taiwan py diff USA

    Original URL path: https://seiscode.iris.washington.edu/projects/iris-emc-3d-visualizer/repository/revisions/3 (2015-06-03)
    Open archived version from archive



  •