GfsOutputGRD

From Gerris

Revision as of 00:31, 5 May 2010; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

OutputGRD writes a raster (or gridded) dataset using the ESRI grid ASCII format. This is typically used to import 2D fields into a GIS application.

The syntax in parameter files is:

[ GfsOutputScalar ] { xll = 1523880 yll = 5430180 }

where the parameter block is optional. The xll and yll parameters are the coordinates of the lower-left corner of the gridded dataset. If not specified, they are set to zero. By default the grid "pixels" are the square cells at the highest level of refinement. The level of the cells taken into account can be controlled using the maxlevel option of GfsOutputScalar. Setting maxlevel can also be useful to control the size (in grid points) of the file produced: when maxlevel is set the size of the grid will always be a multiple (depending on the number of boxes in the computation domain) of 2^maxlevel. This holds even when the number of levels in the simulation changes due to adaptive refinement.

Note that this object is only available for 2D simulations.

Note also that this object has not been "parallelised" yet.


Personal tools
communication