Fixing wrong size check.

- Fixing reverted comparison.
- Adding details to the exception message.
Fixing RefDS handling + implementing BEAM-based NetCDF output for ASAR and MERIS.