[ 
https://issues.apache.org/jira/browse/CLIMATE-744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16333754#comment-16333754
 ] 

Michael Anderson commented on CLIMATE-744:
------------------------------------------

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? 

> Cannot load TRMM data from RCMED
> --------------------------------
>
>                 Key: CLIMATE-744
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-744
>             Project: Apache Open Climate Workbench
>          Issue Type: Bug
>            Reporter: Huikyo Lee
>            Assignee: Maziyar Boustani
>            Priority: Blocker
>             Fix For: 1.3.0
>
>
> For some reasons, rcmed.parameter_dataset causes errors when loading TRMM 
> precipitation data. 
> start_time = 1990-01-01
> end_time = 2007-12-31
> rcmed.parameter_dataset(3, 36, -45.76, 42.24, -24.64, 60.28, start_time, 
> end_time)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to