SciQLop / speasy

Space Physics made EASY! A simple Python package to deal with main Space Physics WebServices (CDA,SSC,AMDA,..)
Other
24 stars 7 forks source link

Preserve data type across speasy proxy #139

Closed jeandet closed 3 months ago

jeandet commented 4 months ago

Currently Speasy dictionary/JSON export function does not provides data type, that leads Speasy to convert everything to float64 when importing the dictionary on client side. See code here.

One solution is to add a data_type attribute in the dict and JSON and honor it while loading data back from JSON/dict.