From 9400c6623bd12577983559f62d796514113f7b1f Mon Sep 17 00:00:00 2001 From: David Tarboton Date: Sat, 2 Aug 2014 22:18:07 -0600 Subject: [PATCH] Correct GageWatershed file suffix to "gw" --- Taudem5MF/Taudem5MF.sln | 9 +++++++++ src/gagewatershed.cpp | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Taudem5MF/Taudem5MF.sln b/Taudem5MF/Taudem5MF.sln index cbfeb8f0..03593fe3 100644 --- a/Taudem5MF/Taudem5MF.sln +++ b/Taudem5MF/Taudem5MF.sln @@ -57,6 +57,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SelectGTThreshold", "Select EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TWI", "TWI\TWI.vcxproj", "{E987386C-ACDC-4E1F-B187-D47FD31EA7FA}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GageWatershed", "GageWatershed\GageWatershed.vcxproj", "{E8EEAF6A-6129-4511-810D-145B8FB84137}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -283,6 +285,13 @@ Global {E987386C-ACDC-4E1F-B187-D47FD31EA7FA}.Release|Win32.Build.0 = Release|Win32 {E987386C-ACDC-4E1F-B187-D47FD31EA7FA}.Release|x64.ActiveCfg = Release|x64 {E987386C-ACDC-4E1F-B187-D47FD31EA7FA}.Release|x64.Build.0 = Release|x64 + {E8EEAF6A-6129-4511-810D-145B8FB84137}.Debug|Win32.ActiveCfg = Debug|Win32 + {E8EEAF6A-6129-4511-810D-145B8FB84137}.Debug|Win32.Build.0 = Debug|Win32 + {E8EEAF6A-6129-4511-810D-145B8FB84137}.Debug|x64.ActiveCfg = Debug|Win32 + {E8EEAF6A-6129-4511-810D-145B8FB84137}.Release|Win32.ActiveCfg = Release|Win32 + {E8EEAF6A-6129-4511-810D-145B8FB84137}.Release|Win32.Build.0 = Release|Win32 + {E8EEAF6A-6129-4511-810D-145B8FB84137}.Release|x64.ActiveCfg = Release|x64 + {E8EEAF6A-6129-4511-810D-145B8FB84137}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/gagewatershed.cpp b/src/gagewatershed.cpp index 433a85aa..28dfdece 100644 --- a/src/gagewatershed.cpp +++ b/src/gagewatershed.cpp @@ -302,7 +302,7 @@ int gagewatershed( char *pfile, char *wfile, char *shfile, char *idfile, int wri //Create and write TIFF file long lNodata = MISSINGLONG; - char prefix[5] = "src"; + char prefix[5] = "gw"; tiffIO wshedIO(wfile, LONG_TYPE, &lNodata, p); wshedIO.write(xstart, ystart, ny, nx, wshed->getGridPointer(), prefix, prow, pcol);