wphyojpl commented on PR #158:
URL: 
https://github.com/apache/incubator-sdap-nexus/pull/158#issuecomment-1100243672

   Hi @skorper 
   
   So, I created this URL from the example in the description:
   ```
   
https://doms.jpl.nasa.gov/insitu/1.0/query_data_doms_custom_pagination?startIndex=0&itemsPerPage=20000&startTime=2018-09-24T00:00:00Z&endTime=2018-09-30T00:00:00Z&bbox=160,-30,180,-25&minDepth=0.0&maxDepth=5.0&provider=NCAR&project=ICOADS%20Release%203.0&platform=42
   ```
   I mainly changed the time range and bbox. 
   
   This is what I get:
   ```
   (base) MT-212437:~ wphyo$ time curl 
'https://doms.jpl.nasa.gov/insitu/1.0/query_data_doms_custom_pagination?startIndex=0&itemsPerPage=20000&startTime=2018-09-24T00:00:00Z&endTime=2018-09-30T00:00:00Z&bbox=160,-30,180,-25&minDepth=0.0&maxDepth=5.0&provider=NCAR&project=ICOADS%20Release%203.0&platform=42'
   {"total": 283, "results": [{"depth": -99999.0, "latitude": -28.38, 
"longitude": 160.47, "meta": 
"https://rda.ucar.edu/php/icoadsuid.php?uid=P9IL5A";, "platform": {"type": "7", 
"code": "42", "id": "55960"}, "time": "2018-09-24T00:00:00Z", "provider": 
"NCAR", "proj
   .
   .
   .
   }
   real 0m9.196s
   user 0m0.020s
   sys  0m0.021s
   ```
   
   So, it took around 5 to 9 second when I run it repeatedly.. 
   
   But it only has 283 items. 
   
   It shouldn't take 4 min.. We can debug it together if needed. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sdap.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to