fixed nc2cdo.py which is a bit trickier to handle correctly.