Giter VIP home page Giter VIP logo

Comments (2)

vchendrix avatar vchendrix commented on June 28, 2024

@emilyarobles @gilbertozp I am looking at the ESS-DIVE API technical documentation and it looks like the citation field only allows strings and not lists of strings. We probably need to ask if they will allow and array of strings for multiple lines. In the meantime, I will see if the following works: intead of spliting the string into a list to leave it as a string with new lines.

citation Citation{description:(Related References)
description: (Related References) Associated publications or data packages where users can learn more about the dataset, processing method, or how the data were used.Enter the DOIs of all related papers or data packages. If no DOI is available, enter the current citation information for the reference.
anyOf -> stringmaxLength: 1024minLength: 1[uniqueItems: truestringmaxLength: 1024minLength: 1]

from ngt-archive.

vchendrix avatar vchendrix commented on June 28, 2024

@emilyarobles @gilbertozp I tried submitting a single string with \n for line breaks. While ESS-DIVE api accepted the submission it renders the newline control charaters and not the newline. I manually edit the dataset to have two reference lines (two different text boxes) and accessed the dataset via the api and it returns the following for the citation

"citation": [
            "Goulden, M. L., and Coauthors, Diel and seasonal patterns of tropical forest CO2 exchange, Ecol. Appl., 14, S42-S54, 2004. Solander et al.: The pantropical response of soil moisture to El Niño, Hydrol. Earth Syst. Sci., 24, 2303–2322, https://doi.org/10.5194/hess-24-2303-2020, 2020",
            "Additional information about citations: Some additional information about my references"
        ],

Thus, this is an ESS-DIVE bug that we need to email them about.

from ngt-archive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.