Deprecated functions


Functions

void bufr_clean (void)
int setup_sec0125 (char *sec[], size_t secl[], sect_1_t s1)
int save_sections (char **sec, size_t *secl, char *buffile)
int val_to_array (varfl **vals, varfl v, size_t *nvals)
int rlenc (char *infile, int nrows, int ncols, varfl **vals, size_t *nvals)
 Runlength-encodes a radar image.
int rlenc_compress_line (int line, unsigned char *src, int ncols, varfl **dvals, size_t *nvals)
 Encodes one line of a radar image to BUFR runlength-code.
int rldec (char *outfile, varfl *vals, size_t *nvals)
 Decodes a BUFR-runlength-encoded radar image.

Function Documentation

void bufr_clean ( void   ) 

Deprecated:
use free_descs instead
This function frees all memory-blocks allocated by read_tables

Definition at line 163 of file bufr.c.

int setup_sec0125 ( char *  sec[],
size_t  secl[],
sect_1_t  s1 
)

Deprecated:
use bufr_encode_sections0125 instead
Sets up section 0,1,2,5 in a rather easy fashion and takes Section 1 data from structure s1.

Parameters:
[in,out] sec Sections 0 - 5
[in,out] secl Lengths of sections 0 - 5
[in] s1 Data to be put into Section 1

Definition at line 622 of file bufr.c.

int save_sections ( char **  sec,
size_t *  secl,
char *  buffile 
)

Deprecated:
Use bufr_write_file instead.
Write BUFR message to a binary file.

Parameters:
[in] sec Poiter-Array to the 6 sections.
[in] secl Length of the sections.
[in] buffile Output-File
Returns:
The function returns 1 on success, 0 on a fault.

Definition at line 657 of file bufr.c.

int val_to_array ( varfl **  vals,
varfl  v,
size_t *  nvals 
)

Deprecated:
use bufr_val_to_array instead.
This function stores the value V to an array of floats VALS. The memory- block for VALS is allocated in this function and has to be freed by the calling function.

Parameters:
[in,out] vals The array containing the values
[in] v The value to be put into the array
[in,out] nvals Number of values in the array
Returns:
1 on success, 0 on error.

Definition at line 1836 of file bufr.c.

int rlenc ( char *  infile,
int  nrows,
int  ncols,
varfl **  vals,
size_t *  nvals 
)

Deprecated:
Use rlenc_from_file instead.

This function encodes a "one byte per pixel" radar image to BUFR runlength- code and stores the resulting values by a call to VAL_TO_ARRAY.

Parameters:
[in] infile File holding the "one byte per pixel" radar image.
[in] ncols Number of columns of the image.
[in] nrows Number of rows of the image.
[in,out] vals Float-array holding the coded image.
[in,out] nvals Number of values in VALS.
Returns:
The return-value ist 1 on success, 0 on a fault.

Definition at line 111 of file rlenc.c.

int rlenc_compress_line ( int  line,
unsigned char *  src,
int  ncols,
varfl **  dvals,
size_t *  nvals 
)

Deprecated:
Use rlenc_compress_line_new instead.

This function encodes one line of a radar image to BUFR runlength-code and stores the resulting values by a call to val_to_array.

Parameters:
[in] line Line number.
[in] src Is where the uncompressed line is stored.
[in] ncols Number of pixels per line.
[in,out] dvals Float-array holding the coded image.
[in,out] nvals Number of values in VALS.
Returns:
The function returns 1 on success, 0 on a fault.

Definition at line 172 of file rlenc.c.

int rldec ( char *  outfile,
varfl vals,
size_t *  nvals 
)

Deprecated:
Use rldec_to_file instead.

This function decodes a BUFR-runlength-encoded radar image stored at VALS. The decoded image is stored in a one "byte-per-pixel-format" at the file OUTFILE.

Parameters:
[in] outfile Destination-file for the "one byte per pixel" radar image.
[in] vals Float-array holding the coded image.
[in] nvals Number of values needed for the radar image.
Returns:
The return-value ist 1 on success, 0 on a fault.

Definition at line 295 of file rlenc.c.


Generated on Tue Dec 18 16:52:45 2007 for OPERA BUFR software by  doxygen 1.5.4