Views:

Description

Sometimes, "Detailed WM/WQ Time Series" plots ('Results' tab) may appear as blank / missing, following a MIKE SHE simulation - see Fig. 1.
 

Fig. 1 - Detailed Time Series plots display an issue in MIKE SHE Results tab
 

This is a common issue, which, however in many cases, is not directly related to the MIKE SHE software, but instead to Windows components. The following are our suggestions and workarounds to overcome this problem and display the plots:

#01 - The MIKE SHE Results folder needs to match the original one
The most common core problem is a change in the results directory. The time series html files are being created in the results folder and with a hard coded path during the simulation. If the user later changes the results folder, then the plots will not be displayed as they used to be. If this happens the user can try to set a custom result folder matching the original one.
 

#02 - The MIKE SHE model setup (.she) file needs to be opened with the same way it was originally created

It may be possible that the MIKE SHE setup file has not been opened according to the way it was initially created. If the MIKE SHE setup file was part of a MIKE Zero project, then in order to access the Detailed WM Time Series plots, the user first needs to open the MIKE Zero project and then the MIKE SHE setup file (i.e. from within the MIKE Zero Project explorer). If the MIKE SHE setup file has been created and accessed on its own (directly via the MIKE Zero GUI), then the user needs to open the .she setup file directly (i.e. from Windows explorer by double clicking on the .she setup file or from MIKE Zero GUI > 'File' menu > 'Open File' command).
 

#03 - Accessing the model setup file over a network

Another possible cause for not displaying the Detailed Time Series plots, may be in the case the .she model setup file is accessed over a network. In that case the user should map it to a drive first - see Fig. 2.
 


Fig. 2 - Mapping the network drive


#04 - Long Windows paths

Sometimes the problem may be that the Windows path is too long (limit is 260 characters), in which case you need to copy the whole MIKE SHE model setup folder in a shorter path location in C: drive (note the Results folder is automatically created after the simulation starts running and needs to be taken into account).


#05 - Workaround with html editing

If the above doesn’t work, here follows a workaround that should enable viewing the plots.

Find the model results folder, then the sub-folder “HTML” (“<setupName>.she – Result Files\HTML”)

  • There are several .html files in that folder called DetTS0001.html etc.
  • Open with a text editor (e.g. notepad) and insert the following line at the beginning of each of those files:

<meta http-equiv="X-UA-Compatible" content="IE=10; IE=9; IE=8; requiresActiveX=true" />
 
If all plots are on a single page, then there is no “HTML” folder. In that case:

  • Find the model results folder (“<setupName>.she – Result Files”)
  • There is an .html file in that folder called <setupName>DetailedTS.html
  • Open with a text editor (e.g. notepad) and insert the line somewhere within the <head> section

It is Ok if you add the line both to the master AND the sub-html files.

 

Alternatively, you can create a Windows batch script (.bat) that goes through each .html file in a folder and inserts the specified meta tag at the beginning of each file. Here's how to do it safely:

 

@echo off
setlocal enabledelayedexpansion

REM Define the line to add
set "<meta http-equiv="X-UA-Compatible" content="IE=10; IE=9; IE=8; requiresActiveX=true" /> "

REM Loop through all .html files in the current directory
for %%f in (*.html) do (
    echo Processing: %%f

    REM Create a temporary file
    (echo !meta! & type "%%f") > "%%f.tmp"

    REM Replace the original file with the modified one
    move /Y "%%f.tmp" "%%f" >nul
)

echo Done.
pause

 

You may also try to perform all the windows updates, then uninstall and reinstall MIKE SHE (it may be possible that a windows update has modified a windows component that is associated with the MIKE SHE installation).
 


Note:

  • The “Detailed Time Series Output” plots are auto-generated from the user interface and it is not easy to access these html plots outside of the user interface. However, all the data is stored in the Results directory (as dfs0 timeseries), which makes it possible to generate equivalent plots in e.g. MIKE Zero applications (Time series editor, Results Viewer, Plot Composer), MIKE View, or Spreadsheet editor such as Excel.


Conclusion
There are various workarounds to resolve the display issue (missing graphs) for MIKE SHE Detailed Time Series plots that may be occasionally encountered in MIKE SHE installations due to certain Windows components not communicating with MIKE SHE as expected.


FURTHER INFORMATION & USEFUL LINKS

Manuals and User Guides
MIKE SHE Documentation Index

Training options
MIKE SHE - Getting started with integrated hydrological modelling

Related Products: Hydrology & Hydraulics Subscription Package, MIKE SHE