NuSDaS Interface Reference Manual
creates data-presence bitmap from data array.
/* C */ int nusdas_make_mask(udata, utype, usize, bitmap, bitmapsize) ! Fortran SUBROUTINE NUSDAS_MAKE_MASK(udata, utype, usize, bitmap, bitmapsize, iostat)
symbol | Fortran | C |
udata | (may be various type) | void * |
utype | (should be constant/macro in header) | |
usize | INTEGER | N_SI4 * |
bitmap | CHARACTER, DIMENSION(*), INTENT(OUT) | char * |
bitmapsize | INTEGER | N_SI4 * |
iostat | INTEGER, INTENT(OUT) | (not used) |
udata
user data array from which the bitmap is created.
Array elements where data is missing should be set to
the missing value for the User Data Array Type.
For example, elements equivalent to N_MV_R4
are regarded as
missing if udata is REAL/float array.
utype
see table of User Data Array Type.
usize
number of array elements allocated user data.
bitmap
character array to which the bitmap will be stored.
bitmapsize
size of bitmap in bytes.
iostat
same meaning as return value in C interface.
0 | Succeeded. |
-1 | Error: bitmap size too little |