c_getbdr - Retrieves a band-dependent record from associated DDR file

SYNTAX

#include "las.h"

FUNCTION c_getbdr (hname, bddr, band)

     char               *hname;

struct BDDR *bddr;

long *band;

PARAMETERS

hname (input, character, length(CMLEN))

Image host filename for which the information is to be retrieved.

bddr (output, BDDR)

A BDDR structure or a FORTRAN integer array dimensioned to BDRLEN. It contains the fields of the band record of the DDR.

band (input, integer)

The band number of the DDR record to be retrieved.

DESCRIPTION

The c_getbdr() call is used to return the specified band-dependent record of DDR information of image hname.

RETURN VALUE

c_getbdr() returns

     E_SUCC (0)  --> successful completion
     E_FAIL (-1) --> operation failed