Skip to content

Releases: WCRP-CMIP/cmipcite

v0.3.0

13 Nov 00:01

Choose a tag to compare

Announcements

  • We've switched the default citation granularity to model level, rather than experiment level
  • We now support using paths as input

Changelog

⚠️ Breaking Changes

  • Changed default citations to be 'model' granularity citations rather than 'model-experiment' granularity citations.
    In practice, this means that you will get fewer citations and they will be the ones that apply to all submissions for a given model, rather than one citation for each model-experiment combination that is found. (#7)

🆕 Features

    • Added support for taking paths to CMIP netCDF files as input
    • Added doi_granularity option so users can specify whether they want citations at the model or experiment granularity

    (#7)

📚 Improved Documentation

  • Split how-to get citations docs into basic and advanced (#7)

🔧 Trivial/Internal Changes

Changes

v0.2.0

03 Nov 21:23

Choose a tag to compare

Announcements

  • We have added support for getting citations for files that are members of multiple datasets i.e. associated with multiple PIDs 🎉
    • This required some alterations to the API, see below (and if you're such an early adopter that this matters to you, congrats)

Changelog

⚠️ Breaking Changes

    • Changed the input arguments expected by [cmipcite.citations.get_citations][]. The old format and author_list_style should now be handled when creating the value to pass to the new get_citation argument. This provides finer-grained control over how citations are generated (once the DOIs and versions have been determined). For an API that closely mirrors the command-line cmipcite get API, see [cmipcite.citations.get][].
    • Split cmipcite.citations.get_citation_for_id into [cmipcite.citations.get_text_citation][], [cmipcite.citations.get_bibtex_citation][] and [cmipcite.citations.get_doi_and_version][]. This allows the process of retrieving relevant DOIs and versions to be separated from how the citations for those DOIs and versions are retrieved and formatted.

    (#5)

🆕 Features

  • get_citations now works with tracking_id and PID. (#3)

    • Added [cmipcite.citations.get][] to provide a Python API which closely mirrors the command-line cmipcite get command ([cmipcite.citations.get_citations][] is a lower-level function which provides more flexibility to Python users looking for greater control)
    • Added the [cmipcite.tracking_id][] module to support handling of tracking IDs specifically (as opposed to PIDs)

    (#5)

🎉 Improvements

    • Added support for getting citations for files that are members of multiple datasets i.e. associated with multiple PIDs
    • Added the --multi-dataset-handling and --handle-server-url arguments to the cmipcite get CLI to add the support above and avoid hard-coding the server URL used throughout

    (#5)

Changes

v0.1.3

28 Oct 15:33

Choose a tag to compare

Announcements

  • Nothing to announce, just checking tokens work

Changelog

No significant changes.

Changes

  • 034b4ee bump: version 0.1.2.post1 -> 0.1.3
  • 6f43c66 bump(pre-release): version 0.1.2 > 0.1.2.post1

v0.1.2

27 Oct 19:56

Choose a tag to compare

Announcements

  • Announcement 1

Changelog

No significant changes.

Changes

  • 8148e38 bump: version 0.1.1.post1 -> 0.1.2
  • 2b62a98 Add licence
  • ca2401d bump(pre-release): version 0.1.1 > 0.1.1.post1

v0.1.1

27 Oct 19:51

Choose a tag to compare

Announcements

  • Announcement 1

Changelog

🆕 Features

  • Add basic cmipcite get command-line interface and associated Python API (#1)