4Subsea / waveresponse-python

Vessel motion and wave utilities
https://docs.4insight.io/waveresponse/python/latest/
MIT License
12 stars 4 forks source link

read and write raos to/from a predefined json format #53

Open harald-holden-4ss opened 1 year ago

harald-holden-4ss commented 1 year ago

It would be convenient to be able to read and write the rao object to and from a standardized json format. This for storage and reuse of the raos in a document database. This would also enable interfaces towards other formats (Orcaflex, xml ++) as readers/writers to these formats can be established. The Dynops team has established an example of such json format for storage in a document databasse that can be used as an example/starting point...

heidi-holm-4ss commented 1 year ago

Thanks for the input. I've created a user story, but it is not a high priority at the moment https://4insight.atlassian.net/browse/DST-421

RubendeBruin commented 4 months ago

FYI, I have implemented this functionality in a derived class here:

https://github.com/RubendeBruin/WaveDave/blob/main/src/wavedave/rao/rao.py#L81