Difference between revisions of "User:Jmandel/WRF-Fire output to VAPOR conversion"

From openwfm
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
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. Supplied with 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.
 
 
Possibly fire image can be placed on the ground just like terrain by from geotiff files.
 
  
 
Documentation:
 
Documentation:
Line 12: Line 10:
 
* [http://www.vapor.ucar.edu/docs/reference/index.php?id=man/wrfvdfcreate wrfvdfcreate man page]
 
* [http://www.vapor.ucar.edu/docs/reference/index.php?id=man/wrfvdfcreate wrfvdfcreate man page]
 
* [http://www.vapor.ucar.edu/docs/usage/wrfstart/WRFGetStarted.pdf WRF getting started]  
 
* [http://www.vapor.ucar.edu/docs/usage/wrfstart/WRFGetStarted.pdf WRF getting started]  
* [http://www.vapor.ucar.edu/docs/usage/wrfprep/WRFsupport.pdf WRF support manual]
+
* [http://www.vapor.ucar.edu/docs/usage/wrfprep/WRFsupport.pdf 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:
 
Examples:
Line 33: Line 31:
 
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.
 
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 [http://nco.sourceforge.net/ NCO]
+
* '''ncks''' program in [http://nco.sourceforge.net/ NCO] [http://nco.sourceforge.net/nco.html#index-ncks-1080 ncks man page]
* [http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg02935.html Unidata help archives]
+
 
 +
===See also===
 +
 
 +
* [http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg02935.html Unidata help archives about extracting variables from NetCDF files]

Latest revision as of 03:48, 5 November 2011

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:

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:

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.

See also