Changes between Version 3 and Version 4 of ProcessingOutput


Ignore:
Timestamp:
09/10/13 10:25:45 (11 years ago)
Author:
dubos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProcessingOutput

    v3 v4  
    66== Visualization with VTKMapper == 
    77 
     8{{{ 
    89mapper.py -n 100 -p orthographic ps.nc ps 
     10}}} 
    911 
    1012== Visualization with Paraview == 
     
    1214Paraview 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. 
    1315 
    14 == Interpolation to lat-lon with cdo == 
     16== Interpolation to lat-lon with nco and cdo == 
    1517 
    1618[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. 
    1719 
     20{{{ 
     21ncks -O time_counter.nc merged.nc 
     22ncks -A apbp.nc merged.nc 
     23ncks -A ps.nc merged.nc 
     24}}} 
     25 
     26At 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 
     28Then nco can be invoked to interpolate all fields to a lat-lon grid : 
     29 
     30{{{ 
     31cdo remapdis,r180x90 merged.nc latlon.nc 
     32}}} 
     33 
     34In 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 
     36This procedure is an interim solution which should be replaced by built-in output to lat-lon grids in the near future. 
     37