Releases: NRL-Plasma-Physics-Division/turbopy
v2023.06.09
updated python and numpy
v2023.06.08a
trying to push to PyPi
numpy bugfixes
This release addresses the numpy depreciation error in which we change numpy.int to numpy.int64
AttributeError: module 'numpy' has no attribute 'int'.
np.int was a deprecated alias for the builtin int. To avoid this error in existing code, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.
v2020.10.14
This release includes a new "history" diagnostic, which uses the xarray package to save outputs in netCDF format. Additional metadata (variable name and units) are saved alongside the diagnostic outputs.
The output utilities for diagnostics have been improved and cleaned up.
Minor bugs have been fixed.
v2020.09.10
Minor updates
v2020.08.25 release
New feature: default resource sharing
We are excited to announce a new feature, available now in today's release:
Automatic sharing of public PhysicsModule class attributes.
This automatic sharing is accomplished by an update to the PhysicsModule.exchange_resources method in the base PhysicsModule class. Any public class attributes (whose names do not start with an underscore) will be automatically shared with other PhysicsModules using the name <class_name>_<attribute_name>.
By introducing this automatic resource sharing, we hope to simplify the creation of custom PhysicsModules. If you want to share an attribute, now all you need to do is give it a "public" name (not starting with an underscore). You no longer have to write your own custom exchange_resources method.
Backwards compatibility
Note that there are some minor changes to variable names in this release which might break backwards compatibility with existing turboPy apps. In particular, the names of several class attributes were changed to follow python's public/private attribute naming convention. For example, variables such as owner and input_data were changed to _owner and _input_data.
v2020.08.05
First release with documentation and tests in place.