ESMValGroup / ESMValCore

ESMValCore: A community tool for pre-processing data from Earth system models in CMIP and running analysis scripts.
https://www.esmvaltool.org
Apache License 2.0
42 stars 38 forks source link

Improve bibtex data citation for non-CMIP6 data #609

Open bouweandela opened 4 years ago

bouweandela commented 4 years ago

For CMIP6 data, we have the information from ES-DOC that can be used to produce a BibTeX entry. For all other data, we only have the content of the reference (CMORized for ESMValTool) or references (e.g. CMIP5) global NetCDF attribute. To improve the amount of BibTeX entries we have available, we could try to make a regular expression to extract DOIs from these strings and then download the corresponding BibTeX file.

SarahAlidoost commented 4 years ago

The bibtex files are already available for some of the other data in the reference folder. The extract_doi_value function finds the bibtex file and extracts the doi. If we can store the reference tag and use it while running a recipe, we can write the entire bibtex content for the cmorized data used in the recipe. For other data, as @bouweandela suggested, we can check global attributes to look for a doi or a link to reference entries.