Aquaveo & Water Resources Engineering News

Exporting Data in CityWater

CityWater allows managing your water distribution network models. As an online application, it allows individuals across the organization to visualize, reference, and analyze existing models in a familiar map-based browser environment while maintaining the data integrity of the model.

When viewing the project details, the Export tab allows three different files to be exported for your use in other applications: a Report Map Shapefile, a Network Map Shapefile, and an EPANET Input File.

Export tab in CityWater

The Report Map Shapefile allows you to select the Variable and Time options to include in the file. For Variable, you can select from head, pressure, quality (links), quality (nodes), demand, pressure swing, velocity, or headloss. The time options include average, minimum, or maximum. Based on the selections, a shapefile with those options will be exported when you click the Export Report Map button.

The Export Network Map button under the Network Map Shapefile option will export a shapefile of the network map, including all the links/pipes, nodes/junctions, and other features. This can then be imported into WMS or any other application that works with distribution networks.

The final option, EPANET Input File, creates an EPANET input file that can be used in any application that can import it. This plain text file contains all the pipe networks information, including pipes, nodes (junctions), pumps, valves, storage tanks, and reservoirs. It also contains additional project and preference information used by the EPANET desktop application.

An additional option allows you to save the current view when in the Map view:

  1. Adjust the map view to how you want it
  2. Right-click anywhere on the map and select Save image as…

This will automatically save the current map view as “download.png” in your downloads location on your computer.

Try out these export features today by logging in at https://portal.aquaveo.com/. If you don’t have an account, use "trycitywater" as the username and password to see an example project.

You can also learn more about using CityWater by watching our tutorial videos.

Blog tags: 

Exporting SRH-2D Results

After completing an SHR-2D model in SMS, are you needing to export the results so that they can be examined by someone not using SMS? SMS provides a few different ways that SHR-2D results can be exported.

ASCII and Binary

The simplest method of exporting SRH-2D results is to export them as either a generic ASCII file or binary file. This is done by doing the following:

  1. In the Project Explorer, right-click on the SRH-2D solution dataset and select Export.
  2. In the Export dialog, select to export the dataset as either a generic ASCII file or a generic binary file.
Shapefile

Shapefiles can be opened by a multitude of programs, making it a useful format to use when sharing your results. To export a dataset as a shapefile, do the following:

  1. In the Project Explorer, select the solution dataset and time step you want to export.
  2. Use the File | Save As command.
  3. In the Save As dialog, change the File Type to be "Shapefile (*.shp)".

The dataset can then be saved using the mesh contours to create either an arch shapefile or a polygon shapefile.

Raster

Raster files are also a file format that can be used by many different programs. To convert your SRH-2D solution sets into a raster file, do the following:

  1. Convert the mesh with the solution sets into a scatter set by using the Data | Mesh to Scatterpoint command.
  2. Select the desired dataset and time step under the converted scatter set.
  3. Right-click on the scatter set and select Convert | Scatter to Raster.
  4. Save out the raster file.
Text File

A delimited text file allows you more control over what is exported. To export your solution set as a text file:

  1. Select the File | Save As command.
  2. In the Save As dialog, change the File Type to be "Tabular Data Files (*.txt)".
  3. Use the Export Tabular Data dialog to specify how the file will be set up, which datasets to export, and which time steps to use.
Exporting SRH-2D datasets as a text file

These are just a few of the ways that SHR-2D solution files could be exported. After exporting the solution set, follow the user guidelines for importing the file into other software. Other file export options are also available, try them out in SMS today!

Blog tags: 

Sharing GMS Project Files

As many of us work in a collaborative environment, sharing projects becomes essential. When sharing a GMS project, it is not as simple as sending over just the GMS project group file (*.gpr) project file. GMS projects are stored in multiple separate files that work together. When sharing a GMS project, it is important to include all of the necessary files.

GMS projects are saved as a project group file (*.gpr). This file saves feature objects, projection data, data objects and other general settings. However, it only references many other aspects of a project that are contained in separate files. It will reference the location of all external files such as shapefiles (*.shp, *.dbf, *.prj, etc.), images, CAD files, grid files, etc. When sharing a GPR file, the file needs to be able to locate these external files. Ideally, these files should be located in the same folder as the GPR file. This is why it is recommended to zip all the project files together before you send it out to be shared.

GMS project files

When your project contains a MODFLOW model, it is important to know that GMS saves the MODFLOW project in separate files. For example, each package saved as a different file. Rivers (*.riv), drains (*.drn), wells (*.wel), streams (*.str), recharge (.rch), etc. are all different packages with different file extensions. Sending over just the package file, such as only sending a wells file, is not much use as GMS will likely be unable to open it.

Along with the MODFLOW package files, GMS will need the MODFLOW name file (*.mfn). This file allows GMS to build the MODFLOW project when it is imported. All other input and output MODFLOW files should be included when sharing your GMS project.

Note that many files will be saved in a folder created next to the GPR file. Files in the folder should be left there and the entire folder should be moved with the GPR file. GMS saves the relative location of files included in the project.

When sharing your GMS project, keeping all of the necessary files together can save the person receiving the project a lot of frustration. For more about GMS file formats, be sure to check out the GMS articles on the XMSWiki and start sharing your GMS projects today!

Blog tags: 

Exporting a High-Resolution Plot

While working in WMS, you may need to export a profile plot or hydrograph at a high resolution. This can be particularly useful when preparing a presentation or sending the results of your project for publication. Having a high resolution plot allows presenting your work at its best. This blog post is meant to show you how to export a high-resolution profile plot in WMS.

The needed resolution of the plot or hydrograph will vary depending on the final output. Resolution for screens and powerpoint presentations does not need to be as high as for print publications. By default, WMS uses a lower resolution for hydrographs and plots to conserve computer processing power. When exporting, higher resolutions can be specified.

In order to export a high resolution plot, a profile plot or hydrograph needs to be created. After generating the profile plot or hydrograph, the below steps will show how to export it with a high resolution.

  1. Right-click on the plot window and select Export/Print.
  2. In the Exporting Profile dialog, select which file type to export and where to save the file.
  3. At the bottom of the dialog, there is an option to set the size and resolution of the file to make it a higher quality image.
Exporting a plot

Remember that, in changing the size of an image, there are limits to how large the image can be. Each image should be scaled to accurately fit within its limited dimensions.

It is recommended to check the export plot file after exporting. It is recommended to open the exported plot file in software outside of WMS to check the resolution. Also review the final file size before sending it. If there is a discrepancy, adjust the export settings in WMS and try again.

Try out exporting your plots and hydrographs from WMS today!

Blog tags: 

Converting Mesh Data to a Raster

After creating a mesh in SMS, you may want to share the data in the mesh as a raster file. For example, you might want to convert the water elevation or velocity dataset from a model run into a raster. Raster files can be opened by many programs and can contain a lot of useful information.

While a raster cannot be created directly from the Mesh module, it can be created from other modules, so the mesh data will need to be converted. To do this:

  1. In the Project Explorer, select the mesh you want to convert to a raster.
  2. Right-click and select Convert | Mesh to 2D Scatter.
  3. In the Convert Mesh to Scatter Points dialog, use the Convert only corner nodes option and give the scatter set a name.

After the mesh has been converted to a scatter set, a couple more things have to be done. The datasets, except for the elevation set, will need to then be interpolated over to the scatter set.

  1. In the Project Explorer, right-click on the mesh and select Interpolate to command.
  2. In the Interpolation Options dialog, select the datasets to interpolate over to the scatter set generated from the Mesh.

Once the mesh and datasets have been converted to the Scatter module, they can be converted to a raster by doing the following:

  1. Select the dataset and time step to be converted.
  2. In the Project Explorer, right-click and select Convert | Scatter to Raster.
  3. Select raster options in the Interpolate Scatter to Raster dialog.
  4. Give the raster a file name and save it as a GeoTIFF.

When going through this process, the active dataset and the active time step at the time of the conversion will be the information saved to the GeoTIFF file.

Mesh data to raster

Feel free to try out the above process of converting a mesh dataset to a raster file in SMS today!

Blog tags: 

Tips for Exporting a MODPATH Project

MODPATH works with MODFLOW to show particle tracking information. Once you have successfully completed a MODFLOW project, you may want to share that information collected through MODPATH with your other colleagues. Exporting the MODPATH data can allow you to share specific information with them.

Typically, the Save As command in the File menu and the right-click Export command in the Project Explorer are used to export MODPATH data from GMS. When using these commands, there are some tips for getting the most out of them.

Exportin MODFLOW
Exporting MODPATH Flowlines to a KMZ File

The flowlines from a successful MODPATH run can be exported as a KMZ file using the Save As command. When doing this, pay attention to the following:

  • Use the Display Options to make the flowline more visible before exporting to a KMZ file.
  • Make certain that the projection/coordinate system of your MODPATH project has been set correctly. KMZ files require that a coordinate system be set therefore GMS cannot create a file if there is no projection.
  • Objects in the Project Explorer can be set to different projections. Be certain to review the projections of all objects when exporting a KMZ file.
Exporting Points

Using the Save As command, the particle points of the MODPATH project can be exported to a shapefile.

  • When exporting particle points from MODPATH it is important to note that endpoints will need to be exported with intermediate points.
  • Another option is to use the Text Tab Delimited Pathline File option, which prints out the location and could be quickly parsed to pull the X and Y locations for the last time step of each particle.
  • MODPATH output can be exported to a shapefile or text delimited file by right-clicking on your MODPATH particle set in the Project Explorer and selecting "Export".
  • In the "Export Particle Sets" dialog that comes up, you can then change the "Save as type" option at the bottom to the type (pathlines, points, vectors), and format (shapefile, text delimited file) you prefer.

Many of these tips apply to exporting other numeric modeling data in GMS. Try out the different export functionalities in GMS today!

Blog tags: 

Obtaining DEM and TIN Data in WMS

For many watershed modeling projects, having the correct DEM or TIN can make a huge difference. Importing a DEM or TIN into WMS can be done in any of a few ways.

The easiest way to obtain a DEM or TIN is to import a file from your computer directly into your project. This can be done using any of the methods for opening a file: the Open command, drag-and-drop, etc.

Once your DEM or TIN file is in WMS, check to make certain it is in the correct module. In order for WMS to make use of DEM or TIN, it often needs to be in the Terrain Data module. Sometimes, a DEM or TIN will be imported as a raster file or scatter set. In order to fix this, the DEM or TIN needs to be converted.

  • When imported as a raster file, right-click on the raster file in the Project Explorer and select Convert To | DEM. Then select the resample size for the DEM.
  • When imported as a scatter set, right-click on the scatter set in the Project Explorer and select Convert | Scatter Points to TIN.

Once the data has been moved to the Terrain Data module, it can be moved from a TIN to DEM or a DEM to TIN as needed. This is done by right-clicking on the DEM or TIN and using the Convert commands.

Converting a DEM to a TIN

Knowing how to convert data to be either a DEM or TIN in the Terrain Data module allows you to make use of the Import from Web and Online Maps functions in WMS to obtain DEMs and TINs. Other data sources can be used, when available.

A DEM can also be obtained when using the Hydrologic Modeling Wizard. In the Download Data step, elevation data can be downloaded that will automatically be placed in the Terrain Data module as a DEM.

Make use of DEMs and TINs in your watershed modeling using WMS today!

Blog tags: 

Using the Select/Delete Data tool in SMS

Do you have a project that requires selecting a specific region of a mesh or grid to properly gather the necessary data for that area? For example, perhaps you need to select the mesh elements in the area of a bridge so that the elements can be refined. In order to accomplish either of this, there are a couple of options.

One option is to change the attributes directly within an already established mesh or grid by selecting individual cells, elements, or nodes. This could be very time consuming in a large mesh or grid.

Other selection tools, such as the Select by Poly tool, could be used. However, another option is to use the Select/Delete Data tool in SMS.

The Select/ Delete Data tool uses a polygon in the Map module to select objects in a grid, or mesh. It can also be used for selecting points or triangles in a scatter set or feature objects on a different map coverage. This can go quickly if you already have the desired polygon created on a map coverage, such as a materials coverage. Furthermore, the tool can be used to delete objects inside the select polygon.

Select/Delete Data in SMS

Only a few steps are needed in order to use the Select/ Delete Data tool.

  1. After locating the area that needs to be altered, use the Create Feature Arc tool to enclose the desired area or use an existing polygon.
  2. Next, build a polygon using the Feature Objects | Build Polygons menu command if you are not using an existing polygon.
  3. Select the polygon using the Select Polygon tool.
  4. Select the Feature Objects | Select/ Delete Data menu command.
  5. In the Select/Delete Data dialog, choose whether to select or delete the data and which data the function should be applied to.

The data options to choose from are based on what is in the project. You can also select what object in the data object to select or delete. For example, with a 2D mesh, you may choose to select the mesh elements, nodes, or duplicate nodes.

Try out the Select/Delete Data tool in SMS today!

Blog tags: 

3 New Features in GMS 10.5 Beta

We are happy to be announcing the beta release of GMS 10.5! Thanks to the hardworking developers here at Aquaveo there are a number of new and exciting features to this new version.

To name a few, we gathered a list of three new and improved features in GMS 10.5 beta release!

  1. MODFLOW 6 Grid Approach
    Additional functionality has been added for working with MODFLOW 6. A MODFLOW 6 model can now be built in GMS using the grid approach. The new MODFLOW 6 interface uses a simulation approach that is different from the interface for other MODFLOW applications in GMS. This approach also allows for multiple simulations to be included in a single project.
  2. TVM Package
    The TVM package is now available in GMS 10.5 for use with MODFLOW-USG Transport. The Time-Variant Materials (TVM) package allows the changing of hydraulic conductivity and storage values between stress periods. Through a transient simulation, it can also be used to change these parameters in a continuous manner not just in increments between stress periods. This will help display the different changes made to the project over time.
  3. TVM Package in GMS 10.5
  4. Tile map services (TMS) can now be used for import or background image display.
    In this new version of GMS the ability to import TMS into projects needing tile map services has been made available. This provides access to maps that can now be rendered to map tiles at fixed scales. Rather than trying to break down one large image, this helps to be able to view a map in a simpler way. It also helps to be able to pinpoint and save one particular tile of a map in case only that tile is needed as opposed to the entire image.

These are only some of the changes that have been made to the new beta release version of GMS. Explore even more of the changes by downloading GMS 10.5 beta from our downloads page.

Blog tags: 

Tethys Training in Kenya

Aquaveo was recently given the opportunity by NASA SERVIR to develop a training course involving the Tethys Platform. NASA SERVIR is a joint venture between NASA and the U.S. Agency for International Development.

RCMRD Building

SERVIR works to provide better informative forecasts regarding the risks of floods as well as an outline of what happens after the devastation of flooding in an area. Thus, it was exciting to participate in furthering their mission to provide state-of-the-art, satellite-based, and Earth monitoring data.

In partnership with NASA SERVIR, Aquaveo led in developing and delivering training courses on app development through the use of the Tethys Platform. The Tethys Platform provides a suite of free software which helps in creating water resource applications. Due to the unique system Tethys uses, less code and written HTML is needed for the development of applications. These are just a couple of things that make the Tethys Platform a useful resource for web developers.

From February 24th to the 28th, twenty-one individuals from Ghana, Senegal, Nepal, Columbia, Peru, USA, and Kenya traveled to the SERVIR Eastern and Southern Africa Hub at the Regional Centre for Mapping of Resources for Development (RCMRD), located in Naribi, Kenya to attend both a communicative and individualized training.

Tethy training in Kenya

The Regional Centre For Mapping Resource For Development has been dedicated to promoting sustainability through the use of GEO-information. Their aid in supplying tools and space for Aquaveo to lead a training on the Tethys Platform was another step toward promoting sustainable development world wide. After four days of training, each participant left with even more knowledge on app development and will in turn further the progress in the Regional Centre for Mapping of Resources for Development's (RCMRD's) mission.

Tethy training in Kenya

The majority of the training focused showing how to develop applications using the Tethys Platform. Each contributor also took part in a more individualized training where one of the four training days was entirely dedicated toward working on and receiving help with their own personal projects. Aquaveo enjoyed the time spent working with these amazing participants and can’t wait to do it again.

Two additional training courses will be provided by Aquaveo within the year. We have the opportunity to meet more participants and lead a training in the areas of Kathmandu, Nepal and Huntsville, Alabama.

Experience learning more about Tethys Platform app development and keep an eye out for more details about future training courses!

Blog tags: 

Pages