Fixed bug in NetcdfCFWriter handling variables for vertical
transformations