Maximum 400 Items Per Page?

Maximum 400 Items Per Page?

Postby lmcgibbn » Fri Apr 07, 2017 12:34 pm

Hi Folks,
Using the current WS Dataset Search API, I am only able to retrieve a maximum of 400 results for the query

https://podaac.jpl.nasa.gov/ws/search/d ... ormat=atom

Although this is documented clearly at [0], I think that this behavior is incorrect. My reasoning for this is that the query should retrieve more results however the results set is essentially truncated at 400 entries.

Can someone suggest how I utilize the Dataset Search API to obtain all 541 datasets currently present within PO.DAAC?

Thank you
Lewis

[0] https://podaac.jpl.nasa.gov/ws/search/d ... index.html
lmcgibbn
 
Posts: 56
Joined: Wed Feb 17, 2016 9:36 pm

Re: Maximum 400 Items Per Page?

Postby podaac » Mon Apr 10, 2017 12:39 pm

Thank you for your inquiry.

There is a max limit of 400. To retrieve the rest, go to the next page by using startIndex parameter. In the atom response there is a link to the next page

<link href="http://podaac.jpl.nasa.gov/ws/search/dataset?startIndex=400&itemsPerPage=400&format=atom" rel="next" type="application/atom+xml"/>
podaac
Site Admin
 
Posts: 426
Joined: Mon Oct 22, 2012 4:00 pm

Re: Maximum 400 Items Per Page?

Postby lmcgibbn » Tue Apr 11, 2017 9:32 am

Thank you for clarification.
lmcgibbn
 
Posts: 56
Joined: Wed Feb 17, 2016 9:36 pm


Return to PO.DAAC Web Services

cron