Scripting > Math Functions


Set Watershed Name for Data Set

setWatershed(String watershedName)

 

Set the watershed (or river) name for a data set, which changes the A-Part of the pathname.  The new pathname will be used in plots, tables, and in the write() method of DSSFile objects.

 

Parameters:

watershedName – A string specifying the new watershed name for the data set.

Example: dataSet.setWatershed(“OAK RIVER”)

Returns: Nothing.