Recent Releases of aguaclara
aguaclara - Transferred ownership to AguaClara Reach
- Transferred ownership to AguaClara Cornell to AguaClara Reach
- Created
CITATION.cfffor integration with Zenodo- Resolves #328
- Added automatic formatting and linting with
blackandflake8- Resolves #295
- Resolves #308
- Removed deprecated functions from
floc_model.py
- Python
Published by fletchapin 7 months ago
aguaclara - Updated dependencies to fix import error
- Removing string from the beginning of unit_definitions.txt.
- Fixed the
SyntaxWarningby changingisto==with string comparisons - Updated dependencies so that package installation works correctly
- Python
Published by fletchapin about 3 years ago
aguaclara - Bumped Dependencies and Updates to pipes.py
Dependencies: - Upgraded urllib3 to 1.26.4. Fixed: "Using default SSLContext for HTTPS requests in an HTTPS proxy doesn't verify certificate hostname for proxy connection [high severity]." - Upgraded pillow to 8.1.2. Fixed: "Denial of Service by Uncontrolled Resource Consumption [high severity]."
Pipes module (PR #289) - Addressed Issue #279 - module now includes schedules 80, 120, and 120 - methods that give the schedule and ND that fit requirements of a pipe
- Python
Published by annabel48lin almost 5 years ago
aguaclara - Documentation Site Upgrade
The aguaclara documentation has now been updated to consist of two main parts: an API reference (which was the bulk of the old documentation site) and a developer guide for helping new contributors. The README.md has also been updated to resemble the new documentation homepage, with installation instructions, basic code examples, and links to the API reference and developer guide.
- Python
Published by HannahSi about 5 years ago
aguaclara - Python >=3.8 Requirement and Migration to Github Actions
aguaclara now requires Python versions 3.8 and higher. Also, the package has migrated from Travis CI and Appveyor to Github Actions for continuous integration.
- Python
Published by HannahSi about 5 years ago
aguaclara - Documented CDC and deprecated estimated coagulant stock concentrations
This release:
- adds the
cdc.pymodule to the Sphinx documentation - deprecates estimated coagulant stock concentration and flow rate (
coag_stock_conc_estandcoag_q_max_est) incdc.pyand replaces them with exact concentration and flow rate (coag_stock_concandcoag_q_max) - updates the
utilities.ceil_nearestandutilities.floor_nearestfunctions to handle unsorted arrays and raise errors when values are out of range - updates the
environmental_processes_analysis.E_Advective_Dispersionfunction to return 0 instead of NaN when t=0 - updates the
physchemviscosity functions to accept temperatures of 0ºC
- Python
Published by HannahSi about 5 years ago
aguaclara - Additional onshape_parser functionality
Added processes variable which is returned by get_parsed_measurements() in addition to measurements and templates.
Also fixes a bug which occurred when creating a folder in onshape_parser
- Python
Published by fletchapin about 5 years ago
aguaclara - Refactored onshape_parser
Extended test coverage and generalized the logic of onshape_parser.py so that it can work for both validation and documentation.
This is accomplished through the for_docs flag. By default this flag is true, so variables will be parsed into human readable strings.
When false, variables are returned as Pint quantities.
- Python
Published by fletchapin about 5 years ago
aguaclara - Introduction of onshape_parser
We are moving what was parse.py in aidedesignspecs to the aguaclara package because it's being used by aide_validation as well, and Monroe would like to have it available for student use when he teaches at Ohio State this spring.
It's not fully tested, but that it is still experimental and will be refactored before being used publicly, at which point we'll ensure 100% test coverage.
- Python
Published by fletchapin over 5 years ago
aguaclara - Updates to procoda_parser
The following updates have been made to aguaclara.research.procoda_parser:
* addition of an intersect function for locating the intersections between two sets of data
* ability to read data from folder paths that are Github URLs
* addition of an elapsed time option to the get_data_by_time function
- Python
Published by HannahSi over 5 years ago
aguaclara - Made max and min number of LFOM rows configurable
Added min and max rows to LFOM expert inputs (#280).
To use them, simple pass in the arguments min_row_n or max_row_n like so: LFOM(q=1 * u.L / u.s, hl=10 * u.cm, min_row_n=6)
- Python
Published by fletchapin over 5 years ago
aguaclara - ProCoDA data file name update in procoda_parser.py
The get_data_by_time and get_data_by_state functions in the procoda_parser module have been updated to read ProCoDA data logs and state logs named "datalogM-D-YYYY" and "statelogM-D-YYYY", respectively, as opposed to the previous naming convention, "datalog M-D-YYYY" and "statelog M-D-YYYY".
- Python
Published by HannahSi over 5 years ago
aguaclara - Getting version numbers right
Fixing issue with version numbers (#274 )
- Python
Published by marcin-sawczuk over 5 years ago
aguaclara - gamma_humic_acid_to_coag has correct units on max value of 1
Fixed units on max value of 1 in gammahumicacidtocoag (#272)
Release updated to 0.2.2, fixed pint version (#273)
Getting Travis to work
- Python
Published by marcin-sawczuk over 5 years ago
aguaclara - Updated wall thickness for ND 12" to 20"
- Python
Published by oliver-leung almost 6 years ago
aguaclara - Update in Matplotlib version; Removed support for Python 3.5
- updated all dependencies to use the latest version of Matplotlib
- removed support for Python 3.5 because most users have migrated to use of it in Google Colab, which supports Python 3.6
- Python
Published by alicezha0 about 6 years ago
aguaclara - Change in Matplotlib Version
- The only change in this release is the update in pipfile for the Matplotlib version to the most recent one rather than implementing an older version of it to fix errors thrown when running !pip install aguaclara in Google Colab.
- Python
Published by alicezha0 about 6 years ago
aguaclara - Widely implemented list handler, removed unit wrapper, updated physchem
- The
core.utility.list_handler()function decorator has been widely applied to functions in theresearchandcoresubpackages, allowing them to accept and output either scalar or array quantities. - The
u.wraps()unit wrapper, which was causing poor programming practice and many bugs, has been removed from the entire package. - Documentation and naming of functions in
core.physchemhave been improved and standardized. Deprecation warnings have been included for functions and parameters that are changing names.
- Python
Published by HannahSi about 6 years ago
aguaclara - Fix Gran data extraction function
The Gran function in environmental_processes_analysis.py now correctly passes header=None to pandas.read_csv() instead of header=-1.
- Python
Published by HannahSi about 6 years ago
aguaclara - Fixed broken equations in floc model
All functions in research.floc_model are now tested and dimensionally consistent. diam_floc_max and ener_dis_diam_floc are deprecated.
- Python
Published by HannahSi about 6 years ago
aguaclara - Fix last row index and column_of_time in ProCoDA Parser
This release corrects the default last row index for research.procoda_parser's column_of_data() and column_of_time() functions. In addition, rather than raising an exception, column_of_time ignores rows of notes after the starting row.
- Python
Published by HannahSi over 6 years ago
aguaclara - Addition of 1.5 inch pipe to pipe database
The 1.5" pipe (in nominal diameter) is now available for use in core.pipes.
- Python
Published by HannahSi over 6 years ago
aguaclara - Documentation for Unit Registry
The AguaClara package documentation now lists common units and constants available in the package's unit registry! This list is found in the documentation page for core.units.
Several constants in core.constants have also been marked as deprecated due to irrelevance or redundancy with Pint package units and constants.
- Python
Published by HannahSi over 6 years ago
aguaclara - Improved documentation and inclusion of set_sig_figs() in imports
This release includes three updates:
* aguaclara.core.pipes is now included in the AguaClara package documentation
* The documentation site homepage has instructions on installing, contributing to, and using the package
* aguaclara.core.units has been added to package level imports, so set_sig_figs() can be accessed like so:
python
import aguaclara as ac
ac.set_sig_figs(3)
- Python
Published by HannahSi over 6 years ago
aguaclara - Hidden documentation fix
All functions in physchem now have visible documentation on the aguaclara documentation website.
- Python
Published by HannahSi over 6 years ago
aguaclara - ProCoDA Parser Enhancements
In the aguaclara.research.procoda_parser module, the default file extension for ProCoDA data files is now ".tsv" instead of ".xls". There are two functions in the module, plot_columns() and iplot_columns(), for quickly plotting columns of data in a ProCoDA data file. Additionally, columns_of_data() and columnn_of_time() now silently ignore notes instead of raising an error.
- Python
Published by HannahSi over 6 years ago
aguaclara - Python/Onshape Integration of the Flocculator
This release provides the ability to design an Onshape flocculator using the values calculated by our Python design code.
To design a flocculator, run the following in a Colab notebook:
```python !pip install aguaclara
import aguaclara as ac from aguaclara.core.units import u
floc = ac.Flocculator() floc.onshapeurlconfigured ```
The URL to the configured Onshape model with then appear, which you can navigate to and view. This early stage implementation does not provide the ability to resize the entrance tank in tandem with the flocculator, although, that functionality (as well as functionality for all other plant components) will come soon.
- Python
Published by oliver-leung over 6 years ago
aguaclara - Pipeline Design Features
This release provides functionality for designing pipelines of linear, continuous flow. - Each pipeline (component) that is created is ensured to have a valid nominal size that is constructable. - Each pipeline has the ability to find a head loss from a target flow rate, and vice-versa.
There are three concrete classes (Pipe, Tee, Elbow) which can be instantiated, and one abstract class that can be used to make custom components (PipelineComponent). To create a pipeline, chain together multiple components like you would with a linked list:
```python import aguaclara as ac from aguaclara.core.units import u
pipeline = ac.Pipe(next = ac.Elbow(next = ac.Pipe(next = ac.Tee()))) pipeline.headlosspipeline() pipeline.flowpipeline(target_headloss = 20 * u.cm) ```
Important notes:
- Tee currently only has functionality to simulate a tee fitting with one (and only one) socket being covered by a stopper. However, there is the option to choose which socket is covered by the stopper.
- The old aguaclara.core.pipes module still works the same, but we encourage you to use the new classes as shown above.
- Python
Published by oliver-leung over 6 years ago
aguaclara - New import structure, flocculator design code fixes
This release implements the new import structure touched upon in #214. Now, the standard NumPy-like import structure is available in addition to the old module-based import structure:
python
import aguaclara as ac
from aguaclara.core.units import u
ac.viscosity_kinematic(30 * u.deg)
This release also changes the behavior of the Flocculator design code: - Fixed calculation of channel number and width - Can now specify the parity (odd, even, any) of the channel number
- Python
Published by oliver-leung over 6 years ago
aguaclara - Add deprecation warning for round_sf
- Python
Published by oliver-leung over 6 years ago
aguaclara - Sedimentor design code, Component class fixes
- Added new
physchemfunctions for designing manifolds and channels - Added design code for the Sedimentor
- Refined
Componentclass for fine-tuning plant designs - Refactored and improved
utilityfunctions
- Python
Published by oliver-leung over 6 years ago
aguaclara - Entrance Tank/Flocculator assembly, generalized Component class
- Add
Componentclass for sharing design inputs and serializing object properties - Write classes for the Entrance Tank/Flocculator assembly (ETF) and all of its subcomponents
- Add tests and documentation for all new classes
- Update
Plantclass to include the ETF - Update Python version to 3.6 due to Colab support
- Fix dependencies and add
onshape_clientfor future use - Add outer diameter functions for pipes
- Python
Published by oliver-leung over 6 years ago
aguaclara - Air density function, procoda_parser bug fix
Version 0.1.0 adds a function, density_air(), in aguaclara.core.physchem for calculating air density in replacement of an air density constant that neglected pressure and temperature.
This release also patches a file path bug in aguaclara.research.procoda_parser, in which a path was incorrectly joined for Windows operating systems.
- Python
Published by HannahSi over 6 years ago
aguaclara - Fixes to units and change in num_clay in research.floc_model
Functions in aguaclara.research.floc_model no longer coerce units to avoid problems with units on units. The num_clay() function has also been changed to particle_number_concentration() to extend to generic materials.
- Python
Published by HannahSi almost 7 years ago
aguaclara - Fixed floc_model, added peristaltic_pump and stock_qc, improved documentation site
In this release,
* units are added to material properties in aguaclara.research.floc_model
* the "rev" (abbreviation for revolutions) unit is defined in the unit registry
* aguaclara.research.tube_sizing is split into two improved modules, peristaltic_pump and stock_qc
* documentation pages are added for most of the aguaclara.research and aguaclara.core modules
- Python
Published by HannahSi almost 7 years ago
aguaclara - remove onshapepy requirements for floc.py
- Python
Published by monroews almost 7 years ago
aguaclara - Bug fix try #2
Debugging the release process.
- Python
Published by eak24 almost 7 years ago
aguaclara - Environmental_processes_analysis
Fixed epa aeration import added bounds for finding the Pe for advection dispersion
- Python
Published by monroews almost 7 years ago
aguaclara - Flocculator design code update, PhysChem bug fixes
- Resolve
pc.fric()failing due to its list handler - Resolve
pc.density_water()returning a 1 x 1 NumPy array rather than a plain scalar - Rewrite
floc.pyto include entrance tank calculations - Optimize
play.py's imports and improve documentation
- Python
Published by oliver-leung about 7 years ago
aguaclara - Updates to LFOM code
- Add new inputs to the class constructor
- Simplify array creation
- Python
Published by oliver-leung about 7 years ago
aguaclara - Rounding significant figures, matplotlib backend
ut.round_sf()now rounds Pint quantities with units to specified significant- Fix minor bug with
matplotlibbackend
- Python
Published by oliver-leung about 7 years ago
aguaclara - Adding Caching Layer and Minor Bug Fixes
Updates in the release:
- Introduced caching ayer and associated test cases
- Extended metric drill series
- pc.nu() renamed to pc.viscosity_kinematic()
- ut.list_handler() reintroduced as wrapper to physchem.py functions
- Unit definition in units.py fixed
- Python
Published by fletchapin about 7 years ago
aguaclara - Add Flocculator class
The Flocculator class has been added to aguaclara.design.floc. Instances of this class contain properties for all of the required physical dimensions of an AguaClara flocculator.
- Python
Published by oliver-leung about 7 years ago
aguaclara - Updated ProCoDA parsing functions
aguaclara.research.procoda_parser now contains functions for extracting data from ProCoDA datalogs according to given times or states.
- Python
Published by HannahSi over 7 years ago
aguaclara - Changed name to "aguaclara" and other BREAKING changes
This is a major release where files have been completely reorganized. Aguaclara_research is incorporated. And tests now work.
- Python
Published by eak24 over 7 years ago
aguaclara - A lot of additional testing and fine tuning.
- Python
Published by eak24 almost 8 years ago