forked from spacetelescope/toasty
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from pkgw/add-doi
Add support for automated Zenodo deposition and DOI registration
- Loading branch information
Showing
10 changed files
with
281 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// See https://pkgw.github.io/cranko/book/latest/integrations/zenodo.html | ||
// and https://developers.zenodo.org/#representation | ||
|
||
{ | ||
conceptrecid: 'new-for:0.18.0', | ||
|
||
metadata: { | ||
upload_type: 'software', | ||
language: 'eng', | ||
|
||
// ** Keep this alphabetical by family name!!! ** | ||
creators: [ | ||
{ | ||
affiliation: 'Google', | ||
name: 'Beaumont, Christopher', | ||
}, | ||
{ | ||
affiliation: 'Space Telescope Science Institute; SUPA, School of Physics and Astronomy, University of St. Andrews', | ||
name: 'Brasseur, C.', | ||
orcid: '0000-0002-9314-960X', | ||
}, | ||
{ | ||
affiliation: 'Winter Way', | ||
name: 'Norman, Henrik', | ||
orcid: '0000-0003-4189-3450', | ||
}, | ||
{ | ||
affiliation: 'Aperio Software', | ||
name: 'Robitaille, Thomas P.', | ||
orcid: '0000-0002-8642-1329', | ||
}, | ||
{ | ||
affiliation: 'Center for Astrophysics | Harvard & Smithsonian', | ||
name: 'Williams, Peter K. G.', | ||
orcid: '0000-0003-3734-3587', | ||
}, | ||
{ | ||
affiliation: 'US Space and Rocket Center', | ||
name: 'Weigel, A. David', | ||
orcid: '0000-0002-8026-2291', | ||
}, | ||
], | ||
|
||
// Subset of HTML allowed here: | ||
description: 'toasty is a Python library that helps you create “tile pyramids” \ | ||
from astronomical image data, as used in the TOAST format. These multi-resolution \ | ||
maps can be viewed in software such as the AAS WorldWide Telescope. Learn more \ | ||
at <a href="https://toasty.readthedocs.io/">the toasty website</a>.', | ||
|
||
access_right: 'open', | ||
license: 'MIT', // see https://spdx.org/licenses/ | ||
|
||
// Relevant grants are currently (2022 Aug) missing from Zenodo's database | ||
// so we don't include them for now. | ||
// | ||
// grants: [ | ||
// // National Science Foundation: | ||
// {id: '10.13039/100000001::2004840'}, | ||
// ], | ||
|
||
// Keywords use an uncontrolled vocabulary (and so are of limited usefulness): | ||
keywords: [ | ||
'AAS WorldWide Telescope', | ||
'Astronomy', | ||
'Python', | ||
'Visualization', | ||
], | ||
}, | ||
} |
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,33 @@ | ||
.. _cli-show-concept-doi: | ||
|
||
=========================== | ||
``toasty show concept-doi`` | ||
=========================== | ||
|
||
The ``show concept-doi`` command prints the `concept DOI`_ associated with | ||
the Toasty software package. | ||
|
||
.. _concept DOI: https://help.zenodo.org/ | ||
|
||
Usage | ||
===== | ||
|
||
.. code-block:: shell | ||
toasty show concept-doi | ||
Prints out Toasty’s concept DOI. | ||
|
||
Notes | ||
===== | ||
|
||
A `concept DOI`_ is a unique identifier used to associate multiple releases of a | ||
software package. If you are trying to preserve information about your usage of | ||
the Toasty software, you should almost certainly prefer the | ||
:ref:`cli-show-version-doi` command. | ||
|
||
|
||
See Also | ||
======== | ||
|
||
- :ref:`cli-show-version-doi` |
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,39 @@ | ||
.. _cli-show-version-doi: | ||
|
||
=========================== | ||
``toasty show version-doi`` | ||
=========================== | ||
|
||
The ``show version-doi`` command prints the `DOI`_ associated with | ||
the current version of the Toasty software package. | ||
|
||
.. _DOI: https://help.zenodo.org/ | ||
|
||
Usage | ||
===== | ||
|
||
.. code-block:: shell | ||
toasty show version-doi | ||
Prints out the DOI of the current version of Toasty. | ||
|
||
Notes | ||
===== | ||
|
||
While the version DOI in and of itself does not provide any information that | ||
isn’t already provided more clearly by the :ref:`cli-show-version` command, the | ||
version DOI can be used to properly cite your use of the Toasty software in an | ||
academic context. | ||
|
||
While each release of Toasty has its own version DOI, all releases of toasty | ||
share the same “concept DOI”, which can be obtained with the | ||
:ref:`cli-show-concept-doi` command. Unless you specifically know that you need the | ||
concept DOI for a particular application, you should use the version DOI. | ||
|
||
|
||
See Also | ||
======== | ||
|
||
- :ref:`cli-show-concept-doi` | ||
- :ref:`cli-show-version` |
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,34 @@ | ||
.. _cli-show-version: | ||
|
||
======================= | ||
``toasty show version`` | ||
======================= | ||
|
||
The ``show version`` command prints out the current version of the Toasty | ||
software package. | ||
|
||
.. _DOI: https://help.zenodo.org/ | ||
|
||
Usage | ||
===== | ||
|
||
.. code-block:: shell | ||
toasty show version | ||
Prints out the current version of Toasty. | ||
|
||
Notes | ||
===== | ||
|
||
In academic contexts, you may also wish to use the :ref:`cli-show-version-doi` | ||
command to obtain a `DOI`_ that can be used to properly cite your use of the | ||
Toasty software. | ||
|
||
.. _DOI: https://help.zenodo.org/ | ||
|
||
|
||
See Also | ||
======== | ||
|
||
- :ref:`cli-show-version-doi` |
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