Thread: KINST header

Started: 2013-09-23 17:44:08
Last activity: 2013-09-23 20:28:20
Topics: SAC Help
Milton Plasencia
2013-09-23 17:44:08

Hi,

I was working with the sac header for a bunch of files,
when i want writing the KINST variable, i see that it is
only 8 characters long, so my instrument description
is cut, i want write digitizer+sensor numbers (0681_T3305),
so, is possible change the KINST from 8 to 16 characters?
or, generate other variable (KSENS) to put the sensor number?
or what other header variable is fine to use?

Thanks a lot,

* * * * * * * * * * * * * * * * * * * * * * *
Milton P. PLASENCIA LINARES

Centro di Ricerche Sismologiche (CRS)
OGS - Istituto Nazionale di Oceanografia
e di Geofisica Sperimentale

Borgo Grotta Gigante 42/C
(34010) Sgonico - Trieste - Italia
Tel: +39 040 2140 141 (Udine)
Tel: +39 040 2140 256 (Trieste)
Cel.: +39 331 6481 935
Fax: +39-040-327307

E-mail: mplasencia<at>inogs.it

ASAIN (Antarctic Seismographic Argentinean Italian Network)
*********************************











  • George Helffrich
    2013-09-23 20:28:20
    Dear All -

    KUSER0, KUSER1, KUSER2, KDATARD and KINST are all good places to keep this information.

    Lengthening a header variable in the binary SAC header -- thereby redefining it -- has knock-on effects for user programs that handle SAC headers. One future remedy is to make the SAC save files in XML format which effectively removes length restrictions on character variable values. (SAC/BRIS's dataset format does this.) But for the interim, use one or more of the header variables suggested above.

    On 23 Sep 2013, at 09:44, Milton Plasencia wrote:


    Hi,

    I was working with the sac header for a bunch of files,
    when i want writing the KINST variable, i see that it is
    only 8 characters long, so my instrument description
    is cut, i want write digitizer+sensor numbers (0681_T3305),
    so, is possible change the KINST from 8 to 16 characters?
    or, generate other variable (KSENS) to put the sensor number?
    or what other header variable is fine to use?

    Thanks a lot,

    * * * * * * * * * * * * * * * * * * * * * * *
    Milton P. PLASENCIA LINARES

    Centro di Ricerche Sismologiche (CRS)
    OGS - Istituto Nazionale di Oceanografia
    e di Geofisica Sperimentale

    Borgo Grotta Gigante 42/C
    (34010) Sgonico - Trieste - Italia
    Tel: +39 040 2140 141 (Udine)
    Tel: +39 040 2140 256 (Trieste)
    Cel.: +39 331 6481 935
    Fax: +39-040-327307

    E-mail: mplasencia<at>inogs.it

    ASAIN (Antarctic Seismographic Argentinean Italian Network)
    *********************************










    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help



    George Helffrich
    george.helffrich<at>bris.ac.uk


Page built 07:31:32 | v.b'108166