forked from spacetelescope/toasty
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+++ cranko-release-info-v1 [[projects]] qnames = ["toasty", "pypa"] version = "0.10.0" age = 0 +++
- Loading branch information
Showing
16 changed files
with
472 additions
and
89 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
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
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,52 @@ | ||
.. _cli-check-avm: | ||
|
||
==================== | ||
``toasty check-avm`` | ||
==================== | ||
|
||
The ``check-avm`` command checks whether an image file contains AVM (`Astronomy | ||
Visualization Metadata`_) tags in its metadata. AVM metadata often include | ||
spatial positioning data that specify how an astronomical image maps onto the | ||
sky, similar to `WCS`_ headers in FITS files. | ||
|
||
.. _Astronomy Visualization Metadata: https://virtualastronomy.org/avm_metadata.php | ||
|
||
Usage | ||
===== | ||
|
||
.. code-block:: shell | ||
toasty check-avm | ||
[--print] [-p] | ||
[--exitcode] | ||
IMAGE-PATH | ||
The ``IMAGE-PATH`` argument gives the filesystem path of an image to check. This | ||
should typically be an RGB bitmap image such as a JPEG, PNG, or TIFF file. The | ||
tool will try to load AVM data from the file and report whether it is | ||
successful. | ||
|
||
.. _WCS: https://fits.gsfc.nasa.gov/fits_wcs.html | ||
|
||
By default, only the presence of AVM data is reported. If the ``--print`` or | ||
``-p`` option is given, the AVM data will be dumped out. | ||
|
||
If the ``--exitcode`` option is given, the exit code of the command line tool | ||
will reflect whether AVM data were found. Zero (success) means that data were | ||
found, while nonzero (failure) indicates that no data were present, the data | ||
were corrupt, or that some other failure occurred. Without this option, the exit | ||
code will be zero if the image can be opened but contains no AVM data. | ||
|
||
|
||
Notes | ||
===== | ||
|
||
This functionality requires that the `pyavm`_ Python package has been installed. | ||
|
||
.. _pyavm: https://astrofrog.github.io/pyavm/ | ||
|
||
|
||
See Also | ||
======== | ||
|
||
- :ref:`cli-tile-study` |
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
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
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
Oops, something went wrong.