user-friendly chunking of service calls?
In order to make it more common for supporting smaller, more manageable queries and then aggregating them on the client side, I wonder if it is within scope to support a few chunking options in WQP calls, such as time or space. An example of this would be:
readWQPdata(statecode="US:MN", siteType="Lake, Reservoir, Impoundment",
characteristicName=charName, startDateLo='01-01-1990', startDateHi='12-31-2010', timeChunk='5y')
Not sure about the syntax, but a way to have an individual aggregate call that is too big automatically handled by a chunking feature within dataRet. So this particular example would call readWQPdata
5 times using intervals of 5 years to set startDateHi
and startDateLo
values, and then bind them and return the full result to the user.