MassimoCimmino / pygfunction

An open-source toolbox for the evaluation of thermal response factors (g-functions) of geothermal borehole fields.
BSD 3-Clause "New" or "Revised" License
46 stars 20 forks source link

Import and export fields and pipes #28

Open MassimoCimmino opened 6 years ago

MassimoCimmino commented 6 years ago

Add functionnality to import and export bore fields and pipes, possibly using json.

Bore fields should be exportable/importable in both json and simple text formats.

This could require changes in the interfaces of Borehole and Pipe classes.

j-c-cook commented 2 years ago

An option for this may be pickle. The pickle package can store objects in a file. I don't think the file created would be human readable.