Changeset 7981


Ignore:
Timestamp:
03/28/19 20:48:00 (3 months ago)
Author:
stefan
Message:

struct for cosmos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cosmos0putaway.h

    r7900 r7981  
    1010#define COSMOSLINELEN             83 /* Cosmos lines are 80 characters long, but we leave extra characters for the line ending \r\n\0 */ 
    1111/* see pa_subs.h for more prototypes you might expect to be here*/ 
     12static const char GAPSTRING[] = "gap";  
    1213int FindTabularBase(int, long *, TRACE_REQ *, double, int); 
    1314long Median(int , long *); 
    1415int longCompareForQsort(const void *, const void *); 
    1516 
     17#define TAG_FILE        '.tag'        /* file containing the last known file tag */ 
     18#define GAP_FILL        "NaN" 
     19#define MAXTXT           150 
     20 
     21#include "read_arc.h" 
     22 
     23/* COSMOS info 
     24*************************/ 
     25/* Some text path variables we'd like to pass along to the COSMOS0PA_next without passing too many parameters */ 
     26typedef struct 
     27{ 
     28        /* the request portion */ 
     29        char    COSMOS0File[4 * MAXTXT];        /* save files here */ 
     30        char    COSMOS0LibFile[4 * MAXTXT];     /* v0 library location */ 
     31        char    EventArcFile[4 * MAXTXT];       /* name of the single arcfile we'll work with */ 
     32        HypoArc                 arcmsg;             /* Hypocenter info goes here */ 
     33} 
     34COSMOS; 
     35 
     36FILE    *COSMOS0fp;                      /* file pointer for the COSMOS0 output file */ 
     37FILE    *COSMOS0Libfp;                   /* file pointer for the COSMOS0 library file */ 
     38FILE    *EVENTARCfp;                     /* file pointer to the seismic event file */ 
     39 
    1640#endif /* COSMOS0PUTAWAY_h */ 
Note: See TracChangeset for help on using the changeset viewer.