If we have bitmapPresent=0 then do we need to set missingValue at all? If not then we can get rid of the line above this one, but if so are we OK with -1e9? I suspect that bitmapPresent=0 tells the API not to bother checking for any values equal to missingValue, in which case we can take the default and not set ourselves.