Thread: DATA SORTING/CUTTING

Started: 2022-06-30 06:55:52
Last activity: 2022-06-30 23:29:52
Topics: SAC Help
Muhammad Zafar Iqbal
2022-06-30 06:55:52
Hi everyone
I have waveform data in sac. In general continuous data is available as daily continuous waveform. I have many file with different starts and end times. I want to retrieve hourly data(exactly hourly as UTC). at present the data ma starts from 01:22:32 to 03:17:10. So, I need to extract a complete hour 02:00:00 to 02:59:59 (which may be available in this case). As, my all data have different starting points. I need a quick help.


Regards
M. Zafar Iqbal
  • Milton Plasencia
    2022-06-30 09:29:10
    Hi,

    Evaluate to use the SAC command "cut".
    You can read the help with:
    sac> help cut

    HTH,

    Milton




    Milton P. Plasencia Linares
    mpplasencia@ <mplasencia<at>inogs.it>gmail.com



    On Thu, Jun 30, 2022 at 9:00 AM Muhammad Zafar Iqbal (via IRIS) <
    sac-help-bounce<at>lists.ds.iris.edu> wrote:

    Hi everyone
    I have waveform data in sac. In general continuous data is available as
    daily continuous waveform. I have many file with different starts and end
    times. I want to retrieve hourly data(exactly hourly as UTC). at present
    the data ma starts from 01:22:32 to 03:17:10. So, I need to extract a
    complete hour 02:00:00 to 02:59:59 (which may be available in this case).
    As, my all data have different starting points. I need a quick help.


    Regards
    M. Zafar Iqbal

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


    • Muhammad Zafar Iqbal
      2022-06-30 23:29:01
      Respected Milton
      I am using the cut command. My problem is that I have different time periods lengths of waveforms. Waveforms are in thousands. Also I want to divide the data in complete hours in UTC. When I used the cut command for a complete datasets like 03:00 ~ 04:00, The result is ok. but if the data starts from different period then the result is in hours like 03:13 ~ 04:13 (just as example). I wish to cut the data exactly like 03:00 ~ 04:00. I hope you understand my question.
      Regards
  • George Helffrich
    2022-06-30 10:45:51
    Dear M. Zafar Iqbal -

    A combination of READ, MERGE and CUTIM should work for this application. Use READ and MERGE to get some or all of the data in the time period of interest as a single trace in memory, and then use CUTIM to cut it into hour-long intervals at the start/end times of your choosing.

    On 30 Jun 2022, at 07:55, Muhammad Zafar Iqbal (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:

    Hi everyone
    I have waveform data in sac. In general continuous data is available as daily continuous waveform. I have many file with different starts and end times. I want to retrieve hourly data(exactly hourly as UTC). at present the data ma starts from 01:22:32 to 03:17:10. So, I need to extract a complete hour 02:00:00 to 02:59:59 (which may be available in this case). As, my all data have different starting points. I need a quick help.


    Regards
    M. Zafar Iqbal

    ----------------------
    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


    • Muhammad Zafar Iqbal
      2022-06-30 23:29:52
      Respected George
      I am using the cut command. My problem is that I have different time periods lengths of waveforms. Waveforms are in thousands. Also I want to divide the data in complete hours in UTC. When I used the cut command for a complete datasets like 03:00 ~ 04:00, The result is ok. but if the data starts from different period then the result is in hours like 03:13 ~ 04:13 (just as example). I wish to cut the data exactly like 03:00 ~ 04:00. I hope you understand my question.
      Regards
19:33:31 v.22510d55