Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve mapping between CIOOS .xml and Datacite .xml #22

Closed
Br-Johnson opened this issue Jul 20, 2022 · 2 comments
Closed

Improve mapping between CIOOS .xml and Datacite .xml #22

Br-Johnson opened this issue Jul 20, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@Br-Johnson
Copy link

Br-Johnson commented Jul 20, 2022

Dates: The only date that makes it into Datacite .XML is the year 2022 with 'Date Type' = Issued. I don't think it makes sense to map Metadata Creation and Revision Dates from CIOOS .XML into Dataset. As for dates related to actual data resources, it would be nice if 'Dataset Creation Date' in CIOOS .XML would map to 'Created' Date Type in Datacite .XML. 'Dataset Publication Date' in CIOOS .XML could map to DataCite 'Date Type' Available.

@Br-Johnson Br-Johnson added the enhancement New feature or request label Jul 20, 2022
@Br-Johnson
Copy link
Author

Br-Johnson commented Jan 17, 2023

In datacite.xml:

  • URL for the location of the landing page not populated
  • ORCID doesn't make it into Datacite.xml
  • ROR doesn't make it though affiliation (organization name) does
  • Automatically assigned my Contributor Type to Distributor even though I did not select that in the metadata intake form (I selected metadata custodian, Data Owner, Author, Principal Investigator.

This is related to this datacite.xml snippet below which exported from the CKAN interface when logged in as admin and the ISO 19115 xml file for the metadata record is pasted below that:

`


        <creatorName nameType="Personal">Johnson, Brett</creatorName>
        <givenName>Brett</givenName>
        <familyName>Johnson</familyName>
      
      <affiliation>Hakai Institute</affiliation>
    </creator>
    </creators>
<titles>
  <title xml:lang="en">Genetic Stock Identification of Juvenile Sockeye Salmon</title>
  <title xml:lang="fr">Identification génétique des stocks de saumons rouges juvéniles</title>
</titles>
<publicationYear>2023</publicationYear>
  <subjects>
  <subject xml:lang="en">oceans</subject>
  <subject xml:lang="en">juvenile-salmon-program</subject>
  <subject xml:lang="en">salmon</subject>
  <subject xml:lang="en">genetic-stock-id</subject>
  <subject xml:lang="en">molecular-genetics</subject>
  <subject xml:lang="en">sockeye</subject>
  <subject xml:lang="en">fishabundanceanddistribution</subject>
  <subject xml:lang="fr">abondance-et-distribution-de-poissons</subject>
</subjects>
<contributors>
  <contributor contributorType="Distributor">
    
      <creatorName nameType="Personal">Johnson, Brett</creatorName>
      <givenName>Brett</givenName>
      <familyName>Johnson</familyName>
    
    <contributorName>(' Brett', 'Johnson')</contributorName>
    <givenName>Johnson</givenName>
    <familyName> Brett</familyName>
    <affiliation>Hakai Institute</affiliation>
  </contributor>
</contributors>
<language>en</language>
<resourceType resourceTypeGeneral="Dataset">Dataset</resourceType>
<version>1.0</version>
<rightsList>
  <rights xml:lang="en-US" rightsURI="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0</rights>
</rightsList>
<descriptions>
  <description xml:lang="en" descriptionType="Abstract">
    This datasets contains genetic stock identifications for juvenile sockeye salmon collected by the Hakai Institute Juvenile Salmon Program between 2015 and 2021. This information tells us the probability that each specific fish originates from a specific watershed. The stock ID was done at the Department of Fisheries and Oceans Pacific Biological Station in Nanaimo BC using the coastwide040118.bse baseline that is comprised of 214 distinct populations.
  </description>
  <description xml:lang="fr" descriptionType="Abstract">
    Ces ensembles de données contiennent des identifications génétiques de stocks de saumons rouges juvéniles collectées par le Hakai Institute Juvenile Salmon Program entre 2015 et 2021. Ces informations nous indiquent la probabilité que chaque poisson soit originaire d'un bassin versant spécifique. L'identification du stock a été effectuée à la station biologique du Pacifique du ministère des Pêches et des Océans à Nanaimo, en Colombie-Britannique, en utilisant la base de référence coastwide040118.bse, qui comprend 214 populations distinctes.
  </description>
</descriptions>

<geoLocations>
  <geoLocation>
    <geoLocationBox>
      <westBoundLongitude>-127.0</westBoundLongitude>
      <eastBoundLongitude>-124.4</eastBoundLongitude>
      <southBoundLatitude>49.88</southBoundLatitude>
      <northBoundLatitude>50.84</northBoundLatitude>
    </geoLocationBox>
    
    <geoLocationPolygon>
      <polygonPoint>
        <pointLatitude>49.88</pointLatitude>
        <pointLongitude>-127.0</pointLongitude>
      </polygonPoint>
      <polygonPoint>
        <pointLatitude>49.88</pointLatitude>
        <pointLongitude>-124.4</pointLongitude>
      </polygonPoint>
      <polygonPoint>
        <pointLatitude>50.84</pointLatitude>
        <pointLongitude>-124.4</pointLongitude>
      </polygonPoint>
      <polygonPoint>
        <pointLatitude>50.84</pointLatitude>
        <pointLongitude>-127.0</pointLongitude>
      </polygonPoint>
      <polygonPoint>
        <pointLatitude>49.88</pointLatitude>
        <pointLongitude>-127.0</pointLongitude>
      </polygonPoint>
    </geoLocationPolygon>
  </geoLocation>
</geoLocations>

`

  <?xml version="1.0" encoding="UTF-8"?>
  <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd">
    <creators>
      <creator>
          
            <creatorName nameType="Personal">Johnson, Brett</creatorName>
            <givenName>Brett</givenName>
            <familyName>Johnson</familyName>
          
          <affiliation>Hakai Institute</affiliation>
        </creator>
        </creators>
    <titles>
      <title xml:lang="en">Genetic Stock Identification of Juvenile Sockeye Salmon</title>
      <title xml:lang="fr">Identification génétique des stocks de saumons rouges juvéniles</title>
    </titles>
    <publicationYear>2023</publicationYear>
      <subjects>
      <subject xml:lang="en">oceans</subject>
      <subject xml:lang="en">juvenile-salmon-program</subject>
      <subject xml:lang="en">salmon</subject>
      <subject xml:lang="en">genetic-stock-id</subject>
      <subject xml:lang="en">molecular-genetics</subject>
      <subject xml:lang="en">sockeye</subject>
      <subject xml:lang="en">fishabundanceanddistribution</subject>
      <subject xml:lang="fr">abondance-et-distribution-de-poissons</subject>
    </subjects>
    <contributors>
      <contributor contributorType="Distributor">
        
          <creatorName nameType="Personal">Johnson, Brett</creatorName>
          <givenName>Brett</givenName>
          <familyName>Johnson</familyName>
        
        <contributorName>(' Brett', 'Johnson')</contributorName>
        <givenName>Johnson</givenName>
        <familyName> Brett</familyName>
        <affiliation>Hakai Institute</affiliation>
      </contributor>
    </contributors>
    <language>en</language>
    <resourceType resourceTypeGeneral="Dataset">Dataset</resourceType>
    <version>1.0</version>
    <rightsList>
      <rights xml:lang="en-US" rightsURI="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0</rights>
    </rightsList>
    <descriptions>
      <description xml:lang="en" descriptionType="Abstract">
        This datasets contains genetic stock identifications for juvenile sockeye salmon collected by the Hakai Institute Juvenile Salmon Program between 2015 and 2021. This information tells us the probability that each specific fish originates from a specific watershed. The stock ID was done at the Department of Fisheries and Oceans Pacific Biological Station in Nanaimo BC using the coastwide040118.bse baseline that is comprised of 214 distinct populations.
      </description>
      <description xml:lang="fr" descriptionType="Abstract">
        Ces ensembles de données contiennent des identifications génétiques de stocks de saumons rouges juvéniles collectées par le Hakai Institute Juvenile Salmon Program entre 2015 et 2021. Ces informations nous indiquent la probabilité que chaque poisson soit originaire d'un bassin versant spécifique. L'identification du stock a été effectuée à la station biologique du Pacifique du ministère des Pêches et des Océans à Nanaimo, en Colombie-Britannique, en utilisant la base de référence coastwide040118.bse, qui comprend 214 populations distinctes.
      </description>
    </descriptions>

    <geoLocations>
      <geoLocation>
        <geoLocationBox>
          <westBoundLongitude>-127.0</westBoundLongitude>
          <eastBoundLongitude>-124.4</eastBoundLongitude>
          <southBoundLatitude>49.88</southBoundLatitude>
          <northBoundLatitude>50.84</northBoundLatitude>
        </geoLocationBox>
        
        <geoLocationPolygon>
          <polygonPoint>
            <pointLatitude>49.88</pointLatitude>
            <pointLongitude>-127.0</pointLongitude>
          </polygonPoint>
          <polygonPoint>
            <pointLatitude>49.88</pointLatitude>
            <pointLongitude>-124.4</pointLongitude>
          </polygonPoint>
          <polygonPoint>
            <pointLatitude>50.84</pointLatitude>
            <pointLongitude>-124.4</pointLongitude>
          </polygonPoint>
          <polygonPoint>
            <pointLatitude>50.84</pointLatitude>
            <pointLongitude>-127.0</pointLongitude>
          </polygonPoint>
          <polygonPoint>
            <pointLatitude>49.88</pointLatitude>
            <pointLongitude>-127.0</pointLongitude>
          </polygonPoint>
        </geoLocationPolygon>
      </geoLocation>
    </geoLocations>

  </resource>

@Br-Johnson
Copy link
Author

This is irrelevant now that we use the datacite API so closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant