** Description changed:
It appears that when the filter passed to `grib_dump -j` produces no
results, the output is just: `]}` (with a blank line preceding it.
... rather than what it should be, which I think is `{ "messages" : []
}`
Looks like it is just missing the opening `{ "messages" : [`
- Easy to reproduce... just pass a filter than would never produce any
+ Easy to reproduce... just pass a filter that would never produce any
results...
- grib_dump -j -w parameterCategory=909,parameterNumber=321 gfs.grib2
+ grib_dump -j -w parameterCategory=909,parameterNumber=321 gfs.grib2
- ]}
+ ]}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902426
Title:
Invalid JSON returned by grib_dump when filter produces no results
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eccodes/+bug/1902426/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs