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.
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.