-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move warnings discussion to its own file and rephrase duplicate ASDF …
…warning
- Loading branch information
Showing
3 changed files
with
46 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.. _dkist:howto-guide:asdf-warnings | ||
Understanding version warnings when loading ASDFs | ||
================================================= | ||
|
||
When you load a recently-downloaded ASDF file you may see a warning something like this: | ||
|
||
:: | ||
|
||
AsdfPackageVersionWarning: File '<file you tried to load>' was created with extension URI 'asdf://asdf-format.org/astronomy/gwcs/extensions/gwcs-1.2.0' (from package gwcs==0.24.0), but older package (gwcs==0.22.0) is installed. | ||
|
||
|
||
Of course the extension and package it complains about will vary. | ||
This warning means that an extension needed to properly parse the ASDF file is missing or outdated. | ||
To correct this, you should update your Python tools installation with | ||
|
||
.. code-block:: bash | ||
pip install --upgrade dkist | ||
if you installed using `pip` or | ||
|
||
.. code-block:: bash | ||
conda update dkist | ||
if you used `conda`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters