GMS:Importing an MT3DMS Simulation: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
Line 5: Line 5:


===CON File===
===CON File===
GMS does not read in the .ucn file generated in MT3DMS/[[GMS:SEAWAT|SEAWAT]] simulations outside of GMS.  The source code of MT3DMS was changed to create a .con file instead.  If you would like to import .ucn files, you need to copy the MT3DMS code modified for GMS and paste it into the source code of the version of MT3DMS or SEAWAT you are using and recompile it.
The source code of MT3DMS was changed to create a .con file instead of the default .ucn fileGMS can read either the .con or .ucn file. The .con file is written in the [[GMS:Data_Set_Files#Binary_Data_Set_Files|GMS binary data set format]].


===Importing Super Files===
===Importing Super Files===

Revision as of 23:01, 4 November 2011

It is often necessary to import an MT3DMS simulation that was not generated by GMS. Since GMS uses the standard MT3DMS file format, this is not a problem in most cases. However, there are a few steps and precautions that should be taken.

File Formats

GMS uses the standard MT3DMS file formats described in the MT3DMS documentation (Zheng, 1998). The files you are importing must match these formats exactly. If the files were generated for a version of MT3DMS that uses a different set of file formats, the files will need to be edited before they can be successfully imported to GMS.

CON File

The source code of MT3DMS was changed to create a .con file instead of the default .ucn file. GMS can read either the .con or .ucn file. The .con file is written in the GMS binary data set format.

Importing Super Files

GMS uses an MT3DMS super file to organize the files used by an MT3DMS simulation. This file is not a standard MT3DMS file. One approach to importing an externally defined simulation is to create an MT3DMS super file containing the names of the files used in the simulation using a text editor.