WMS

Tips for Building a CE-QAUL-W2 Model

Are you building a CE-QUAL-W2 model in WMS? CE-QUAL-W2 is a 2D laterally averaged hydrodynamic and water quality model. It can model vertical variance, eutrophication, seasonal turnover, algal blooms, etc. if incoming pollutants are known. Setting up a CE-QUAL-W2 simulation involves dividing the reservoir into segments, branches, and layers and determining the geometric properties of each segment, branch, and layer.

When building a CE-QUAL-W2 model, keep the following in mind:

  • Make certain that the site you have chosen is appropriate for the CE-QUAL-W2 numeric model. It is best applied to long and narrow water bodies that have longitudinal and vertical water quality gradients. The further your site location deviates from a long and narrow water body, the less ideal it is to CE-QUAL-W2.
  • Example of smoothing an arc for a CE-QUAL-W2 model
  • When setting up branches, you may need to remove smaller branches and offshoots. This may particularly be the case if you used the TIN Boundaries to Features command. Using this command can end up including small branches and offshoots that are unnecessary for the final model. Each branch should be examined and judgment exercised on the importance of including it in the model. To remove the unnecessary branches, smooth out the bounding polygon.
  • Before smoothing out a bounding polygon, it is recommended that you duplicate the original map coverage in order to retain the original coverage data. Then use the map tools to smooth out the bounding polygon for the coverage that will be included in the model. Remove any extra coverages when you finish smoothing the bounding polygon.
  • Verify that all segments are measured and assigned correctly. This is done by double-clicking on any segment in the segment coverage and using the Polygon Segment Attributes dialog to review each of the segments. Either enter values for segments that are missing attributes or remove the segment.
  • Review branches through the Polygon Branch Attributes dialog. This is accessed by double-clicking on any branch in the branch coverage. Make certain to enter values for all branches.

Using the tips above can help assure that your CE-QUAL-W2 model executes correctly. For additional support, contact our technical support staff. Try out CE-QUAL_W2 in WMS today!

Blog tags: 

Using the Database Import Wizard in WMS

Do you have data stored in a database that you would like to import into your WMS project? Occasionally you might find yourself with a database that needs to be imported into your WMS project. This might be a geodatabase or some other sort of database containing GIS data that WMS does not recognize natively.

To import a database, WMS uses the Import Database Wizard. The wizard is accessed through the Import From Database command in the File menu. Once the wizard has been launched, there are a few steps you need to follow.

  1. Connect to a database. Use the Connect to Database button to connect to a database located on your computer or on a network. A preview of the database will be displayed in the tables in the wizard.
  2. The Import Database Wizard
  3. Query information from a database table. You will have the option to create, copy, delete and import queries that retrieve data from the database. The query uses basic SQL statements which can be entered in the provided fields.
  4. View results of the query. The results of the database query are displayed for you to review. If the results are not what you expected, you will have the option to return to the previous step to fix the issues.
  5. Assign column type. You can select the kind of data that will be imported into WMS. The kind of data should be of the file types supported by WMS. There is also the option to set files as "no data".

After the data has been imported into your project, you can make use of the coordinate transformation tools in WMS to transform or translate the data if necessary.

If you have a database with data you would like to import into WMS, try using the Import Database Wizard in WMS today!

Blog tags: 

Making Use of WMS Contour Labels

Does your watershed project need to display contour elevations values? WMS (as well as SMS and GMS) have the ability to use contour labels to help determine elevation levels at a glance, which can be very helpful for many projects, especially when modeling drainage. This post will review the different ways that contour labels can be utilized within WMS.

Example of contour labels

There are essentially two different forms or methods when it comes to applying contour labels to contours when working in WMS: manual and automatic. In both cases, the way contour labels are displayed can be modified in the Contour Label Options dialog, which can be accessed by clicking the Label Options… button when the Contour Options dialog has been brought up. Here there are options for color, orientation, font, scientific precision, etc. There is also a button to "Erase all existing contour labels" and start over from the beginning.

The manual method consists of using the Place contour label tool to click on contours and manually assign contour labels to the positions the user chooses. This option is only available in certain modules, such as 2-D Grid and Terrain Data. Note that these may disappear when options in the Contour Label Options dialog are modified, so it may be best to determine the contour options before you manually place contour labels. Labels can also disappear when contouring options are changed, when the Graphics Window is refreshed, or can even be manually deleted when holding down Shift and clicking on a label with this tool active.

The automatic method consists of using the Automatic Labels section in the Contour Label Options dialog to automatically populate labels along the contours. When activated, this allows you to set how many of the contours should be labeled, which contour to start with, and how far apart the labels are spaced out. Unlike in the manual method, changing options for these labels should not delete them, as they should automatically repopulate based on current settings when the OK button is clicked to close the Contour Label Options dialog.

While every project will be different, when using contour labels, some recommended settings to start off with would be to use "Color Fill and Linear" as the Contour Method, and to automatically space out labels. This way more discrete contours as well as gradient values can be easily displayed and it will be easy to determine at any given location what the elevation is. Also recommended is to avoid using white text in most instances, as it is usually difficult to read, except perhaps in instances where color fill is used.

Try out experimenting with contour labels in WMS 11.1 today!

Blog tags: 

Performing a Silent Install for ALS

Are you an IT administrator needing to perform a silent install of GMS, SMS, or WMS in a classroom or office? We have gone over the process to do this in the past. However, our licensing methods have changed since those instructions were first written. Because of this, we have felt it would be useful to update our users on the new method of configuration so they will be able to properly set up their silent installs. This post will review registration for the new licensing method and how to perform silent installs with it.

This silent install (or quiet install) workaround requires each user to have the rights to modify the registry. If registry access is restricted, a network administrator can do this by opening the Group Policy Management Editor and creating a startup script that automatically runs the batch file whenever the computer is restarted.

Note: Editing the Registry in Windows is a very advanced administration step. Please always create a backup of the Registry before making changes.

It can be a burden to manually update the local code in HKEY_CURRENT_USER for each user on each computer. The silent install process is simplified by creating a Windows Registry file that contains the license information and a batch file that can be executed to insert the registry information and launch WMS. The batch file automatically updates the registry for the user and then opens the WMS application. This is the safest way to edit the registry key, as well. The batch file can then be placed on each computer that needs to be updated, and the individual users can execute it as needed.

This workaround uses WMS as an example. This information also applies to GMS and SMS. You can see an example of a registry file in step 1 and the batch file in step 2, below.

  1. Create a file, "Netenble.001.reg", as follows:
    Windows Registry Editor Version 5.00M
    "ALS"="1"
    "ALSHost"="127.0.0.1"
    "ALSPort"="56789"

    ALS = 1 specifies the new registration wizard, with new "Local" codes beginning with L, F, or E, instead of 0 for the old network lock. ALSHost = 127.0.0.1 because the code is being located on the local machine. And ALSPort = 56789 should be the default - you can alternatively specify your own port if you would like. You could also specify an ALSCode (license code) as well if you don’t want registration to be required when first launching WMS.
    Note: This information was created using Windows 10. Because different Windows versions can have different REG file formats, we recommend you install WMS on one machine, register it to the correct local code, then export the registry key. Open the registry file in the text editor and remove every line except those similar to those shown in the image above, and save the file as "Netenble.001.reg".
  2. Create a file, "wms11.bat", that will update the registry and start WMS:
    reg import Netenble.001.reg
    wms.exe
  3. Place these two files in the WMS folder in the image that will be distributed to the affected computers. For example, for the 64-bit version of WMS 11.1, the default location for the folder is “C:\Program Files\WMS 11.1 64-bit\”.
  4. Create a desktop shortcut to the batch file for the convenience of the user. If doing this via a startup script in the Group Policy Management Editor, this step can be skipped.

This silent install workaround can save you significant time as a network administrator. If you experience issues while performing a silent install, feel free to contact Aquaveo for assistance.

Pages