Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A command line program used to convert model data (hycom,ncom,roms,etc) to vtk format for easy visualization in Visit
C Python Perl Other
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


Author: Nathan Crock

Date:    04/09/12    14:43

----------- Convert to VTK ------------


    Convert model output to vtk file format for easy visualization in Visit!
    This project is being designed as an extensible utility, if someone has a
    need to convert a data type specific to a model not yet supported they can
    simply write their own conversion module. The idea is to have a simple
    command line tool for researchers to easily and painlessly get their model
    output into the Visit visualization suite.

OS SUPPORT: Only tested on Linux so far

            Ubuntu 10.04, 10.10, 11.04, 11.10, 12.04

        c2v - The front end. Parses parameter files and formats data - The class, calls appropriate modules for conversion - A sample movie script, for those who want to generate
                          animations with their data. See further instructions online.
        libs |
             | bin - NetCDF python interface
             | lib64 - The netcdf4 and visit_writer libraries
             | netCDF4-0.9.7 - NetCDF version compiled in source. Try not to
                               make it an external dependency
        modules |
                | - A module for converting data specific to
                |                    Dmitry Dukhovskoy
                | - A prototype for a hycom binary converter
                |                          Much more work needs to be done, such as
                |                          interpolation and binary slicing.
                | - Fully functional hycom z level grid converter.
                |                     This will convert hycom z level files to vtk 
                | - Converts ncom model output to VTK
                | - Converts roms model output to VTK
        parameter_files |
                        | parameter.txt - An example conversion parameter file.
        scripts |
                | - An example of using a script to convert
                                      multiple files.

DEPENDENCIES:   netCDF4-0.9.7 (packaged internally) // May need to recompile for your 


    It's a script, so nothing for the project needs to be compiled. One may need to 
    compile the dependencies. the NetCDF4-0.9.7 library and the The
    visit writer was taken from the libraries section of the visit source code. If
    you have a local version installed on your computer, just copy that file into the 
    libs directory


    "Believing in the way, makes the way!"
Something went wrong with that request. Please try again.