Finds the number of bad values in an array KPG1_NBADx
There is a routine for the double-precision and real floating-point data types: replace "
x"
in the
routine name by D or R as appropriate. The input data array must have the data type specified.