Skip to content

Releases: iterorganization/IMAS-Python

2.0.1

18 Jun 12:36
Compare
Choose a tag to compare

What's Changed since version 2.0.0

  • Improve DD3-->DD4 conversion (sign conversion to dodpsi_like)
  • Improve conversion of pulse_schedule IDS >= 3.39.0
  • Numpy 2 compatibility
  • Improve UDA data fetch
  • Improve documentation
  • New dependency on imas-data-dictionaries package (remove internal build via saxonche)
  • Full compatibility of tests with netCDF<1.7 (no complex numbers)

Full Changelog: 2.0.0...2.0.1

2.0.0

18 Jun 12:32
27d7cd6
Compare
Choose a tag to compare

Changes since version 1.2

The package name was changed from imaspy to imas while porting the code to GitHub. This is a breaking change, but shall only affect the import statements in your code.

New features and improvements

  • Add imas.util.to_xarray() to convert a full IDS or only specific paths herein to a Xarray Dataset. See Convert IMAS-Python IDSs directly to Xarray Datasets for more details.
  • Implements automatic DD version conversion on imas.db_entry.DBEntry.get() (conversion during imas.db_entry.DBEntry.put() is not supported as this is rarely needed and easily worked around).
  • Enable lazy loading when reading data from a netCDF file.
  • Minor performance improvement loading data from a netCDF file.
  • Replace versioneer by setuptools-scm to determine the version of the code.
  • Use saxonche instead of the JAR for XSL transforms (when building versions of the DD).
  • Updating the README, CONTRIBUTING guidelines and documentation after making the code open access.