Recent Releases of vesical
vesical - v1.2.9
This fixes the bug outlined in issue https://github.com/kaylai/VESIcal/issues/188, or rather provides a workaround for the bug in thermoengine that was causing it.
Also fixed some flake8 complaints, and made some of the unit tests more robust to machine error and random thermoengine errors (see issue https://github.com/kaylai/VESIcal/issues/197).
The testing routine passes on the ENKI server.
- Jupyter Notebook
Published by kaylai about 2 years ago
vesical - v1.2.8
- Fixed bug in calculatedegassingpath() where the default final_pressure() value was set to 100 bars instead of 1 bar.
- Added code to silence unhelpful "Duan Driver" warning messages from thermoengine.
- Made significant updates to the unittest testing routines.
- Jupyter Notebook
Published by kaylai about 2 years ago
vesical - Version 1.2.7
- Fixed bug where a cation concentration would not be returned from get_composition() if the Sample was given in oxides and vice versa.
- Added more user warnings on get_composition()
- Added unit tests for get_composition()
- Jupyter Notebook
Published by kaylai about 2 years ago
vesical - Version 1.2.6
User updates - Update data frame handling to be compatible with pandas 2.0
Developer updates - Updated manuscript supplementary Jupyter notebooks with proper titles - Updated requirements.txt with newer versions of bumpy, spicy, simply, and setting == for pandas 1.2.3 - Fixed RunTests file to execute with double click
- Jupyter Notebook
Published by kaylai about 2 years ago
vesical - Version 1.2.5
- Fixed bug where different models returned different variable types. All models now should return variables, where relevant, as np.float instead of python's native float type.
- Added redirection of more stdout when making thermoengine calls, to get rid of as many unnecessary MagmaSat warnings as possible. Some duanDriver and Element error warnings remain (hope to be fixed in a future version)
- Jupyter Notebook
Published by kaylai over 2 years ago
vesical - Version 1.2.4
Fixed bug where a degassing path could not be calculated for some models using a numpy array as a pressure input. Now, a user can pass, for example np.arange(450, 200, -1) to calculate a degassing path from 450 to 200 bars in steps of 1 bar.
- Jupyter Notebook
Published by kaylai over 3 years ago
vesical - Version 1.2.3
Critical bug fix. With the update to matplotlib v3.6.0, styles were renamed. Namely, the "seaborn-colorblind" style used in VESIcal was updated to "seaborn-v08-colorblind". This change caused VESIcal to not import at all if matplotlib >=3.6.0 was installed. Try/Except block was added to first try "seaborn-colorblind" and then except to use "seaborn-v08-colorblind" in order to prevent VESIcal from breaking if older or newer versions of matplotlib are used.
- Jupyter Notebook
Published by kaylai over 3 years ago
vesical - Version 1.2.2
Fixed bug in MagmaSat model. To be internally consistent between MagmaSat calculations and between MagmaSat and other models, we now force “fixedvolatiles” normalization on any sample when performing MagmaSat calculations. This makes VESIcal’s behavior consistent with the behavior of the MagmaSat app, which may treat input H2O and CO2 contents as either dissolved in the melt or in the system (melt + fluid). This fixes a bug where a user might calculate the saturation pressure, then when calculating the equilibrium fluid composition at that pressure, VESIcal would say the composition is undersaturated. Results in very small differences to the equilibriumfluidcomp() results, within error of the model (on the order of 0.01 mole fraction difference for H2O or CO2 in the fluid). The saturation pressure results are unchanged as they already performed a “fixedvolatiles” normalization. See pull request #170 for details.
- Jupyter Notebook
Published by kaylai almost 4 years ago
vesical - Version 1.2.1
Fixed small bug in the Iacono-Marziano model. In most cases this will result in either a very small difference to the calculated results or no difference at all.
- Jupyter Notebook
Published by kaylai almost 4 years ago
vesical - Version 1.2.0
A small but mighty update comes to VESIcal v1.2.0. VESIcal can now be used without the isntallation of the thermoengine library (which can only be built from source on a mac or run via a docker image on a PC or linux machine). MagmaSat, VESIcal’s default model, requires thermoengine to run. We chose MagmaSat as the default model for a reason (it’s usually the best model to use), but there are plenty of cases where access to the other models and not to MagmaSat is desired.
The usage of VESIcal remains unchanged in the new version. Simply install using pip (see Installation) and get to work. If you do not have thermoengine installed, remember to specify which model to use in each calculation performed.
- Jupyter Notebook
Published by kaylai about 4 years ago
vesical - Version 1.1.1
- Fixed bug where users could not calculate or plot degassing paths for compositions with only one volatile.
- Fixed bug where degassing paths in MagmaSat were not calculated down to 1 bar.
- Jupyter Notebook
Published by kaylai about 4 years ago
vesical - Version 1.1.0
New in version 1.1.0 is VESIcal’s thermo package. This package begins to introduce more calculations that a user might wish to perform. In this version, we have added the ability to calculate the density of a liquid (using DensityX, Iacovino and Till, 2019) and the viscosity of a liquid (Giordano et al., 2008). Check out the tutorials to learn how to use these functions, which use the same syntax as all other core calculations.
- Jupyter Notebook
Published by kaylai about 4 years ago
vesical - Version 1.0.4
Changelog:
- Directed H2O driver warnings (sometimes generated when running MagmaSat) into the void, so that they will not print inside Jupyter Notebooks as started happening with the latest version of ipython or jupyter.
- Jupyter Notebook
Published by simonwmatthews about 4 years ago
vesical - Version 1.0.3
Changelog:
- Batch calculations for calculateequilibriumfluid_comp() with the MagmaSat (default) model can now take the verbose argument. If passed as verbose=True, the calculation will return the mass and weight proportion of fluid in equilibrium with the system. Previously this only worked for single sample calculations.
- Jupyter Notebook
Published by kaylai over 4 years ago
vesical - Version 1.0.1
This release is the version of VESIcal finalized for publication alongside the companion manuscript accepted for publication in the AGU journal Earth and Space Sciences.
- Jupyter Notebook
Published by kaylai almost 5 years ago