GithubHelp home page GithubHelp logo

Minimise use of XML about cfradial HOT 2 OPEN

marack avatar marack commented on September 16, 2024
Minimise use of XML

from cfradial.

Comments (2)

mike-dixon avatar mike-dixon commented on September 16, 2024

We could change status_xml to status_str. I think 'status' is a bit too short and not descriptive enough.
I prefer status_xml, but its not a big deal for me, so making it more flexible is fine with me.
For legends, having values and labels is OK, but Ken may have some ideas about how to do this with CF conventions in mind.
The advantage of XML for thresholding is that it allows for complex structures. But once again, we could specify a string instead of XML. This is new for CfRadial2.

from cfradial.

kenkehoe avatar kenkehoe commented on September 16, 2024

I am not a big fan of XML but I don't see a reason to exclude any format or choose a specific format. I would prefer to find a way to encode the information in netCDF native format as Mark noted. If we take _xml off I'm concerned that the user will not know what format to use to extract the information. Putting "XML" in the string may be difficult to then parse. I would suggest keeping the format of the sting values if the users need to use another parser (XML, JSON, YAML, ...) so the paring can be known right away. If there is no indication of the format it will be difficult to guess correctly. I don't know much about the data required in these variables and would need to spend some time digging in to it before making a suggestion.

from cfradial.

Related Issues (12)

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.