Thread: EVRESP ERROR:

Started: 2017-08-18 22:11:41
Last activity: 2017-08-19 00:42:56
Topics: SAC Help
Rehman .
2017-08-18 22:11:41
Hello,
I am getting following error . How to fix it.
EVRESP ERROR: julian day must be an integer, found '0.01'

  • Geo .
    2017-08-19 00:42:56
    Hi,
    It doesn't look like the date of your data (and/or the response file) is
    set correctly. Look for weird KZDATE and KZTIME headers in the sac files.
    The Julian day should be between 1 and 365 and not 0.01.

    Januka

    Januka Attanayake
    Postdoctoral Research Associate

    Institute for Geophysics
    WWU Münster | CorrensstraBe 24 | 48149 Münster | Germany
    Tel +49 251 833 4727

    University email: jattanayake<at>uni-muenster.de
    Homepage: http://sites.google.com/site/janukaattanayake/

    On 18 August 2017 at 17:00, Rehman . <rehman.techgeophy<at>gmail.com> wrote:

    Hello,
    I am getting following error . How to fix it.
    EVRESP ERROR: julian day must be an integer, found '0.01'


    ----------------------
    SAC Help | 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/



    • Leigh House
      2017-08-18 17:22:16
      Dear Rehman,

      As Januka has written, it appears that the date in your file header is not set correctly. I’ll add a bit to what Januka has said.

      It is good if you do some more work to understand your data and what the header variables are set to.

      First, list the date-related header variables:

      type ‘lh KZDATE’ (without the quote marks - ‘’ - and either UPPER case or lower case kzdate works; I’ll use UPPER case to make it stand out)

      That should show something like (this is from one of my sac files, yours will probably show a different date and maybe year):
      kzdate = JUL 25 (206), 2017

      If KZDATE isn’t something meaningful, then the date in the file header is wrong.

      SAC derives the variable KZDATE from two variables in the file header. Next, check those variables:

      type ‘lh NZYEAR NZJDAY’ (again without the quote marks)

      You should see something like this:
      nzyear = 2017
      nzjday = 206

      I think you will see something is wrong with nzjday and maybe nzyear.

      You will need to get those date variables set correctly before you can have SAC work with your data files.

      You must do this last step, since you have access to your data files.

      Leigh


      On Aug 18, 2017, at 9:43 AM, Geo . <jattanayake<at>gmail.com> wrote:

      Hi,
      It doesn't look like the date of your data (and/or the response file) is set correctly. Look for weird KZDATE and KZTIME headers in the sac files. The Julian day should be between 1 and 365 and not 0.01.

      Januka

      Januka Attanayake
      Postdoctoral Research Associate

      Institute for Geophysics
      WWU Münster | CorrensstraBe 24 | 48149 Münster | Germany
      Tel +49 251 833 4727

      University email: jattanayake<at>uni-muenster.de
      Homepage: http://sites.google.com/site/janukaattanayake/

      On 18 August 2017 at 17:00, Rehman . <rehman.techgeophy<at>gmail.com> wrote:
      Hello,
      I am getting following error . How to fix it.
      EVRESP ERROR: julian day must be an integer, found '0.01'


      ----------------------
      SAC Help | 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/



      ----------------------
      SAC Help | 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/


18:31:02 v.22510d55