Ignore:
Timestamp:
03/28/2011 10:49:42 AM (12 years ago)
Author:
marcus
Message:

r189 | klaus | 2011-03-25 18:54:37 +0100 (Fr, 25 Mär 2011) | 1 line

find blockette 1000 within multipleblockettes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/source/seed_io/seedquickdump.c

    r341 r352  
    33 *      =============== 
    44 * 
    5  * $Revision: 180 $, $Date: 2011-03-09 16:27:03 +0100 (Mi, 09 MÀr 2011) $ 
     5 * $Revision: 189 $, $Date: 2011-03-25 18:54:37 +0100 (Fr, 25 MÀr 2011) $ 
    66 * 
    77 * Dumps out Headerinfo of SEED files. 
     
    8383        int      jitter_count=0;            /* counts very small 'gaps' (<dt/2) */ 
    8484        BOOLEAN  write_newline;             /* write a new line after record */ 
     85    int      compression;               /* compression ID of record data */ 
    8586 
    8687        /* executable code */ 
     
    238239                        gaplth = tc_tdiff( sfd_t_start, lasttime, &status ); 
    239240 
     241        compression = SeedGetCompression( (SeedDataHeaderT *)seedrec ); 
    240242                b1000found = FALSE; 
    241243                time_quality = -1; 
     
    305307                        } else if  (strcmp(showinfo,"b1000") == 0)  { 
    306308                                printf( "%d ", b1000found ); 
     309                        } else if  (strcmp(showinfo,"compression") == 0)  { 
     310                printf( "%d ", compression ); 
    307311                        } else { 
    308312                                write_newline = FALSE; 
Note: See TracChangeset for help on using the changeset viewer.