Skip to content

Handling of disallowed space in parameter names #79

@jbfaden

Description

@jbfaden

The HAPI spec was vague for quite a while about what a valid parameter name is, and some systems handle spaces just fine. Autoplot and the PDS-PPI HAPI server use the parameter name "MAXSIGFLAGS Item 2" successfully, but the verifier does not, and immediately quits with:

  ✗ Dataset urn:nasa:pds:lro-crater:data-der-pri&parameters=MAXSIGFLAGS+Item+2&time.min=2009-06-28T19:00:00.000Z&time.max=2009-06-29T19:00:00.000Z is not in catalog
  Got: to abort

Cannot continue any validation tests due to last failure. Exiting with signal 1.

I think now that the parameter name recommendation is that Java/Python variable names should be used this is not such an issue, but this is still a recommendation, and the verifier should issue a warning and continue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions