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

devel/unstructured : towards XIOS output with curvilinear mesh

File:
1 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 
Note: See TracChangeset for help on using the changeset viewer.