<commit_before>[![Build Status](https://travis-ci.org/agrc/ugs-chemistry.svg?branch=master)](https://travis-ci.org/agrc/ugs-chemistry)

[![Sauce Test Status](https://saucelabs.com/browser-matrix/agrc-ugs-chemistry.svg)](https://saucelabs.com/u/agrc-ugs-chemistry)
ugs-chemistry
=============

Water Chemistry data viewer built for UGS

### URL's
Production: [geology.utah.gov/apps/waterchem](http://geology.utah.gov/apps/waterchem)

Test: [test.mapserv.utah.gov/ugschemistry](http://test.mapserv.utah.gov/ugschemistry)

[current mockup](http://share.flairbuilder.com/?sid=I64FYv95R7)

### Installation
All services go into a folder called `UGSChemistry`(stage & dev) or `Water`(prod).

Publish `scripts/toolbox/Toolbox.tbx/BuildChart` & `Download` to `/Toolbox`
- update secrets.py to point to the correct server
- asynchronous
- install `pymssql` by running `pip install scripts/charts/pymssql-2.1.2-cp27-cp27m-win_amd64.whl` (Got the wheels from [here](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pymssql))
- Defaults values should be sufficient to successfully run the tools.
- May need to manually copy `scripts/toolbox/database_connections/` to `...\arcgisserver\directories\arcgissystem\arcgisinput\UGSChemistry(or Water)\ToolboxSecure.GPServer\extracted\v101\toolbox` & `...\arcgisserver\directories\arcgissystem\arcgisinput\UGSChemistry(or Water)\Toolbox.GPServer\extracted\v101\toolbox`

Publish `scripts/toolbox/Toolbox.tbx/BuildChartSecure` and `DownloadSecure` to `/ToolboxSecure`
- same params as above only lock down to ugs roles
- you may need to clear out your scratch folder (restart Catalog) before running `DownloadSecure`.
<commit_msg>format readme title<commit_after>[![Build Status](https://travis-ci.org/agrc/ugs-chemistry.svg?branch=master)](https://travis-ci.org/agrc/ugs-chemistry)

[![Sauce Test Status](https://saucelabs.com/browser-matrix/agrc-ugs-chemistry.svg)](https://saucelabs.com/u/agrc-ugs-chemistry)

ugs-chemistry
=============

Water Chemistry data viewer built for UGS

### URL's
Production: [geology.utah.gov/apps/waterchem](http://geology.utah.gov/apps/waterchem)

Test: [test.mapserv.utah.gov/ugschemistry](http://test.mapserv.utah.gov/ugschemistry)

[current mockup](http://share.flairbuilder.com/?sid=I64FYv95R7)

### Installation
All services go into a folder called `UGSChemistry`(stage & dev) or `Water`(prod).

Publish `scripts/toolbox/Toolbox.tbx/BuildChart` & `Download` to `/Toolbox`
- update secrets.py to point to the correct server
- asynchronous
- install `pymssql` by running `pip install scripts/charts/pymssql-2.1.2-cp27-cp27m-win_amd64.whl` (Got the wheels from [here](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pymssql))
- Defaults values should be sufficient to successfully run the tools.
- May need to manually copy `scripts/toolbox/database_connections/` to `...\arcgisserver\directories\arcgissystem\arcgisinput\UGSChemistry(or Water)\ToolboxSecure.GPServer\extracted\v101\toolbox` & `...\arcgisserver\directories\arcgissystem\arcgisinput\UGSChemistry(or Water)\Toolbox.GPServer\extracted\v101\toolbox`

Publish `scripts/toolbox/Toolbox.tbx/BuildChartSecure` and `DownloadSecure` to `/ToolboxSecure`
- same params as above only lock down to ugs roles
- you may need to clear out your scratch folder (restart Catalog) before running `DownloadSecure`.

{'fraction_non_alphanumeric': 0.14479638009049775, 'fraction_numerical': 0.012066365007541479, 'mean_word_length': 5.4765625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6103744', 'n_tokens_mistral': 1199, 'n_tokens_neox': 1142, 'n_words': 220}