Changes between Version 3 and Version 4 of ProcessingOutput
- Timestamp:
- 09/10/13 10:25:45 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProcessingOutput
v3 v4 6 6 == Visualization with VTKMapper == 7 7 8 {{{ 8 9 mapper.py -n 100 -p orthographic ps.nc ps 10 }}} 9 11 10 12 == Visualization with Paraview == … … 12 14 Paraview requires some data and metadata that are not currently provided in the NetCDF output. Yann has done the required modifications and will commit them soon. 13 15 14 == Interpolation to lat-lon with cdo ==16 == Interpolation to lat-lon with nco and cdo == 15 17 16 18 [https://code.zmaw.de/projects/cdo cdo] can interpolate from unstructured meshes to lat-lon grids. However it also needs in a single file data and metadata that are current split in separate files. The following commands will merge the necessary data in a single file that can be processed by cdo. 17 19 20 {{{ 21 ncks -O time_counter.nc merged.nc 22 ncks -A apbp.nc merged.nc 23 ncks -A ps.nc merged.nc 24 }}} 25 26 At this point merged.nc contains the surface pressure data (ps.nc) and the metadata expected by NCO. Additional fields provided they are associated hexagons. This includes potential temperature (theta.nc), surface geopotential (phis.nc), geopotential (phi.nc). 27 28 Then nco can be invoked to interpolate all fields to a lat-lon grid : 29 30 {{{ 31 cdo remapdis,r180x90 merged.nc latlon.nc 32 }}} 33 34 In this example a regular mesh with 2-degree resolution is used. latlon.nc can be visualized using ncview or read/processed by standard tools. 35 36 This procedure is an interim solution which should be replaced by built-in output to lat-lon grids in the near future. 37