multiscale / muscle3

The third major version of the MUltiScale Coupling Library and Environment
Apache License 2.0
25 stars 13 forks source link

Add DCR::describe() #259

Open LourensVeen opened 12 months ago

LourensVeen commented 12 months ago

This function would return a string containing a description of the data. This could be simply its type (e.g. "an int") or for the more complex types some more information could be given ("a grid of double of shape (2, 3)"). It would make generating a good error message in case an incorrect type was received much easier. Type mismatch errors generated by libmuscle should use it too.