Difference between revisions of "User:Jmandel/WRF-Fire output to VAPOR conversion"
Line 1: | Line 1: | ||
==VAPOR conversion tools== | ==VAPOR conversion tools== | ||
− | Most likely, conversion of data from WRF-Fire can be achieved by a short script calling the following command line tools. | + | Most likely, conversion of data from WRF-Fire can be achieved by a short script calling the following command line tools, supplied with VAPOR. |
===WRF to VAPOR=== | ===WRF to VAPOR=== | ||
− | The '''wrfvdfcreate'''/'''wrf2vdf''' convert '''wrfout''' files to '''.vdf''' format. These are executables not scripts, and controlled by command-line arguments. The conversion should involve computing node height from the [[Wikipedia:Geopotential|geopotential]] to node vertical cartesian coordinates (variable ELEVATION) and the interpolation from staggered wind mesh | + | The '''wrfvdfcreate'''/'''wrf2vdf''' convert '''wrfout''' files to '''.vdf''' format. These are executables not scripts, and controlled by command-line arguments. The conversion should involve computing node height from the [[Wikipedia:Geopotential|geopotential]] to node vertical cartesian coordinates (variable ELEVATION) and the interpolation from staggered wind mesh. |
Documentation: | Documentation: |
Revision as of 17:10, 8 July 2010
VAPOR conversion tools
Most likely, conversion of data from WRF-Fire can be achieved by a short script calling the following command line tools, supplied with VAPOR.
WRF to VAPOR
The wrfvdfcreate/wrf2vdf convert wrfout files to .vdf format. These are executables not scripts, and controlled by command-line arguments. The conversion should involve computing node height from the geopotential to node vertical cartesian coordinates (variable ELEVATION) and the interpolation from staggered wind mesh.
Documentation:
- wrf2vdf man page
- wrfvdfcreate man page
- WRF getting started
- WRF support manual. Possibly fire image can be added on the ground just like terrain from geotiff files (Ch. 2) or user surface image (Sec 5.3).
Examples:
NetCDF to VAPOR
ncdf2vdf is a more general utility.
- Is it possible to convert and use data at different resolutions (fire mesh, atmospheric mesh?
- What about staggering of the wind mesh?
- And conversion of geopotential to node height?
Documentation:
Examples:
- conversion of EULAG output (page 11)
NetCDF manipulation utilities
We could use a command line tool to subset wrfout files to leave only variables of interest so that the smaller file can be transferred more easily. There are several packages of utilities that can be used to build a script to do this. However many are out of date.
- ncks program in NCO
- Unidata help archives