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) |
udatauser 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.
utypesee table of User Data Array Type.
usizenumber of array elements allocated user data.
bitmapcharacter array to which the bitmap will be stored.
bitmapsizesize of bitmap in bytes.
iostatsame meaning as return value in C interface.
| 0 | Succeeded. |
| -1 | Error: bitmap size too little |