105 lines
1.9 KiB
C
105 lines
1.9 KiB
C
/*
|
|
** Well logging data types
|
|
*/
|
|
|
|
#ifndef _wldtype_h
|
|
#define _wldtype_h
|
|
|
|
#define ONLY_1D 0
|
|
#define EMPTY -9999.0
|
|
|
|
typedef struct
|
|
{
|
|
char name[32];
|
|
char region[32];
|
|
int chin_code[16];
|
|
char type[16];
|
|
float x_coor,y_coor;
|
|
char oil_company[40];
|
|
float height;
|
|
float bit_program[5][2];
|
|
float case_program[5][2];
|
|
char reserved[64];
|
|
} Well_Static_Message;
|
|
|
|
typedef struct
|
|
{
|
|
int log_times;
|
|
char log_company[40];
|
|
char log_team[32];
|
|
char log_series[16];
|
|
char log_project[16];
|
|
char log_profile[16];
|
|
char log_date[12];
|
|
float stdep,endep;
|
|
float bottom_temp;
|
|
char mud_type[12];
|
|
float mud_viscosity;
|
|
float mud_density;
|
|
float mud_resistivity;
|
|
char reserved[64];
|
|
} Well_Dynamic_Message;
|
|
|
|
typedef struct
|
|
{
|
|
char name[8];
|
|
char alias[8];
|
|
char flag[16];
|
|
float sdepth;
|
|
float edepth;
|
|
float dstep;
|
|
char dunit[8];
|
|
char vunit[8];
|
|
char data_type[8];
|
|
int address;
|
|
} CurveIndex1d;
|
|
|
|
typedef struct
|
|
{
|
|
char name[8];
|
|
char alias[8];
|
|
char flag[16];
|
|
float sdepth;
|
|
float edepth;
|
|
float dstep;
|
|
char dunit[8];
|
|
float stime;
|
|
float etime;
|
|
float tstep;
|
|
char tunit[8];
|
|
char vunit[8];
|
|
char data_type[8];
|
|
int address;
|
|
} CurveIndex2d;
|
|
|
|
typedef struct
|
|
{
|
|
char name[8];
|
|
char alias[8];
|
|
char flag[16];
|
|
float sdepth;
|
|
float edepth;
|
|
float dstep;
|
|
char dunit[8];
|
|
float sangle;
|
|
float eangle;
|
|
float astep;
|
|
char aunit[8];
|
|
float stime;
|
|
float etime;
|
|
float tstep;
|
|
char tunit[8];
|
|
char vunit[8];
|
|
char data_type[8];
|
|
int address;
|
|
} CurveIndex3d;
|
|
|
|
typedef struct
|
|
{
|
|
char flag[16];
|
|
int length;
|
|
char reserved[12];
|
|
}WldFileHead;
|
|
|
|
#endif _wldtype_h
|