
ncload hfacc.nc hfacc;
hfacc(hfacc<=0)=0; 
hfacc=permute(hfacc,[3 2 1]);
write2file('hFacC.data',hfacc,64);

ncload hfacw.nc hfacw;
hfacw(hfacw<=0)=0;
hfacw=permute(hfacw,[3 2 1]);
write2file('hFacW.data',hfacw,64);

ncload hfacs.nc hfacs;
hfacs(hfacs<=0)=0;
hfacs=permute(hfacs,[3 2 1]);
write2file('hFacS.data',hfacs,64);

