Skip to content

Commit cbd5894

Browse files
better status messages, updated version numbers for hydro toolbox
1 parent 66e35f6 commit cbd5894

5 files changed

Lines changed: 10 additions & 4 deletions

File tree

BASINS/frmAbout.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ Public Class frmAbout
372372

373373
Try
374374
'lblPluginVersion.Text = " Build Date: " & IO.File.GetLastWriteTime(Me.GetType().Assembly.Location).ToShortDateString
375-
lblPluginVersion.Text = " Release Date: February 20, 2026"
375+
lblPluginVersion.Text = " Release Date: June 2026"
376376
Catch
377377
End Try
378378
Try

BASINS/modBasinsPlugin.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Public Module modBasinsPlugin
5353
#ElseIf ProgramName = "USGS Hydrologic Toolbox" Then
5454
Public Const g_AppNameRegistry As String = "USGS-Hydro" 'For preferences in registry
5555
Friend Const g_AppNameShort As String = "Hydro Toolbox"
56-
Friend Const g_AppNameLong As String = "USGS Hydrologic Toolbox" & vbCrLf & "(1.1.3)"
56+
Friend Const g_AppNameLong As String = "USGS Hydrologic Toolbox" & vbCrLf & "(1.1.4)"
5757
'Friend Const g_URL_Home As String = "https://water.usgs.gov/ogw/gwtoolbox/"
5858
Friend Const g_URL_Home As String = "https://doi.org/10.5066/P13VDNAK"
5959
Friend Const g_URL_Register As String = "http://hspf.com/pub/USGS-SW/register.html"

BASINS/modDownloadDS.vb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ Public Module modDownload
3939
atcDataManager.UserManage()
4040
End If
4141
End If
42+
If lMessage.Length = 2 AndAlso Logger.DisplayMessageBoxes Then
43+
Logger.Msg("No data found at selected locations.", "Data Download")
44+
End If
4245
End Sub
4346

4447
Private Function ProcessDownloadResult(ByVal aInstructions As String) As String

D4EMDownloadData/DownloadDataPlugin.vb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ Public Class DownloadDataPlugin
7575
Dim lResult As String = Nothing
7676
If lQuery.Length > 0 Then
7777
If UsingWaterDataAPI And lQuery.Contains("GetNWIS") Then
78+
Logger.Status("LABEL TITLE BASINS Data Download")
79+
Logger.Status("SHOW")
80+
Logger.Status("Downloading with waterdata_toolbox.exe")
7881
Dim lWaterToolboxExe As String = IO.Path.Combine(PathNameOnly(Reflection.Assembly.GetEntryAssembly.Location), "waterdata_toolbox") & pPathChar & "waterdata_toolbox.exe"
7982
If Not FileExists(lWaterToolboxExe) Then
8083
lWaterToolboxExe = FindFile("Please Locate waterdata_toolbox.exe", "waterdata_toolbox.exe") 'hard code for debug

USGSHydroToolboxDS/Utilities.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ public static bool LoadDataSourcePlugins()
278278
atcDataManager.DataPlugins.Add(script);
279279
var lRDB = new atcTimeseriesRDB.atcTimeseriesRDB();
280280
atcDataManager.DataPlugins.Add(lRDB);
281-
var lWDM = new atcWDM.atcDataSourceWDM();
282-
atcDataManager.DataPlugins.Add(lWDM);
281+
//var lWDM = new atcWDM.atcDataSourceWDM();
282+
//atcDataManager.DataPlugins.Add(lWDM);
283283
//var lJSON = new atcTimeseriesJSON.atcTimeseriesJSON();
284284
//atcDataManager.DataPlugins.Add(lJSON);
285285
var lCSV = new atcTimeseriesCSV_USGS.atcTimeseriesCSV_USGS();

0 commit comments

Comments
 (0)