Clarify what a=ooi.request_data(begin_date='2017-08-21', end_date='2017-08-22')
actually means. Is a= necessary?
Given that the User does issue the above line of code we have a of type OOI; now:
a.data_availability() should make it easy for the User to know what to expect
a.check_status() should make it easy for the User to know the order is pending/done/lost
In a bit more detail now: If ooi.request_data() returns an OOI object: Is that new object
distinct from the original ooi? If so do I want to capture it as
a = ooi.request_data(begin_date='2017-08-21', end_date='2017-08-22')
Let's suppose that I do this; onward:
From a.data_availability() (instrument filter was for Oregon slope base, shallow profiler, pCO2) I get a wall of green chart (presumably no gaps?) and the following JSON:
I am interested in "Is there data on August 21 2017?" so how do I interpret this result to answer my question? U-Frame seems to be very slow to respond (it is Monday) so I am in diagnostics mode; so the obvious question 'is there actually data' would be nice to answer in an unambiguous manner. Also: Could we include the answer to this in help(ooi.data_availability)?
I might get a response []. What does this mean? How do I differentiate 'The system is still working on your orderfromThe system has no order(s) on record for you`? And as above can
we build this into the documentation via help?
Finally a repro where the data I am requesting never seems to be processed; no email arrives:
Suggestions on yodapy ordering machinery
a=ooi.request_data(begin_date='2017-08-21', end_date='2017-08-22')
actually means. Isa=
necessary?a
of typeOOI
; now:a.data_availability()
should make it easy for the User to know what to expecta.check_status()
should make it easy for the User to know the order is pending/done/lostIn a bit more detail now: If
ooi.request_data()
returns an OOI object: Is that new object distinct from the originalooi
? If so do I want to capture it asLet's suppose that I do this; onward:
From
a.data_availability()
(instrument filter was for Oregon slope base, shallow profiler, pCO2) I get a wall of green chart (presumably no gaps?) and the following JSON:I am interested in "Is there data on August 21 2017?" so how do I interpret this result to answer my question? U-Frame seems to be very slow to respond (it is Monday) so I am in diagnostics mode; so the obvious question 'is there actually data' would be nice to answer in an unambiguous manner. Also: Could we include the answer to this in help(ooi.data_availability)?
Final point: When I say
I might get a response
[]
. What does this mean? How do I differentiate 'The system is still working on your orderfrom
The system has no order(s) on record for you`? And as above can we build this into the documentation via help?Finally a repro where the data I am requesting never seems to be processed; no email arrives:
...and then crickets.
thanks -r