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/py
Files:
1 added
2 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 
Note: See TracChangeset for help on using the changeset viewer.