Changeset 680 for codes/icosagcm/devel/Python/test/py/NH_3D_DCMIP31.py
- Timestamp:
- 02/09/18 16:24:33 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/devel/Python/test/py/NH_3D_DCMIP31.py
r678 r680 4 4 from dynamico import DCMIP 5 5 from dynamico import meshes 6 from dynamico.meshes import MPAS_Mesh as Mesh7 6 import math as math 8 7 import matplotlib.pyplot as plt … … 49 48 nqdyn, preff, Treff = 1, 1e5, 300. 50 49 thermo = dyn.Ideal_perfect(Cpd, Rd, preff, Treff) 51 mesh = Mesh('grids/x1.%d.grid.nc'%grid, llm, nqdyn, radius, f) 50 meshfile = meshes.MPAS_Format('grids/x1.%d.grid.nc'%grid) 51 mesh = meshes.Unstructured_Mesh(meshfile, llm, nqdyn, radius, f) 52 52 lev,levp1 = np.arange(llm),np.arange(llm+1) 53 53 lat_ik,k_i = np.meshgrid(mesh.lat_i,lev, indexing='ij')
Note: See TracChangeset
for help on using the changeset viewer.