Skip to content

Time Interval out of range suggestion #24

@angelgutarra

Description

@angelgutarra

When I input a time that is out of range for a satellite, hapi gives a general error message. It would be helpful if the error message stated that the time was out of range.

server     = 'http://hapi-server.org/servers-dev/SSCWeb/hapi';
dataset    = 'ace';
parameters = 'X_GSE'
start      = '1997-01-02T10:00:00.000Z';
stop       = '1997-01-02T10:24:00.000Z';
data, meta = hapi(server, dataset, parameters, start, stop)
Error: HAPIError: Problem with http://hapi-server.org/servers-dev/SSCWeb/hapi/data?id=ace&parameters=X_GSE&time.min=1997-01-02T10:00:00.000Z&time.max=1997-01-02T10:24:00.000Z&format=binary. Server responded with non-200 HTTP status (400) and no HAPI JSON error message in response body. If problem persists, a contact email for the server may be listed at http://hapi-server.org/servers/ for URL: http://hapi-server.org/servers-dev/SSCWeb/hapi/data?id=ace&parameters=X_GSE&time.min=1997-01-02T10:00:00.000Z&time.max=1997-01-02T10:24:00.000Z&format=binary

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