Week12

MITgcm 4 degree global ocean

Modifying heat flux file

with open('../run/ncep_qnet.bin','rb') as f:
    data = np.fromfile(f, '>f4')

qflx = data.reshape(12, ny, nx)    # I know that this is monthly forcing data.
ndata = qflx[:,:,:]/2
fs = open('new_qflx.bin','wb');
ndata.astype('>f4').tofile(fs);