nx=2160;
pin='~dmenemen/c1440_llc2160/mit_output/';
pout='~dmenemen/c1440_llc2160/mit_output/';

fin=[pin 'Salt/Salt.'];
fout=[pout 'SSS/SSS.'];
for ts=80:80:829200, mydisp(ts)
    sts=myint2str(ts,10);
    fld=quikread_llc([fin sts '.data'],2160);
    writebin([fout sts '.data'],fld)
end

fin=[pin 'Theta/Theta.'];
fout=[pout 'SST/SST.'];
for ts=80:80:829200, mydisp(ts)
    sts=myint2str(ts,10);
    fld=quikread_llc([fin sts '.data'],2160);
    writebin([fout sts '.data'],fld)
end

fin=[pin 'U/U.'];
fout=[pout 'SSU/SSU.'];
for ts=80:80:829200, mydisp(ts)
    sts=myint2str(ts,10);
    fld=quikread_llc([fin sts '.data'],2160);
    writebin([fout sts '.data'],fld)
end

fin=[pin 'V/V.'];
fout=[pout 'SSV/SSV.'];
for ts=80:80:829200, mydisp(ts)
    sts=myint2str(ts,10);
    fld=quikread_llc([fin sts '.data'],2160);
    writebin([fout sts '.data'],fld)
end
