Changes between Version 8 and Version 9 of ProcessingOutput
- Timestamp:
- 09/30/14 15:31:36 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProcessingOutput
v8 v9 21 21 == Visualization with Paraview == 22 22 23 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.23 DYNAMICO, with or without XIOS, now produces files that can be directly read and visualized by Paraview. 24 24 25 == Interpolation to lat-lon with nco and cdo == 26 27 [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. 25 == Grouping fields together for nco and cdo post-processing == 26 [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 currently split in separate files, unless XIOS output is used. The following commands will merge the necessary data in a single file that can be processed by cdo. 28 27 29 28 {{{ … … 33 32 }}} 34 33 35 At this point merged.nc contains the surface pressure data (ps.nc) and the metadata expected by CDO. Additional fields can be merged into the same file using 'ncks -A' provided they are associated hexagons. This includes potential temperature (theta.nc), surface geopotential (phis.nc), geopotential (phi.nc). 34 At this point merged.nc contains the surface pressure data (ps.nc) and the metadata expected by CDO. Additional fields can be merged into the same file using 'ncks -A' provided they are associated to hexagons. This includes potential temperature (theta.nc), surface geopotential (phis.nc), geopotential (phi.nc). 35 36 The above manipulations are not needed on files written through XIOS. These files can directly be used with cdo. 37 38 == Interpolation to lat-lon with nco and cdo == 36 39 37 40 CDO needs a text file describing the target grid : 38 39 41 {{{ 40 42 cat > mygrid << EOF … … 51 53 In the above example the text file mygrid describing regular mesh with 1-degree resolution is created. 52 54 Finally cdo can be invoked to interpolate all fields to a lat-lon grid : 53 54 55 {{{ 55 56 cdo remapdis,mygrid merged.nc latlon.nc … … 59 60 60 61 This procedure is an interim solution which should be replaced by built-in output to lat-lon grids in the near future. 61