question

Upvotes
Accepted
5 0 0 2

Error causing instument

I have a long list of instruments, specified by <RIC identifiers>, and downloaded by the python API of DSWS.

Some of them are causing errors, and my list is long. Is there any way to make the Python API ignore missing instruments?

Best regards

datastream-apidsws-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 69 35 53

@mikkel.jorgensen

It could be a problem when converting the returned JSON response to the data frame.

From my test, if there is an invalid item in the request, DatastreamDSWS returns:

However, if I use the PyDSWS library, it can return the data properly.

You can report this issue to DatastreamDSWS on GitHub.


1576134755697.png (21.7 KiB)
1576134820988.png (15.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Thanks, I do need something that is quite robust, so it may be good to use PyDSWS.

Click below to post an Idea Post Idea