Changeset 680 for codes/icosagcm/devel/Python/test/py/DCMIP2008c5.py
- Timestamp:
- 02/09/18 16:24:33 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/devel/Python/test/py/DCMIP2008c5.py
r679 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 … … 45 44 nqdyn, preff, Treff = 1, 1e5, 300. 46 45 thermo = dyn.Ideal_perfect(Cpd, Rd, preff, Treff) 47 mesh = Mesh('grids/x1.%d.grid.nc'%grid, llm, nqdyn, radius, f) 46 meshfile = meshes.MPAS_Format('grids/x1.%d.grid.nc'%grid) 47 mesh = meshes.Unstructured_Mesh(meshfile, llm, nqdyn, radius, f) 48 48 lev,levp1 = np.arange(llm),np.arange(llm+1) 49 49 lon_i, lat_i, lon_e, lat_e = mesh.lon_i, mesh.lat_i, mesh.lon_e, mesh.lat_e
Note: See TracChangeset
for help on using the changeset viewer.