Template:Quadratic Friction: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
m (Protected "Template:Quadratic Friction" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
Line 1: Line 1:
__NOINDEX__
===Quadratic Fiction===
===Quadratic Fiction===
The ''Quadratic Friction'' tool is used to populate the spatial attributes for the quadratic friction coefficient at the sea floor.  A new dataset is created from NLCD, C-CAP, or other landuse rasters.
The ''Quadratic Friction'' tool is used to populate the spatial attributes for the quadratic friction coefficient at the sea floor.  A new dataset is created from NLCD, C-CAP, or other landuse rasters.

Revision as of 21:11, 5 August 2021

Quadratic Fiction

The Quadratic Friction tool is used to populate the spatial attributes for the quadratic friction coefficient at the sea floor. A new dataset is created from NLCD, C-CAP, or other landuse rasters.

The tool will extract values from the raster object specified by the tool. For each node in the geometry, the "area of influence" is computed for the node. The area of influence is a polygon that represents the area of the geometry around a node. This is computed as the area encompassing the node and half the distance to each of his neighboring nodes. All of the raster values within the area of influence are extracted from the visible raster objects. A composite quadratic friction value is computed taking a weighted average of all the raster values. If the area of the extracted values is less then the area of influence around the node (because the process passed the extent of the raster objects or encountered null values), the default value is used to compute the quadratic friction using the area not represented in the values.

The Quadratic Friction tool dialog contains the following options:

  • Input landuse raster – This is a required input parameter and should cover the entire target grid. Specify which raster in the project to use when determining the quadtratic friction.
  • Landuse raster type – This is a required parameter. Specify what type of landuse raster to use.
    • "NLCD" – Sets the landuse raster type to National Land Cover Dataset (NLCD). A mapping table file for NLCD can be found here.
    • "C-CAP" – Sets the landuse raster type to Coastal Change Analysis Program (C-CAP). A mapping table file for C-CAP can be found here.
    • "Other" – Sets the landuse raster type to be set by the user. This adds an option to the dialog.
      • Landuse to quadtratic friction mapping table – The Select File... button will allow a table file to be selected. The entire file name will be displayed in the text box to its right.
  • Target grid – This is a required input parameter. Specify which grid/mesh the canopy coefficient dataset will be created for.
  • Default quadtratic friction option – Set the default value to use in computing the quadtratic friction using the area not represented in the values. This can be set to "Constant" to use a constant value or set "Dataset" to select a dataset to use.
    • Default quadtratic friction value – Enter the a value to use as a constant default value.
    • Default quadtratic friction dataset – Select a dataset to use as a default value.
  • Subset mask dataset – This optional option allows using a dataset as a subset mask.
  • Output quadtratic friction dataset – Enter the name for the new quadtratic friction dataset.

If the landuse type is chosen as NLCD or C-CAP, the default values below are used in the calculation. If there is a different landuse raster type, or wishing to use values that differ from the defaults, specify the raster type as "Custom" and provide a CSV file with the desired values.