1 /***************************************************************************** 2 * grib2api.h 3 * 4 * DESCRIPTION 5 * This file contains the header information needed to call the grib2 6 * decoder library. 7 * 8 * HISTORY 9 * 12/2003 Arthur Taylor (MDL / RSIS): Created. 10 * 11 * NOTES 12 ***************************************************************************** 13 */ 14 #ifndef GRIB2API_H 15 #define GRIB2API_H 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif /* __cplusplus */ 20 21 #include "type.h" 22 23 void unpk_grib2 (sInt4 *kfildo, float *ain, sInt4 *iain, sInt4 *nd2x3, 24 sInt4 *idat, sInt4 *nidat, float *rdat, sInt4 *nrdat, 25 sInt4 *is0, sInt4 *ns0, sInt4 *is1, sInt4 *ns1, sInt4 *is2, 26 sInt4 *ns2, sInt4 *is3, sInt4 *ns3, sInt4 *is4, sInt4 *ns4, 27 sInt4 *is5, sInt4 *ns5, sInt4 *is6, sInt4 *ns6, sInt4 *is7, 28 sInt4 *ns7, sInt4 *ib, sInt4 *ibitmap, sInt4 *ipack, 29 sInt4 *nd5, float *xmissp, float *xmisss, sInt4 *inew, 30 sInt4 *iclean, sInt4 *l3264b, sInt4 *iendpk, sInt4 *jer, 31 sInt4 *ndjer, sInt4 *kjer); 32 33 int C_pkGrib2 (unsigned char *cgrib, sInt4 *sec0, sInt4 *sec1, 34 unsigned char *csec2, sInt4 lcsec2, 35 sInt4 *igds, sInt4 *igdstmpl, sInt4 *ideflist, 36 sInt4 idefnum, sInt4 ipdsnum, sInt4 *ipdstmpl, 37 float *coordlist, sInt4 numcoord, sInt4 idrsnum, 38 sInt4 *idrstmpl, float *fld, sInt4 ngrdpts, 39 sInt4 ibmap, sInt4 *bmap); 40 41 void pk_grib2 (sInt4 * kfildo, float * ain, sInt4 * iain, sInt4 * nx, 42 sInt4 * ny, sInt4 * idat, sInt4 * nidat, float * rdat, 43 sInt4 * nrdat, sInt4 * is0, sInt4 * ns0, sInt4 * is1, 44 sInt4 * ns1, sInt4 * is3, sInt4 * ns3, sInt4 * is4, 45 sInt4 * ns4, sInt4 * is5, sInt4 * ns5, sInt4 * is6, 46 sInt4 * ns6, sInt4 * is7, sInt4 * ns7, sInt4 * ib, 47 sInt4 * ibitmap, sInt4 * ipack, sInt4 * nd5, sInt4 * missp, 48 float * xmissp, sInt4 * misss, float * xmisss, sInt4 * inew, 49 sInt4 * minpk, sInt4 * iclean, sInt4 * l3264b, sInt4 * jer, 50 sInt4 * ndjer, sInt4 * kjer); 51 52 #ifdef __cplusplus 53 } 54 #endif /* __cplusplus */ 55 56 #endif /* GRIB2API_H */ 57