Tooling for checking river levels.
1 - Clone this repo.
2 - Create an environment with the requirements.
> make env
3 - Explore - If you are more into Python, a good place to start is jupyter lab from the root of the project, and look in the ./notebooks directory. If GIS is more your schtick, open the project ./arcgis/river-levels.aprx.
Based on the pattern provided in the Cookiecutter Data Science template by Driven Data this template streamlines a number of commands using the make command pattern.
-
make env- builds the Conda environment with all the name and dependencies fromenvironment_dev.ymland installs the local project packageriver_levelsusing the commandpython -m pip install -e ./src/src/river_levelsso you can easily test against the package as you are developing it. -
make env_clone- designed for environments using the default Conda instance installed with ArcGIS Pro. It is similar tomake env, except this command clones thearcgispro-py3environment. Otherwise, it still installs the packages listed inenvironment_dev.ymland installs the local package usingpipas described above. -
make docs- builds Sphinx docs based on files in./docsrc/sourceand places them in./docs. This enables easy publishing in the master branch in GitHub. -
make test- activates the environment created by themake envormake env_cloneand runs all the tests in the./testingdirectory using PyTest. Alternately, if you prefer to use TOX for testing (my preference), there is atox.inifile included as well. The dependencies (toxandtox-conda) for using TOX are included in the default requirements. By default, the TOX file creates an environment from theenvironment.ymlfile using much fewer dependencies than the*_dev.ymlfiles.
Bump2Version is preconfigured based on hints from this article on Medium.
If you want to...
- apply a patch,
bumpversion patch - update version with no breaking changes (minor version update),
bumpversion minor - update version with breaking changes (major version update),
bumpversion major - create a release (tagged in vesrion control - Git),
bumpversion --tag release
Project based on the cookiecutter GeoAI project template. This template, in turn, is simply an extension and light modification of the cookiecutter data science project template. #cookiecutterdatascience