Open stephen-frank opened 2 years ago
Removing low-priority
tag; I think this is going to become higher priority.
@anyaelena, @haneslinger Haystack JSON v4 aka "Hayson" has native encoding of numbers when they are unitless, but when they do have units the encoding looks like this:
{ "_kind": "number", "val": 123, "unit": "m" }
I think it is beneficial to keep the encoding as non-Haystack-specific as possible, however, it still has to be something SkySpark can read. We will have numeric data to encode in the output JSON e.g. data_config
that has an associated unit. Options I see are:
time_units
tag or some such, and rely on the nrelWattileExt SkySpark package to properly interpret the JSON.I'm leaning toward some version of 2, but let me know your thoughts.
Update the input data configuration JSON to Haystack version 4. Affects...
tests/data/README.md
(describes format)tests/data/Synthetic Site/Synthetic Site Config.json