Hello to all,
I'm new to the mailing list, I'm a researcher from Pisa.
Now my question in basically simple, but I don't think the answer will be
the same.
As I pointed out in the mail-object, I was wondering how I could get the
FINAL date
of the time series I've read in SAC 101.6a??
To make it clearer, if I use the "ppk" function and click over the last
sample of the plot
it appears on screen the relative date: how can I export that date from
SAC?
In the header I could get only the START DATE ( NZYEAR NZJDATE NZHOUR ecc..)
Anyone have tried before? Suggestions?
Thanks in advance!
Have a great weekend!
mat
I'm new to the mailing list, I'm a researcher from Pisa.
Now my question in basically simple, but I don't think the answer will be
the same.
As I pointed out in the mail-object, I was wondering how I could get the
FINAL date
of the time series I've read in SAC 101.6a??
To make it clearer, if I use the "ppk" function and click over the last
sample of the plot
it appears on screen the relative date: how can I export that date from
SAC?
In the header I could get only the START DATE ( NZYEAR NZJDATE NZHOUR ecc..)
Anyone have tried before? Suggestions?
Thanks in advance!
Have a great weekend!
mat
-
Hi Mateo,
In Sac header you can NTPS: number of points.
and DELTA: interval between samples.
so, multiply NTPS*DELTA and obtain the
seismogram duration in seconds
then add it to KZTIME.
try:
sac> funcgen seismogram
sac> lh
here NTPS=1000, DELTA=1e-2, so 10 seconds of record.
HTH,
Milton P. Plasencia Linares
mpplasencia<at>gmail.com
On Jan 16, 2015, at 16:48, Matteo Bagagli <matteo.bagagli<at>gmail.com> wrote:
Hello to all,
I'm new to the mailing list, I'm a researcher from Pisa.
Now my question in basically simple, but I don't think the answer will be the same.
As I pointed out in the mail-object, I was wondering how I could get the FINAL date
of the time series I've read in SAC 101.6a??
To make it clearer, if I use the "ppk" function and click over the last sample of the plot
it appears on screen the relative date: how can I export that date from SAC?
In the header I could get only the START DATE ( NZYEAR NZJDATE NZHOUR ecc..)
Anyone have tried before? Suggestions?
Thanks in advance!
Have a great weekend!
mat
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
-
Thanks a lot Milton!
I'll even use the bash function "date" to have the right extreme of the
date.
Because i need to have the values for the time axis to plot with GMT.
Thanks again, have a nice week!
Matteo
2015-01-16 17:51 GMT+01:00 Milton Plasencia <mpplasencia<at>gmail.com>:
Hi Mateo,
In Sac header you can NTPS: number of points.
and DELTA: interval between samples.
so, multiply NTPS*DELTA and obtain the
seismogram duration in seconds
then add it to KZTIME.
try:
sac> funcgen seismogram
sac> lh
here NTPS=1000, DELTA=1e-2, so 10 seconds of record.
HTH,
Milton P. Plasencia Linares
mpplasencia<at>gmail.com
On Jan 16, 2015, at 16:48, Matteo Bagagli <matteo.bagagli<at>gmail.com>
wrote:
Hello to all,
I'm new to the mailing list, I'm a researcher from Pisa.
Now my question in basically simple, but I don't think the answer will be
the same.
As I pointed out in the mail-object, I was wondering how I could get the
FINAL date
of the time series I've read in SAC 101.6a??
To make it clearer, if I use the "ppk" function and click over the last
sample of the plot
it appears on screen the relative date: how can I export that date from
SAC?
In the header I could get only the START DATE ( NZYEAR NZJDATE NZHOUR
ecc..)
Anyone have tried before? Suggestions?
Thanks in advance!
Have a great weekend!
mat
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
-