Project Settings
Project Settings can be accessed from the Model menu or a button from the main toolbar, as shown in Figure 1.
The Project Settings dialog box contains three tabs: General, Default Precision, and Coordinate Projection. The General tab, shown here, allows users to configure basic project-level settings. Under the Unit System section, users can select between Metric and English/US unit systems, with Metric selected by default. The Language section sets the display language, which is set to English only. Additionally, a checkbox option labeled Dock Model Control and Log forms to the left is available, allowing users to organize the Model Control and Work Logs form. Once the desired settings have been configured, click OK to apply the changes or Cancel to discard them.
The Default Precision tab (Figure 3) allows users to define the number of decimal places used when writing output data for various parameters. The settings are presented in a table under the Default Precision for Write Operations section, containing two columns: Params and Precision. The following parameters are available for configuration:
- Elevations & Depths — set to a precision of 3 decimal places by default.
- X & Y Locations — set to a precision of 1 decimal place by default.
- Time Display (Days) — set to a precision of 2 decimal places by default.
Users can click on any row in the table to select and modify the precision value for the corresponding parameter. Once the desired precision settings have been configured, click OK to apply the changes or Cancel to discard them.
The Coordinate Projection tab displays the current coordinate system assigned to the model and provides an option to change it if needed. The Coordinate System field shows the name of the projection currently in use. To modify the coordinate system, click the Change button, which will permanently convert the model grid to the newly selected coordinate system (Figure 4).
Earlier versions supported two coordinate systems: Cartesian and UTM. The Cartesian coordinate system is suited for simulations that use X and Y coordinates in meters, while the UTM system enables data processing referenced to a specified UTM Zone. However, both systems have limitations when model grids span across multiple UTM zones.
The Geographic Coordinate System (GCS) addresses these limitations and improves the handling of geographic data. Specifically, the GCS aims to:
- Resolve the limitations of the Cartesian and UTM coordinate systems when dealing with large or complex model domains, and
- Serve as a fundamental projection system that streamlines data processing workflows.
By defining two-dimensional coordinates based on longitude and latitude on the Earth's surface, the GCS preserves the spatial accuracy of data visualizations under a single consistent projection and prevents spatial distortion of both the model grid and associated data.
Click the Change button in Figure 4, and the Coordinate System form will be displayed, as shown in Figure 5.
The Coordinate System dialog allows users to convert the model grid to a new coordinate system. Under the Specify a Spatial Reference section, users can select a projection type from the Projection dropdown menu. The available projection options are:
- Geographic (Longitude/Latitude) — for models using geographic coordinates based on longitude and latitude.
- UTM, Northern Hemisphere — for models projected in the UTM system within the Northern Hemisphere.
- UTM, Southern Hemisphere — for models projected in the UTM system within the Southern Hemisphere.
- User Defined — allows users to manually define a custom coordinate system.
- No Projection — for models with no specific projection assigned. It is usually applied for the testcase/hypothetical/laboratory models.
- Favourites — provides quick access to previously saved or frequently used coordinate systems.
The Spatial Reference Information panel below the dropdown displays the detailed projection parameters of the currently selected coordinate system in a standard WKT (Well-Known Text) format.
At the bottom of the dialog, the following action buttons are available:
- Define — opens additional options to manually specify the coordinate system.
- Import — allows users to import a coordinate system from an external file (a *.prj file).
- Export — saves the current coordinate system definition to a file (a *.prj file).
- Download — retrieves coordinate system definitions from an online source.
- Add to Favourites — saves the selected coordinate system for quick future access.
Click OK to apply the selected coordinate system or Cancel to exit without making changes.
Click the Define button, which opens a dialog that allows defining a UTM projection with some specific parameters (Figure 6). The scale factor of 0.9996 is applied for the zone width of 6° of longitude, and the scale factor of 0.9999 is applied for the zone width of 3°. The central meridian indicates the central meridian longitude of the zone. The latitude of the origin is usually taken as zero, and the false easting is usually taken as 500 000 meters. The false northing is taken as the zero value for the Northern Hemisphere and is taken as the value of 10 000 000 meters for the Southern Hemisphere.
Click the Download button, which opens a dialog as shown in Figure 8. It allows users to download projection information from the Internet using an EPSG code. EPSG codes for different coordinate systems can be found at https://epsg.io or https://spatialreference.org.
For example, we want to get the EPSG Code for Lake Washington in Washington state, USA
- Open the website https://spatialreference.org
- Enter WGS84 / UTM Zone 10 in the text box of Search References
- Click the Search button → it will show two entries found; one is for UTM Zone 10N (North) and the other is for UTM Zone 10S (South). (Figure 7)
- As Lake Washington is located in the North, we chose EPSG: 32610
Back to Figure 8, enter EPSG Code 32610 and click the OK button. As a result, the information of the new projection will be updated in the Spatial Reference Information frame (Figure 9). Click the OK button to close the form and return to the Projection Settings form; the model's coordinate system is updated, as shown in Figure 10. Save the model again to apply the projection change.