User:Jcreer/SMS:Corrupt Project Data

From XMS Wiki
Jump to navigationJump to search

Occassionally, files used in SMS become corrupted. This can happen for a few reasons:

  • A file was blocked from saving correctly by system security
  • The save process was terminated early
  • Project files were copied incorrectly or without all necessary files
  • An unknown error occured

When files become corrupted, contact Aquaveo technical support to report the issue.

Rebuilding a Corrupted Project

While the corrupted project file itself cannot be restored, the component pieces of the project can be reassembled in SMS and saved out as part of a new project file. Below is a list of the file types to reassemble:

  • [project name].map: The Map Module coverages saved to the project. The model-specific boundary conditions will likely need to be entered again.
  • [project name]_meshes.h5: These are the meshes that were in the project. Load this before loading any of the datasets saved in the [project name]_datasets folder. Although not pictured in the example screenshot below, you may have a similar file for scatter sets.
  • Any GIS layers, such as rasters or shapefiles, will need to be loaded again.

For SRH-2D models, use the following files to import the SRH-2D simulations:

  • Similar to loading in the *.map file, reload SRH-2D simulations (including the coverages linked to them) by loading the SRHHYDRO file, found under the [project name]\SRH-2D\[simulation name] folder(s).
  • To load solutions for SRH simulations that were already run, import the XMDF.h5 file from the same directory as the SRHHYDRO file.