asdf-transform-schemas provides ASDF (Advanced Scientific Data Format) schemas primarily for validating transform tags, specifically those related to serializing `astropy.modeling` models into ASDF files. It acts as a dependency for higher-level packages like `asdf-astropy`, which implement the serialization logic. The library is currently at version 0.6.0 and generally follows the release cadence of the broader ASDF Standard.
pip install asdf-transform-schemasNo compatibility data collected yet for this library.
This quickstart demonstrates how `asdf-transform-schemas` facilitates the serialization and deserialization of `astropy.modeling` objects within ASDF files. While `asdf-transform-schemas` provides the schema definitions, the actual Python object handling is performed by the `asdf` library using the `asdf-astropy` extension. The example creates a `Rotation2D` model, saves it to an ASDF file, and then reads it back, implicitly using the schemas for validation.
Install `asdf-astropy` (`pip install asdf-astropy`) and use the `asdf` library to work with files containing transform tags.
Avoid `0.2.1`. Upgrade to `asdf-transform-schemas` version `0.2.2` or later.
Ensure `jsonschema` is pinned to a compatible version (e.g., `<4.10.0` for older ASDF installations) or upgrade `asdf` and its extensions to recent versions that have resolved these compatibility issues.
Upgrade Python to a supported version (currently >=3.9 for `asdf-transform-schemas 0.6.0`, but check `asdf-standard` and `asdf` for their latest requirements).
Downgrade `jsonschema` to a version prior to `4.10.0` (e.g., `pip install 'jsonschema<4.10.0'`) or upgrade your `asdf` core library and associated extensions to their latest versions, which typically include fixes for such incompatibilities.
Ensure `asdf-astropy` is installed (`pip install asdf-astropy`). If it is, verify that it's properly registered with ASDF, which usually happens automatically on import, or by restarting your Python environment. Also, check the version compatibility between `asdf`, `asdf-astropy`, and the ASDF Standard version used in the file.