This repository contains the source code for the StateCU consumptive use model. StateCU is part of Colorado's Decision Support Systems (CDSS). Open source CDSS is referred to as OpenCDSS. CDSS is supported by the Colorado Water Conservation Board and Colorado Division of Water Resources.
The developer documentation and guidelines will be updated as the development environment is used.
The StateCU software estimates crop consumptive use. Input for StateCU consists of locations (stations or structures), crop characteristics, crop acreage, irrigation method, climate data, and other data. Output is irrigation water requirement and other information, which can be used as input to the StateMod water allocation model and other analysis tools.
The following folder structure is used for repository files. It is assumed that the repository folder name is the same as the repository name.
cdss-app-statecu-fortran/ Repository folder.
build-util/ Useful utility scripts for software developers.
doc-dev-doxygen-project/ Doxygen project to auto-generate code documentation.
.git Git repository internal files (do not modify directly!).
.gitattributes Standard Git configuration file for repository properties.
.gitignore Standard Git configuration file for ignoring files.
.github Files used by GitHub, such as issues template.
LICENSE.md Software license.
README.md This file.
resources/ Various resources used by this project.
src/ StateCU source code.
main/ Source code for main program.
fortran/ Fortran source code for main program.
The following folder structure is recommended for top-level folders to organize OpenCDSS software projects and is consistent with other OpenCDSS projects. Top-level folders should be created as necessary.
C:\User\users\ Windows user files.
/home/user/ Linux user files.
cdss-dev/ Software for Colorado's Decision Support Systems.
StateCU/ Work related to the StateCU product.
git-repos/ Git repositories for StateCU.
---------- above line is recommended, below is required -----------------
cdss-app-statecu-fortran/ StateCU code and documentation repository (see above).
cdss-app-statecu-fortran-doc-dev/ StateCU developer documentation.
cdss-app-statecu-fortran-doc-user/ StateCU user documentation.
cdss-app-statecu-fortran-test/ StateCU tests.
Software for the development environment should be installed and configured as per the StateCU Developer Documentation.
The basic instructions to compile StateCU on the command line are as follows:
cd src/main/fortran
make
command targets: make help
make
command: make statecu_prog
statecu-14.0.0-gfortran-win-64bit.exe
on Windows and statecu-14.0.0-gfortran-lin-64bit
on Linux.The Eclipse Photran integrated development environment can be used to develop StateCU; however, this is not actively used or supported.
The software is licensed under GPL v3+. See the LICENSE.md file.
Contributions to this project can be submitted using the following options:
The developers/maintainers for StateCU that actively monitor repository issues are listed below. Questions can be posted using the GitHub issues feature.
Release note comments are currently included in the gcommon.inc
source file.