1 enum Def_NCEP_Table
{rean
, opn
, rean_nowarn
, opn_nowarn
};
3 unsigned char *seek_grib(FILE *file
, long *pos
, long *len_grib
,
4 unsigned char *buffer
, unsigned int buf_len
);
6 int read_grib(FILE *file
, long pos
, long len_grib
, unsigned char *buffer
);
8 double ibm2flt(unsigned char *ibm
);
10 void BDS_unpack(float *flt
, unsigned char *bds
, unsigned char *bitmap
,
11 int n_bits
, int n
, double ref
, double scale
);
13 double int_power(double x
, int y
);
15 int flt2ieee(float x
, unsigned char *ieee
);
17 int wrtieee(float *array
, int n
, int header
, FILE *output
);
18 int wrtieee_header(unsigned int n
, FILE *output
);
20 void levels(int, int, int);
22 void PDStimes(int time_range
, int p1
, int p2
, int time_unit
);
24 int missing_points(unsigned char *bitmap
, int n
);
26 void EC_ext(unsigned char *pds
, char *prefix
, char *suffix
);
28 int GDS_grid(unsigned char *gds
, unsigned char *bds
, int *nx
, int *ny
,
31 void GDS_prt_thin_lon(unsigned char *gds
);
33 void GDS_winds(unsigned char *gds
, int verbose
);
35 int PDS_date(unsigned char *pds
, int option
, int verf_time
);
37 int add_time(int *year
, int *month
, int *day
, int *hour
, int dtime
, int unit
);
39 int verf_time(unsigned char *pds
, int *year
, int *month
, int *day
, int *hour
);
41 void print_pds(unsigned char *pds
, int print_PDS
, int print_PDS10
, int verbose
);
42 void print_gds(unsigned char *gds
, int print_GDS
, int print_GDS10
, int verbose
);
44 void ensemble(unsigned char *pds
, int mode
);