GithubHelp home page GithubHelp logo

mcdittmar / jovial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from olaurino/jovial

0.0 0.0 0.0 500 KB

A toolset for data modeling in the IVOA

License: BSD 3-Clause "New" or "Revised" License

Groovy 93.48% Java 5.85% Shell 0.16% Dockerfile 0.51%

jovial's People

Contributors

mcdittmar avatar olaurino avatar

jovial's Issues

class generator - cannot handle redirected URLs for imported models

  • imported model URLs must be valid endpoints, not redirected
    • jovial loads the imported model files from the specified and does NOT follow redirects.
    • This can result in a runtime error "DOCTYPE is disallowed..." when it receives the redirect response.
      o Coords model: ivoa url => 'http' -> 'https'
      o Meas model: ivoa url => 'http' -> 'https'
      coords url => -> <ivoa_root>/STC/20200908/Coords-v1.0.vo-dml.xml

VOTable writer: cannot produce multiple reference case

Seen in dm-usecase/usecases/column_groupings
Object contains list of references to other Object
The expected output (understood by rama) is:

<REFERENCE dmrole=blah>
<IDREF>ref1</IDREF>
<IDREF>ref2</IDREF>
etc.
</REFERENCE>

I was not able to produce the proper DSL commands to generate this output.

RFE: class generator - write source vo-dml/xml file to output

In mode for generating python classes from vo-dml/XML file.

  • jovial --python <vodml/xml>

It would be helpful to include a comment or doc string in the resulting module file indicating the model file used.
The filename (URL) would be a good start, but can be unreliable if working with a local copy.
Perhaps some of the metadata info from the resource file itself... (name, description, uri, etc.)

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.