We can access this feature from the Tools menu, select Download Online Data. Then there are three sub-options Model Open Boundary Conditions, Tidal Level for Model Boundaries, and Tidal Harmonics for Station as shown in Download Online Data (new).
Figure 1. Options of Download Online Data.
Model Open Boundary Conditions
This feature allows getting online data for the existing open boundary of the model. The available data from online source can be the following data types:
- Water surface elevation
- Water salinity
- Water temperature
Suppose that we have a model with an existing open boundary. Open the 2DH View, turn on the light in the Boundaries layer of the Layer Control to show the boundaries of the model as shown in Download Online Data (new). The purpose of this is to view where is the open boundary.
Next, go to Tools menu, then select Download Online Data / Model Open Boundary Conditions, the form of Download Online Data for Open Boundaries will be displayed as Download Online Data (new).
Figure 2. Show Boundaries.
Figure 3. Download Online Data for Open Boundaries form.
Boundary: click the drop-down arrow; boundaries will show; select a boundary we want to download data
Data Type: click the drop-down arrow; data types will show and include water surface elevation, water salinity, and water temperature
Data Set: This is the data source
List of Boundary Grid Cells: It shows all cells in the selected boundary. Each cell has an I and J index
Dataset Information: This is general information about the dataset. These fields of this frame are non-editable.
Begin: This is the beginning time of available data
End: This is the ending time of available data. The Begin and End are updated after clicking the Get Times button.
Base Date
Interval (hours): This is the frequency of data collection
#: This is the number of data records
Download Options
Time Begin: This is the starting time
Time End: This is the ending time
these two fields are editable; enter Time Begin and Time End must be within the time frame (Begin and End) of Dataset Information.
Merge with Existing Series:
Replace Existing Series:
Separated Series for Each Cell
Time Zone: zero UTC as a default value, so we may need to enter a time zone here.
Get Data: Once we complete fields and options in the Download Options frame, click the Get Data button to start downloading data, and after that, we will see the message "Download data is ready. Click OK button to apply". Now click the OK button to apply the downloaded data to the cells.
If you click the Cancel button, it will terminate and close the form.
Tidal Level for Model Boundaries
Suppose we want to get tidal level for some cells that we want to assign as an open boundary, following the steps below.
- Turn on the light of the Boundaries in the Layer Control, and activate mouse selection mode.
- Open the 2DH View
- Left mouse click on cells to select as shown in Download Online Data (new)
- Go to Tools / Download Online Data / Tidal Level for Model Boundary
The Download Harmonics form will show up as shown in Download Online Data (new)
List of Location: This contains the I and J index of the selected cells
Selected Location
Name: Show the I and J index of the selected cell from the List of Location.
Longitude and Latitude: coordinate of the selected cell's centroid
Add: We need to enter information for a new cell we want to add, including Name, Longitude, and Latitude, then click Add button more cells to the List of Location.
Remove: Select a cell from the List of Location then click Remove button will delete that cell from the list.
Update: When we change information of the selected cell (e.g. Longitude or Latitude), then click the Update button to update the information of the cell.
Time Shift (hours): The phase lag of the harmonic constants is referred to as zero UTC, so we may need to change the time shift to adjust for the model's local time.
Get Data: Once everything is ready, click the Get Data button to download the harmonics. As a result, a table in the form is filled for fields of ID, Name, Speed, Amplitude, and Phase, as shown in Figure 6. At this time, the OK button is enabled, click OK button tidal time series of the selected three cells will be added to Water Level in External Forcings Data. These time series can be used to assign to open boundaries when needed.
Figure 4. Select cells in the 2DH View
Figure 5. Download Harmonics: Before Get Data.
Figure 6. Download Harmonics: After Get Data.
Figure 7. Tidal time series added to External Forcing Data.
Import: Click this button to load the harmonics file from the external drive. When clicking this button, an Open form will pop up as shown in Download Online Data (new), select the file, then click Open button to load the harmonics file.
Export: Click this button to save the harmonics of cells to a file. When clicking this button, an Save As form will pop up as shown in Download Online Data (new), select the data type in Save As type, then enter a file name, then Save button to export the harmonics file
Figure 8. Import Harmonics file.
Figure 9. Export Harmonics file.
Tidal Harmonics for Station
Suppose that we have a station that has coordinates. Now we want to get harmonic constants for that station. The feature described below will allow us to do this.
Go to Tools menu, then select Download Online Data / Tidal Harmonics for Station, the form of Download Online Data for Open Boundaries will be displayed as Download Online Data (new). Now we enter the station's information into the form as Name (e.g., Station_01), Longitude, and Latitude and then click Add button to add the station into the List of Locations as shown in Download Online Data (new).
Next, click Get Data button to download harmonics constants for that station. Once the download process is completed, a table in the form is filled for fields of ID, Name, Speed, Amplitude, and Phase, as shown in Download Online Data (new). click the Export button to save the harmonics of the station to a file. The above section describes how to save the station's harmonics to a file.
Figure 10. Download Harmonics form.
Figure 11. Download Harmonics form: Add a new station.
Figure 12. Download Harmonics form: Get Data.