Back to home page

MITgcm

 
 

    


File indexing completed on 2021-04-07 05:12:31 UTC

view on githubraw file Latest commit 698b6992 on 2021-04-07 01:54:46 UTC
6b47d550f4 Mart*0001 import numpy as np
                0002 
                0003 nx,ny,nr,nt=80,42,3,1
                0004 
                0005 # single prec ieee-be
                0006 wt32 = np.ones((nt,nr,ny,nx),dtype='>f4')
698b6992ee Jean*0007 wt32.tofile('ones_32b.bin')
6b47d550f4 Mart*0008 
                0009 # double prec ieee-be
                0010 wt64 = np.ones((nt,nr,ny,nx),dtype='>f8')
                0011 wt64.tofile('ones.prec64')