Changeset 680 for codes/icosagcm/devel/Python/test/py/RSW2_MPAS_W02.py
- Timestamp:
- 02/09/18 16:24:33 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/devel/Python/test/py/RSW2_MPAS_W02.py
r666 r680 1 1 print 'Loading DYNAMICO modules ...' 2 2 from dynamico import unstructured as unst 3 from dynamico.meshes import MPAS_ Mesh as Mesh3 from dynamico.meshes import MPAS_Format, Unstructured_Mesh as Mesh 4 4 from dynamico import time_step 5 5 print '...Done' … … 19 19 def f(lon,lat): return 2*Omega*np.sin(lat) # Coriolis parameter 20 20 print 'Reading MPAS mesh ...' 21 mesh = Mesh('grids/x1.%d.grid.nc'%grid, llm, nqdyn, radius, f) 21 meshfile = MPAS_Format('grids/x1.%d.grid.nc'%grid) 22 mesh = Mesh(meshfile, llm, nqdyn, radius, f) 22 23 print '...Done' 23 24 lon, lat = mesh.lon_i, mesh.lat_i
Note: See TracChangeset
for help on using the changeset viewer.