Hi Michael,
To answer your final question, I have absolutely no idea. I've forwarded
this to the RCMES team however and will hopefully have a response from you
sometime soon.
Lewis

On Mon, Jan 22, 2018 at 8:32 PM, <dev-digest-h...@climate.apache.org> wrote:

> From: Michael Anderson <michael.arthur.ander...@gmail.com>
> To: dev@climate.apache.org
> Cc:
> Bcc:
> Date: Sun, 21 Jan 2018 19:30:25 -0500
> Subject: CLIMATE-744 Cannot load TRMM data from RCMED
> I was working on this JIRA:  CLIMATE-744
> <https://issues.apache.org/jira/browse/CLIMATE-744>.  A call to RCMED for
> TRMM throws an error about not being able to reshape the data.
>
> I wrote the following based on the info given in the JIRA:
>
> from datetime import datetime as dt
> start_time = dt.strptime('1990-01-01', '%Y-%m-%d')
> end_time = dt.strptime('2007-12-31', '%Y-%m-%d')
> TRMM = rcmed.parameter_dataset(3, 36, -45.76, 42.24, -24.64, 60.28,
> start_time, end_time)
>
> In rcmed.py  _get_data, the call to urlopen returned a different amount of
> data on each run of the program.
>
> I repeatedly ran the following URL in my browser and each run also returned
> a different amount of data.
>
> https://rcmes.jpl.nasa.gov/query-api/query.php?datasetId=
> 3&parameterId=36&latMin=-45.76&latMax=42.24&lonMin=-24.64&
> lonMax=60.28&timeStart=19900101T0000Z&timeEnd=20071231T0000Z
>
> When I constrain the dates to a smaller range, one year, the same number of
> results are returned consistently with each run of the program.
>
> Does RCMED, by any chance, have any constraints on the amount of data that
> can be returned?
>
>

Reply via email to