Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read JSON data from Python/Fortran #186

Closed
edigiacomo opened this issue Nov 5, 2019 · 2 comments
Closed

Read JSON data from Python/Fortran #186

edigiacomo opened this issue Nov 5, 2019 · 2 comments
Assignees

Comments

@edigiacomo
Copy link
Member

It would be useful to read a JSON file from Python:

importer = dballe.Importer("JSON")
with importer.from_file("test.json") as f:
    for msg in f:
        print("{m.report},{m.coords},{m.ident},{m.datetime},{m.type}".format(m=msg))
@spanezz
Copy link
Contributor

spanezz commented Jan 10, 2020

It should work now, after the fix of #202

@spanezz spanezz added the review label Jan 10, 2020
@spanezz spanezz assigned edigiacomo and unassigned spanezz Jan 10, 2020
@edigiacomo
Copy link
Member Author

I confirm that it works (with a little delay 😬 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants