Closed dmgaldi closed 1 year ago
Curious how floating point values need utf-8 encoding?
This is an optimization for outputting the variable. For filtering, we use a binary floating point representation that can be easily deserialized into a Java float.
If a client requests to output a floating point variable, the tabular output is encoded as utf-8 strings. It's somewhat expensive to convert a Java float into a string, so have the utf-8 string representations pre-computed in another file alongside the binary floating point file.
There's a world where we could have a binary application/octet
version of the tabular endpoint so we don't have to worry about utf-8, but that would require all consumers to understand our binary format, whereas right now it's all encapsulated in subsetting service.
This led to discovery of two other issues:
Entity entries with multiple ancestors is currently awaiting @jbrestel to remove the offending studies and reload the megastudy.
Files are in good shape now on yew.
Three issues found: