Thread: Error with transfer

Started: 2019-09-16 22:40:23
Last activity: 2019-09-17 23:03:53
Topics: SAC Help
rashni@nmsu.edu
2019-09-16 22:40:23
Hello All,
I used following command to remove instrument response

sac << END
r ${fname}
rmean
rtrend
taper w 0.01
transfer from polezero s $response to none freq 0.008 0.016 1.0 2.0
write ${fname}_noresp
q
END

And i got the following error ,


polezero-comment: Error parsing datetime: ' CREATED : 2019-09-05T18:41:21.767459Z'
polezero-comment: Error parsing datetime: ' START : 2010-08-03T17:00:00.000000Z'
polezero-comment: Error parsing datetime: ' END : 3000-01-01T00:00:00.000000Z'
Using polezero response for WSS, BHN, CI, ...
Station (WSS ), Channel (BHN )
station is WTT2
SEISMIC ANALYSIS CODE [11/11/2013 (Version 101.6a)]
Copyright 1995 Regents of the University of California


Does anyone know why this is happening ? It doesn't give an error for all the stations in my file. only for few stations I get this error .


Rashni

  • George Helffrich
    2019-09-17 20:12:01
    Dear Rashni -

    SAC is telling you that it doesn’t recognize the time/date format and is being helpful telling you specifically which entry is invalid. Based on my knowledge of SAC’s time formats, they shouldn’t end with Z — so, your response file seems to have an incorrect format. (I also doubt that SAC can do anything sensible with microsecond-level time resolution but that’s not necessarily a format error.)

    SAC is lazy about reading a pole-zero response file: it only reads as much as it needs to find something relevant for a particular station/component/network/locid combination. If the improperly formatted lines appear later than the correct one for a station, it won’t complain. That explains the intermittency of the complaints about a bad format.

    On 17 Sep 2019, at 17:16, rashni<at>nmsu.edu wrote:

    Hello All,
    I used following command to remove instrument response

    sac << END
    r ${fname}
    rmean
    rtrend
    taper w 0.01
    transfer from polezero s $response to none freq 0.008 0.016 1.0 2.0
    write ${fname}_noresp
    q
    END

    And i got the following error ,


    polezero-comment: Error parsing datetime: ' CREATED : 2019-09-05T18:41:21.767459Z'
    polezero-comment: Error parsing datetime: ' START : 2010-08-03T17:00:00.000000Z'
    polezero-comment: Error parsing datetime: ' END : 3000-01-01T00:00:00.000000Z'
    Using polezero response for WSS, BHN, CI, ...
    Station (WSS ), Channel (BHN )
    station is WTT2
    SEISMIC ANALYSIS CODE [11/11/2013 (Version 101.6a)]
    Copyright 1995 Regents of the University of California


    Does anyone know why this is happening ? It doesn't give an error for all the stations in my file. only for few stations I get this error .


    Rashni

    ----------------------
    SAC Help
    Topic home: http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu

    Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
    Update subscription preferences at http://ds.iris.edu/account/profile/



    George Helffrich
    george<at>elsi.jp


    • rashni@nmsu.edu
      2019-09-17 23:03:53
      Hello George,
      Thank you . I understand why it is happening now,

      Regards,
      Rashni
22:14:22 v.01697673