oq-engine icon indicating copy to clipboard operation
oq-engine copied to clipboard

The extract api still returns some bytes instead of strings

Open ptormene opened this issue 4 years ago • 3 comments

  • [ ] Extracting realizations, branches are returned as bytes
  • [ ] Extracting asset_tags, all items (taxonomies and tags) are returned as arrays of bytes
  • [ ] Boundaries of ruptures are returned as bytes
  • [ ] Extracting agg_curves, units are returned as bytes

Also see https://github.com/gem/oq-irmt-qgis/issues/743

ptormene avatar Sep 24 '20 12:09 ptormene

Is this a problem, @ptormene ? If not, we can close the issue.

micheles avatar Sep 13 '21 15:09 micheles

It is not an urgent matter and it is not necessary.

ptormene avatar Sep 14 '21 14:09 ptormene

This will come hot again due to https://github.com/gem/oq-engine/issues/6668: h5py 3.1 returns bytes instead of strings, so it may break the plugin even more.

micheles avatar Sep 16 '21 04:09 micheles

We already switched to h5py 3.1 without big issues; let's keep the status quo.

micheles avatar Sep 14 '22 08:09 micheles