Closed smithara closed 4 years ago
Should this be possible? It seems to return data containing only the first observatory.
It is possible to request collections like this
{
"NSC": ["SW_OPER_AUX_OBSM2_:ABG", "SW_OPER_AUX_OBSM2_:ABK"]
}
but the result will contain data from the first collection only. The reason is that the two collections are of the same type and thus they contain the same variables. The requested variables are read from the first collection while there is no variable left to be read from the second.
To get data from two (or more) sensors in one shot make a request like this:
{
"ABG": ["SW_OPER_AUX_OBSM2_:ABG"],
"ABK": ["SW_OPER_AUX_OBSM2_:ABK"]
}
Note that when we request data from different Swarm spacecraft we make a request like
{
"Alpha":["SW_OPER_MAGA_LR_1B"],
"Bravo":["SW_OPER_MAGB_LR_1B"],
"Charlie":["SW_OPER_MAGC_LR_1B"]
}
Is the usage of the "NSC" tag there correct?
This label can be anything. The server makes no use of it. It is used only by web GUI requests.
Thank you for the explanation!
I made the client fix for this along with the initial AUX_OBS configuration https://github.com/ESA-VirES/VirES-Python-Client/commit/17493bb4de64fdc10e7454f88b0f21e700179bc2
Though I should really add the option to make independent requests automatically and merge the results using some user-selectable logic
I am trying to access two observatories at once, i.e. like:
which gives
Should this be possible? It seems to return data containing only the first observatory. Is the usage of the
"NSC"
tag there correct?I am trying to understand the implementation better but getting a bit lost!