When we first ported DECODES (and CCP) to CWMS, our experience with the Bureau of Reclamation was that they had their own way of creating and maintaining location records. They were okay with having DECODES and CCP view Site (location) information, but did not want it to be modified.
Thus we created a decodes.property setting "writeCwmsLocations". In older releases it is set to false by default, preventing the software from creating or modifying sites. Set it to true to enable this.
You can do this in a number of ways:
- If this is a single-user installation, modify the "decodes.properties" file in the directory where the toolkit is installed.
- The safer way is through the DECODES Setup GUI. From the Launcher, select Setup. Find the 'writeCwmsLocations' setting in the list and set it to true.
Now DECODES Database Editor and dbimport programs will be able to create Sites.