Ignore:
Timestamp:
10/11/18 18:27:15 (6 years ago)
Author:
dubos
Message:

devel/unstructured : towards XIOS output with curvilinear mesh

Location:
codes/icosagcm/devel/Python/test
Files:
1 added
5 edited

Legend:

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

    r756 r759  
    1515dx,dy=Lx/nx,Ly/ny 
    1616 
    17 filename, llm, nqdyn, g, f, radius = 'cart_128.nc', 1, 1, 1., 1., None 
     17filename, llm, nqdyn, g, f, radius = 'cart_%03d_%03d.nc'%(nx,ny), 1, 1, 1., 1., None 
    1818unst.setvar('g',g) 
    1919 
     
    2727caldyn = unst.Caldyn_RSW(mesh) 
    2828 
    29 xx = (mesh.lat_i-nx/2.)*dx 
    30 yy = (mesh.lon_i-ny/2.)*dy 
     29#xx = (mesh.lat_i-nx/2.)*dx 
     30#yy = (mesh.lon_i-ny/2.)*dy 
     31xx,yy = mesh.lat_i, mesh.lon_i 
    3132 
    3233x1,x2,yy = xx-1., xx+1., yy 
  • codes/icosagcm/devel/Python/test/py/test_xios.py

    r696 r759  
    2828#--------------------------------- write some data ---------------------------------------- 
    2929 
    30 context=xios.XIOS_Context(pmesh,mesh,nqtot, 3600) 
     30context=xios.XIOS_Context_Unstructured(pmesh,mesh,nqtot, 3600) 
    3131 
    3232lat_i = radian*mesh.lat_i 
  • codes/icosagcm/devel/Python/test/python.sh

    r717 r759  
    88{ 
    99    LD_PRELOAD=$PYTHON_PRELOAD python -u $* 
     10} 
     11 
     12function cmd_gdb() 
     13{ 
     14    set -x 
     15    LD_PRELOAD=$PYTHON_PRELOAD gdb --args python -u $* 
    1016} 
    1117 
  • codes/icosagcm/devel/Python/test/xml/filedef_simple.xml

    r755 r759  
    4444    <variable name="time_frequency" type="string" > 24h </variable>     
    4545 
    46   </file> 
    47 --> 
     46  </file> --> 
    4847 
    4948</file_definition> 
  • codes/icosagcm/devel/Python/test/xml/link.sh

    r755 r759  
    77        ln -s xml/${name}_$1.xml ${name}.xml 
    88    done 
    9     ln -s iodef.xml 
     9    ln -s xml/iodef.xml 
    1010} 
    1111 
Note: See TracChangeset for help on using the changeset viewer.