import raster as horizon
import raster as horizon reads several different raster format files as a single horizon in EVS geology format. These formats include DEMs (*.dem), Surfer grid files (*.grd), MrSID files (*.sid), ArcInfo ADF grids (*.adf), SDTS (*.catd.ddf), GeoTIFF (*.tif), and JPEG (*.jpg) files. Multiple import raster as horizon modules can be combined with combine horizons into a 3D geologic model. Alternatively, a single file can be displayed as a surface (with surface from horizons), or you can export its coordinates (with export nodes) to use the values in a GMF file.
Large rasters can be reduced with the Downsize setting or cropped to a sub-range of rows and columns with the Min/Max I and J settings. Max Total Resolution guards against accidentally creating an extremely large horizon.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | Output Geologic Field | Field | The main geologic field output from the module. |
| Output | Geology Export Output | Vistas Data | Information required for direct exporting of geology to other software. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | When on, the module runs when any of the input parameters are changed. When off, the Execute button must be pressed for the module to run. |
| Execute | Button | Forces the module to run. If pressed and the application is saved, the module will run when the application is loaded. |
| Filename | File | The raster file to read. Supported formats include DEMs, Surfer grid files, MrSID files, ADF files, and others. |
| Material Number | Integer | The material number for the surface being read. |
| Coord Units | String | The coordinate units for the surface being read. The default is m (meters). |
| Surface Name | String | The surface name for the surface being read. The default is Layer_0. |
Surface Controls
| Property | Type | Description |
|---|---|---|
| Raster Band | Integer | Selects a single raster band when reading image formats such as JPEG or TIFF. |
| Downsize | Integer | Reduces the resolution of the input raster. A value of 0 reads the raster at full resolution. |
| Blanks As Null | Boolean | Specifies that points marked to be blanked out in the raster are left out of the geologic model when it is created. It is highly recommended to leave this on. |
| Min I | Integer | Crops the lower bound of the raster in the I (column) direction. |
| Max I | Integer | Crops the upper bound of the raster in the I (column) direction. The default of -1 uses the full extent. |
| Min J | Integer | Crops the lower bound of the raster in the J (row) direction. |
| Max J | Integer | Crops the upper bound of the raster in the J (row) direction. The default of -1 uses the full extent. |
| Max Total Resolution | Integer | Causes the module to report an error if the generated geology has more points than this amount (default 50000). |