\section{Ebisuzaki.cpp File Reference}
\label{Ebisuzaki_8cpp}\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}}
{\tt \#include $<$Ebisuzaki.h$>$}\par
{\tt \#include $<$iostream$>$}\par
{\tt \#include $<$cmath$>$}\par
{\tt \#include $<$cstdarg$>$}\par
{\tt \#include $<$cstdlib$>$}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf START}\ -1
\item 
\#define {\bf FEB29}\ (31+29)
\item 
\#define {\bf MINUTE}\ 0
\item 
\#define {\bf HOUR}\ 1
\item 
\#define {\bf DAY}\ 2
\item 
\#define {\bf MONTH}\ 3
\item 
\#define {\bf YEAR}\ 4
\item 
\#define {\bf DECADE}\ 5
\item 
\#define {\bf NORMAL}\ 6
\item 
\#define {\bf CENTURY}\ 7
\item 
\#define {\bf HOURS3}\ 10
\item 
\#define {\bf HOURS6}\ 11
\item 
\#define {\bf HOURS12}\ 12
\item 
\#define {\bf SECOND}\ 254
\item 
\#define {\bf NMC}\ 7
\item 
\#define {\bf ECMWF}\ 98
\item 
\#define {\bf DWD}\ 78
\item 
\#define {\bf CMC}\ 54
\item 
\#define {\bf CPTEC}\ 46
\end{CompactItemize}
\subsection*{Enumerations}
\begin{CompactItemize}
\item 
enum {\bf Def\_\-NCEP\_\-Table} \{ {\bf rean}, 
{\bf opn}, 
{\bf rean\_\-nowarn}, 
{\bf opn\_\-nowarn}
 \}
\item 
enum \{ {\bf filled}, 
{\bf not\_\-found}, 
{\bf not\_\-checked}, 
{\bf no\_\-file}, 
{\bf init}
 \}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
int {\bf setup\_\-user\_\-table} (int center, int subcenter, int ptable)
\item 
unsigned char $\ast$ {\bf mk\_\-PDS} (unsigned char $\ast$pds,...)
\begin{CompactList}\small\item\em Packing routine used.\item\end{CompactList}\item 
unsigned char $\ast$ {\bf mk\_\-GDS} (unsigned char $\ast$gds,...)
\begin{CompactList}\small\item\em Packing routine used.\item\end{CompactList}\item 
double {\bf ibm2flt} (unsigned char $\ast$ibm)
\begin{CompactList}\small\item\em Utility routine.\item\end{CompactList}\item 
int {\bf flt2ibm} (float x, unsigned char $\ast$ibm)
\item 
double {\bf int\_\-power} (double x, int y)
\begin{CompactList}\small\item\em Utility routine.\item\end{CompactList}\item 
void {\bf flist2bitstream} (float $\ast$list, unsigned char $\ast$bs, int ndata, int nbits)
\item 
int {\bf GDS\_\-grid} (unsigned char $\ast$gds, unsigned char $\ast$bds, int $\ast$nx, int $\ast$ny, long int $\ast$nxny)
\begin{CompactList}\small\item\em Unpacking routine used.\item\end{CompactList}\item 
void {\bf BDS\_\-unpack} (float $\ast$flt, unsigned char $\ast$bds, unsigned char $\ast$bitmap, int n\_\-bits, int n, double ref, double scale)
\begin{CompactList}\small\item\em Unpacking routine used.\item\end{CompactList}\item 
int {\bf add\_\-time} (int $\ast$year, int $\ast$month, int $\ast$day, int $\ast$hour, int dtime, int unit)
\item 
unsigned char $\ast$ {\bf mk\_\-void\_\-BMS} (unsigned char $\ast$pds)
\item 
void {\bf set\_\-BDSMax\-Bits} (int n)
\item 
void {\bf set\_\-BDSMin\-Bits} (int n)
\item 
void {\bf set\_\-def\_\-power2} (int n)
\item 
int {\bf get\_\-BDSMax\-Bits} ()
\item 
int {\bf get\_\-BDSMin\-Bits} ()
\item 
int {\bf get\_\-def\_\-power2} ()
\item 
void {\bf set\_\-int3} (unsigned char $\ast$string, int n)
\item 
void {\bf set\_\-int2} (unsigned char $\ast$string, int n)
\item 
void {\bf set\_\-signed\_\-int3} (unsigned char $\ast$string, int n)
\item 
unsigned char $\ast$ {\bf mk\_\-BMS} (unsigned char $\ast$pds, float $\ast$bindata, int $\ast$n, float undef\_\-low, float undef\_\-hi)
\begin{CompactList}\small\item\em Packing routine used.\item\end{CompactList}\item 
unsigned char $\ast$ {\bf mk\_\-BDS} (unsigned char $\ast$pds, float $\ast$bindata, int n)
\begin{CompactList}\small\item\em Packing routine used.\item\end{CompactList}\item 
{\bf Parm\-Table} $\ast$ {\bf Parm\_\-Table} (int center, int subcenter, int ptable, int process)
\begin{CompactList}\small\item\em Extract name and comment.\item\end{CompactList}\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
enum {\bf Def\_\-NCEP\_\-Table} {\bf def\_\-ncep\_\-table} = opn\_\-nowarn
\item 
{\bf Parm\-Table} {\bf parm\_\-table\_\-user} [256]
\end{CompactItemize}


\subsection{Define Documentation}
\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!CENTURY@{CENTURY}}
\index{CENTURY@{CENTURY}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define CENTURY\ 7}\label{Ebisuzaki_8cpp_a9}




Definition at line 5888 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!CMC@{CMC}}
\index{CMC@{CMC}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define CMC\ 54}\label{Ebisuzaki_8cpp_a17}




Definition at line 6283 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!CPTEC@{CPTEC}}
\index{CPTEC@{CPTEC}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define CPTEC\ 46}\label{Ebisuzaki_8cpp_a18}




Definition at line 6284 of file Ebisuzaki.cpp.

Referenced by Parm\_\-Table().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!DAY@{DAY}}
\index{DAY@{DAY}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DAY\ 2}\label{Ebisuzaki_8cpp_a4}




Definition at line 5883 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!DECADE@{DECADE}}
\index{DECADE@{DECADE}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DECADE\ 5}\label{Ebisuzaki_8cpp_a7}




Definition at line 5886 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!DWD@{DWD}}
\index{DWD@{DWD}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DWD\ 78}\label{Ebisuzaki_8cpp_a16}




Definition at line 6282 of file Ebisuzaki.cpp.

Referenced by Parm\_\-Table().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!ECMWF@{ECMWF}}
\index{ECMWF@{ECMWF}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define ECMWF\ 98}\label{Ebisuzaki_8cpp_a15}




Definition at line 6281 of file Ebisuzaki.cpp.

Referenced by Parm\_\-Table().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!FEB29@{FEB29}}
\index{FEB29@{FEB29}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define FEB29\ (31+29)}\label{Ebisuzaki_8cpp_a1}




Definition at line 5880 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!HOUR@{HOUR}}
\index{HOUR@{HOUR}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define HOUR\ 1}\label{Ebisuzaki_8cpp_a3}




Definition at line 5882 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!HOURS12@{HOURS12}}
\index{HOURS12@{HOURS12}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define HOURS12\ 12}\label{Ebisuzaki_8cpp_a12}




Definition at line 5891 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!HOURS3@{HOURS3}}
\index{HOURS3@{HOURS3}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define HOURS3\ 10}\label{Ebisuzaki_8cpp_a10}




Definition at line 5889 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!HOURS6@{HOURS6}}
\index{HOURS6@{HOURS6}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define HOURS6\ 11}\label{Ebisuzaki_8cpp_a11}




Definition at line 5890 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!MINUTE@{MINUTE}}
\index{MINUTE@{MINUTE}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MINUTE\ 0}\label{Ebisuzaki_8cpp_a2}




Definition at line 5881 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!MONTH@{MONTH}}
\index{MONTH@{MONTH}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MONTH\ 3}\label{Ebisuzaki_8cpp_a5}




Definition at line 5884 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!NMC@{NMC}}
\index{NMC@{NMC}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define NMC\ 7}\label{Ebisuzaki_8cpp_a14}




Definition at line 6280 of file Ebisuzaki.cpp.

Referenced by Parm\_\-Table().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!NORMAL@{NORMAL}}
\index{NORMAL@{NORMAL}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define NORMAL\ 6}\label{Ebisuzaki_8cpp_a8}




Definition at line 5887 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!SECOND@{SECOND}}
\index{SECOND@{SECOND}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SECOND\ 254}\label{Ebisuzaki_8cpp_a13}




Definition at line 5892 of file Ebisuzaki.cpp.

Referenced by add\_\-time().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!START@{START}}
\index{START@{START}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define START\ -1}\label{Ebisuzaki_8cpp_a0}




Definition at line 5214 of file Ebisuzaki.cpp.

Referenced by setup\_\-user\_\-table().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!YEAR@{YEAR}}
\index{YEAR@{YEAR}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define YEAR\ 4}\label{Ebisuzaki_8cpp_a6}




Definition at line 5885 of file Ebisuzaki.cpp.

Referenced by add\_\-time().

\subsection{Enumeration Type Documentation}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}anonymous enum}\label{Ebisuzaki_8cpp_a87}


\begin{Desc}
\item[Enumeration values: ]\par
\begin{description}
\index{filled@{filled}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!filled@{filled}}\item[{\em 
{\em filled}\label{Ebisuzaki_8cpp_a87a57}
}]\index{not_found@{not\_\-found}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!not_found@{not\_\-found}}\item[{\em 
{\em not\_\-found}\label{Ebisuzaki_8cpp_a87a58}
}]\index{not_checked@{not\_\-checked}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!not_checked@{not\_\-checked}}\item[{\em 
{\em not\_\-checked}\label{Ebisuzaki_8cpp_a87a59}
}]\index{no_file@{no\_\-file}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!no_file@{no\_\-file}}\item[{\em 
{\em no\_\-file}\label{Ebisuzaki_8cpp_a87a60}
}]\index{init@{init}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!init@{init}}\item[{\em 
{\em init}\label{Ebisuzaki_8cpp_a87a61}
}]\end{description}
\end{Desc}



Definition at line 5217 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!Def_NCEP_Table@{Def\_\-NCEP\_\-Table}}
\index{Def_NCEP_Table@{Def\_\-NCEP\_\-Table}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum Def\_\-NCEP\_\-Table}\label{Ebisuzaki_8cpp_a86}


\begin{Desc}
\item[Enumeration values: ]\par
\begin{description}
\index{rean@{rean}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!rean@{rean}}\item[{\em 
{\em rean}\label{Ebisuzaki_8cpp_a86a53}
}]\index{opn@{opn}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!opn@{opn}}\item[{\em 
{\em opn}\label{Ebisuzaki_8cpp_a86a54}
}]\index{rean_nowarn@{rean\_\-nowarn}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!rean_nowarn@{rean\_\-nowarn}}\item[{\em 
{\em rean\_\-nowarn}\label{Ebisuzaki_8cpp_a86a55}
}]\index{opn_nowarn@{opn\_\-nowarn}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!opn_nowarn@{opn\_\-nowarn}}\item[{\em 
{\em opn\_\-nowarn}\label{Ebisuzaki_8cpp_a86a56}
}]\end{description}
\end{Desc}



Definition at line 31 of file Ebisuzaki.cpp.

\subsection{Function Documentation}
\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!add_time@{add\_\-time}}
\index{add_time@{add\_\-time}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int add\_\-time (int $\ast$ {\em year}, int $\ast$ {\em month}, int $\ast$ {\em day}, int $\ast$ {\em hour}, int {\em dtime}, int {\em unit})}\label{Ebisuzaki_8cpp_a72}




Definition at line 5903 of file Ebisuzaki.cpp.

References CENTURY, DAY, DECADE, FEB29, HOUR, HOURS12, HOURS3, HOURS6, MINUTE, MONTH, NORMAL, SECOND, and YEAR.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!BDS_unpack@{BDS\_\-unpack}}
\index{BDS_unpack@{BDS\_\-unpack}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void BDS\_\-unpack (float $\ast$ {\em flt}, unsigned char $\ast$ {\em bds}, unsigned char $\ast$ {\em bitmap}, int {\em n\_\-bits}, int {\em n}, double {\em ref}, double {\em scale})}\label{Ebisuzaki_8cpp_a70}


Unpacking routine used.



Definition at line 5780 of file Ebisuzaki.cpp.

References BDS\_\-Harmonic, BDS\_\-Harmonic\_\-Ref\-Value, and UNDEFINED.

Referenced by GRIB\_\-FIELD::Decode().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!flist2bitstream@{flist2bitstream}}
\index{flist2bitstream@{flist2bitstream}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void flist2bitstream (float $\ast$ {\em list}, unsigned char $\ast$ {\em bs}, int {\em ndata}, int {\em nbits})}\label{Ebisuzaki_8cpp_a68}




Definition at line 5690 of file Ebisuzaki.cpp.

Referenced by mk\_\-BDS().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!flt2ibm@{flt2ibm}}
\index{flt2ibm@{flt2ibm}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int flt2ibm (float {\em x}, unsigned char $\ast$ {\em ibm})}\label{Ebisuzaki_8cpp_a66}




Definition at line 5606 of file Ebisuzaki.cpp.

Referenced by mk\_\-BDS().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!GDS_grid@{GDS\_\-grid}}
\index{GDS_grid@{GDS\_\-grid}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int GDS\_\-grid (unsigned char $\ast$ {\em gds}, unsigned char $\ast$ {\em bds}, int $\ast$ {\em nx}, int $\ast$ {\em ny}, long int $\ast$ {\em nxny})}\label{Ebisuzaki_8cpp_a69}


Unpacking routine used.



Definition at line 5732 of file Ebisuzaki.cpp.

References BDS\_\-LEN, BDS\_\-Num\-Bits, BDS\_\-Unused\-Bits, GDS\_\-Gaussian, GDS\_\-Harmonic, GDS\_\-Lat\-Lon, GDS\_\-Lat\-Lon\_\-nx, GDS\_\-Lat\-Lon\_\-ny, GDS\_\-PL, GDS\_\-Triangular, GDS\_\-Triangular\_\-nd, and GDS\_\-Triangular\_\-ni.

Referenced by GRIB\_\-GRID::Decode().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!get_BDSMaxBits@{get\_\-BDSMaxBits}}
\index{get_BDSMaxBits@{get\_\-BDSMaxBits}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int get\_\-BDSMax\-Bits ()}\label{Ebisuzaki_8cpp_a77}




Definition at line 6047 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!get_BDSMinBits@{get\_\-BDSMinBits}}
\index{get_BDSMinBits@{get\_\-BDSMinBits}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int get\_\-BDSMin\-Bits ()}\label{Ebisuzaki_8cpp_a78}




Definition at line 6052 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!get_def_power2@{get\_\-def\_\-power2}}
\index{get_def_power2@{get\_\-def\_\-power2}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int get\_\-def\_\-power2 ()}\label{Ebisuzaki_8cpp_a79}




Definition at line 6057 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!ibm2flt@{ibm2flt}}
\index{ibm2flt@{ibm2flt}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double ibm2flt (unsigned char $\ast$ {\em ibm})}\label{Ebisuzaki_8cpp_a65}


Utility routine.



Definition at line 5575 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!int_power@{int\_\-power}}
\index{int_power@{int\_\-power}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double int\_\-power (double {\em x}, int {\em y})}\label{Ebisuzaki_8cpp_a67}


Utility routine.



Definition at line 5670 of file Ebisuzaki.cpp.

Referenced by GRIB\_\-FIELD::Decode(), and mk\_\-BDS().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!mk_BDS@{mk\_\-BDS}}
\index{mk_BDS@{mk\_\-BDS}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ mk\_\-BDS (unsigned char $\ast$ {\em pds}, float $\ast$ {\em bindata}, int {\em n})}\label{Ebisuzaki_8cpp_a84}


Packing routine used.



Definition at line 6143 of file Ebisuzaki.cpp.

References flist2bitstream(), flt2ibm(), int\_\-power(), PDS\_\-Decimal\-Scale, and set\_\-int3().

Referenced by GRIB\_\-MESSAGE::Encode().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!mk_BMS@{mk\_\-BMS}}
\index{mk_BMS@{mk\_\-BMS}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ mk\_\-BMS (unsigned char $\ast$ {\em pds}, float $\ast$ {\em bindata}, int $\ast$ {\em n}, float {\em undef\_\-low}, float {\em undef\_\-hi})}\label{Ebisuzaki_8cpp_a83}


Packing routine used.



Definition at line 6091 of file Ebisuzaki.cpp.

References set\_\-int3().

Referenced by GRIB\_\-MESSAGE::Encode().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!mk_GDS@{mk\_\-GDS}}
\index{mk_GDS@{mk\_\-GDS}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ mk\_\-GDS (unsigned char $\ast$ {\em gds}, ...)}\label{Ebisuzaki_8cpp_a64}


Packing routine used.



Definition at line 5457 of file Ebisuzaki.cpp.

References WGRIB\_\-ENCODE\_\-2BYTES, WGRIB\_\-ENCODE\_\-3BYTES, WGRIB\_\-ENCODE\_\-AND, WGRIB\_\-ENCODE\_\-BIT, WGRIB\_\-ENCODE\_\-BYTE, WGRIB\_\-ENCODE\_\-END, WGRIB\_\-ENCODE\_\-INIT, WGRIB\_\-ENCODE\_\-OPERATION, WGRIB\_\-ENCODE\_\-OR, WGRIB\_\-ENCODE\_\-S2BYTES, and WGRIB\_\-ENCODE\_\-S3BYTES.

Referenced by GRIB\_\-GRID::Encode().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!mk_PDS@{mk\_\-PDS}}
\index{mk_PDS@{mk\_\-PDS}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ mk\_\-PDS (unsigned char $\ast$ {\em pds}, ...)}\label{Ebisuzaki_8cpp_a63}


Packing routine used.



Definition at line 5336 of file Ebisuzaki.cpp.

References WGRIB\_\-ENCODE\_\-2BYTES, WGRIB\_\-ENCODE\_\-3BYTES, WGRIB\_\-ENCODE\_\-AND, WGRIB\_\-ENCODE\_\-BIT, WGRIB\_\-ENCODE\_\-BYTE, WGRIB\_\-ENCODE\_\-END, WGRIB\_\-ENCODE\_\-INIT, WGRIB\_\-ENCODE\_\-OPERATION, WGRIB\_\-ENCODE\_\-OR, WGRIB\_\-ENCODE\_\-S2BYTES, and WGRIB\_\-ENCODE\_\-S3BYTES.

Referenced by GRIB\_\-MESSAGE::Encode().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!mk_void_BMS@{mk\_\-void\_\-BMS}}
\index{mk_void_BMS@{mk\_\-void\_\-BMS}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ mk\_\-void\_\-BMS (unsigned char $\ast$ {\em pds})}\label{Ebisuzaki_8cpp_a73}




Definition at line 6013 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!Parm_Table@{Parm\_\-Table}}
\index{Parm_Table@{Parm\_\-Table}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct {\bf Parm\-Table}$\ast$ Parm\_\-Table (int {\em center}, int {\em subcenter}, int {\em ptable}, int {\em process})}\label{Ebisuzaki_8cpp_a85}


Extract name and comment.



Definition at line 6286 of file Ebisuzaki.cpp.

References CPTEC, def\_\-ncep\_\-table, DWD, ECMWF, NMC, opn, opn\_\-nowarn, rean\_\-nowarn, and setup\_\-user\_\-table().

Referenced by GRIB\_\-FIELD::Decode(), and GRIB\_\-FIELD::set\_\-field().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!set_BDSMaxBits@{set\_\-BDSMaxBits}}
\index{set_BDSMaxBits@{set\_\-BDSMaxBits}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void set\_\-BDSMax\-Bits (int {\em n})}\label{Ebisuzaki_8cpp_a74}




Definition at line 6030 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!set_BDSMinBits@{set\_\-BDSMinBits}}
\index{set_BDSMinBits@{set\_\-BDSMinBits}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void set\_\-BDSMin\-Bits (int {\em n})}\label{Ebisuzaki_8cpp_a75}




Definition at line 6036 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!set_def_power2@{set\_\-def\_\-power2}}
\index{set_def_power2@{set\_\-def\_\-power2}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void set\_\-def\_\-power2 (int {\em n})}\label{Ebisuzaki_8cpp_a76}




Definition at line 6042 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!set_int2@{set\_\-int2}}
\index{set_int2@{set\_\-int2}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void set\_\-int2 (unsigned char $\ast$ {\em string}, int {\em n})}\label{Ebisuzaki_8cpp_a81}




Definition at line 6070 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!set_int3@{set\_\-int3}}
\index{set_int3@{set\_\-int3}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void set\_\-int3 (unsigned char $\ast$ {\em string}, int {\em n})}\label{Ebisuzaki_8cpp_a80}




Definition at line 6062 of file Ebisuzaki.cpp.

Referenced by mk\_\-BDS(), and mk\_\-BMS().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!set_signed_int3@{set\_\-signed\_\-int3}}
\index{set_signed_int3@{set\_\-signed\_\-int3}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void set\_\-signed\_\-int3 (unsigned char $\ast$ {\em string}, int {\em n})}\label{Ebisuzaki_8cpp_a82}




Definition at line 6077 of file Ebisuzaki.cpp.\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!setup_user_table@{setup\_\-user\_\-table}}
\index{setup_user_table@{setup\_\-user\_\-table}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int setup\_\-user\_\-table (int {\em center}, int {\em subcenter}, int {\em ptable})}\label{Ebisuzaki_8cpp_a62}




Definition at line 5222 of file Ebisuzaki.cpp.

References Parm\-Table::comment, filled, init, Parm\-Table::name, no\_\-file, not\_\-checked, not\_\-found, and START.

Referenced by Parm\_\-Table().

\subsection{Variable Documentation}
\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!def_ncep_table@{def\_\-ncep\_\-table}}
\index{def_ncep_table@{def\_\-ncep\_\-table}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Def\_\-NCEP\_\-Table} def\_\-ncep\_\-table = opn\_\-nowarn}\label{Ebisuzaki_8cpp_a23}




Definition at line 32 of file Ebisuzaki.cpp.

Referenced by Parm\_\-Table().\index{Ebisuzaki.cpp@{Ebisuzaki.cpp}!parm_table_user@{parm\_\-table\_\-user}}
\index{parm_table_user@{parm\_\-table\_\-user}!Ebisuzaki.cpp@{Ebisuzaki.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct {\bf Parm\-Table} parm\_\-table\_\-user[256]}\label{Ebisuzaki_8cpp_a48}




Definition at line 5219 of file Ebisuzaki.cpp.