Serialization formats #71
-
|
For PGM-DS we are looking into serialisation of Grid objects. PGM supports json & msgpack on which we could be build. However, we are also still considering parquet or numpy-binary. What were your considerations for supporting json and msgpack? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
As far as I know, We use |
Beta Was this translation helpful? Give feedback.
-
|
Things to consider for me:
|
Beta Was this translation helpful? Give feedback.
Hi @jaapschoutenalliander,
numpy-binaryispython/numpyspecific, PGM core is in general language acoustic (with universal C-API).As far as I know,
parquetcannot store multiple tables with different length and width inside one file. Also it misses the function to store sparse batch dataset, metadata, etc.We use
jsonandmsgpackbecause they are both well-known serialization format. We define our data model on top of the serialization.