-
SurfMM: Import and export files in Surfer formats to MiraMon
Direct access to online help: SurfMM
Access the application from the menu:
"File | Import | Rasters | GRD (Surfer) -> IMG"
"File | Export | IMG -> GRD (Surfer)"
"File | Export | VEC -> DAT (Surfer)"
Presentation and options
This program allows the following transformations between Surfer formats and the formats of MiraMon:
Import grids:
given a Surfer grid file (GRD), it is possible to generate the corresponding MiraMon raster file (IMG) with its metadata file (I.REL), based on the information in the GRD header. The Surfer grid should be in ASCII format (care should be taken when exporting from Surfer) and the resulting IMG is always real format. Although MiraMon raster format requires the same resolution in both dimensions and, therefore, a square pixel size, the program allows importing Surfer grids with non-square pixel sides. In this case a bilinear geometric correction is performed to resample the original data to a net of equally spaced square pixels with the side equal to the smaller of the two dimensions of the original.
Export rasters:
allows exporting any uncompressed MiraMon raster format to the Surfer grid format. When the input raster file is a compressed (RLE) file, it is necessary to use the IMGIMG application to uncompress it. It is also possible to apply a multiplication factor to the raster values when writing the corresponding 'Z' coordinates to the GRD format file.
Export point files:
unstructured point 2D or 3D vector files (VEC) can be exported to Surfer data (DAT) format. The attribute of the VEC file must be numerical. Files in the corresponding Surfer format (DAT) can be imported using the BDPNT application which will produce a structured point file (PNT).

Dialog box of the application

Syntax
Syntax:
- SurfMM 1 InputFile OuputFile
- SurfMM 2 InputFile OuputFile [/FACTOR_Z]
- SurfMM 3 InputFile OuputFile
Options:
- 1:
Import grids: GRD->IMG
- 2:
Export rasters: IMG->GRD
- 3:
Export point files: VEC->DAT
Parameters:
- InputFile
(Input file -
Input parameter): File to import/export.
- OuputFile
(Output file -
Output parameter): Is the resulting file containing the data from the original file in the desired format
Modifiers:
/FACTOR_Z=
(Factor Z)
The scaling factor that multiplies the values of the IMG raster to generate the 'Z' coordinate of the Surfer DAT file. This factor is optional, if not specified the default is 1. (Input parameter)
Surfer is a registered trademark of Golden Software, Inc.
MiraMon is a registered trademark of Xavier Pons.