Use the output from midodata.sh and a run of the wcstools routine xy2sky (if possible) to generate a CDFP file.
% mido2cdfp.sh filename.cdfp