Ignore:
Timestamp:
05/10/18 01:01:55 (6 years ago)
Author:
dubos
Message:

devel/unstructured : bugfix XIOS output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/Python/test/py/test_xios.py

    r694 r696  
    2828#--------------------------------- write some data ---------------------------------------- 
    2929 
    30 context=xios.XIOS_Context(pmesh,mesh,nqtot) 
     30context=xios.XIOS_Context(pmesh,mesh,nqtot, 3600) 
    3131 
    3232lat_i = radian*mesh.lat_i 
    33 lat_ik, junk  = np.meshgrid(lat_i, np.arange(llm), indexing='xy') 
     33lat_ik, junk  = np.meshgrid(lat_i, np.arange(llm), indexing='ij') 
    3434 
    3535no_error=True 
     
    3737    for i in range(100): 
    3838        context.update_calendar(i) 
    39         print 'send_field', i 
     39        print 'send_field', i, lat_ik.shape 
    4040        context.send_field_primal('ps', lat_i) 
    4141        context.send_field_primal('theta', lat_ik) 
Note: See TracChangeset for help on using the changeset viewer.