Unable to find [URL Template] for accessing preview image

Unable to find [URL Template] for accessing preview image

Postby omkarr » Fri Sep 02, 2016 3:24 am

Hi,

I was trying to retrieve an image using preview image web service, it was mentioned in here[0] that we would need url in the form of "[URL template]/[Image variable name].png" to access the image. It was also mentioned that for obtaining "[URL template]", I need to use the granule search web service and look for a link that points to an "image/png", but when I try to search granule for the dataset_id : "PODAAC-ASOP2-25X01" (this is the dataset you specified in sample url) I did not find any link for "image/png".

All I could find was links to metadata, OpenDap, FTP url etc but not any image url.

Please look into this.

P.S: link for granule search results is http://podaac.jpl.nasa.gov/ws/search/granule/?datasetId=PODAAC-ASOP2-25X01&format=html

[0] http://podaac.jpl.nasa.gov/ws/image/granule/index.html

Thanks,
Omkar.
omkarr
 
Posts: 25
Joined: Wed Jun 15, 2016 12:34 am

Re: Unable to find [URL Template] for accessing preview imag

Postby omkarr » Wed Sep 07, 2016 3:58 am

Hi,

Can someone please look into this??

Thanks.
omkarr
 
Posts: 25
Joined: Wed Jun 15, 2016 12:34 am

Re: Unable to find [URL Template] for accessing preview imag

Postby lmcgibbn » Wed Sep 07, 2016 9:14 am

Omkar for the time being we can just skip this functionality. If someone from PO.DAAC could get back to us it would be great.
Thanks in advance.
Lewis
lmcgibbn
 
Posts: 56
Joined: Wed Feb 17, 2016 9:36 pm

Re: Unable to find [URL Template] for accessing preview imag

Postby podaac » Wed Sep 07, 2016 11:28 am

Hi Omkar,
Thank you for bringing this issue to our attention.


Here is a workaround:

add bbox=180,-90,180,90 as the parameter.

http://podaac.jpl.nasa.gov/ws/search/gr ... ormat=atom


We will look into updating the API documentation to include a paragraph saying bbox parameter is needed to see preview templates and will plan to address this in the next release of the Web Services (i.e. to check if bbox is not provided, then default to bbox=-180,-90,180,90 so that L2 Subsetting Service (L2SS) search is invoked).


Respectfully,
PO.DAAC User Services and Interfaces Team
podaac
Site Admin
 
Posts: 371
Joined: Mon Oct 22, 2012 4:00 pm

Re: Unable to find [URL Template] for accessing preview imag

Postby omkarr » Wed Sep 07, 2016 5:24 pm

Thank you very much!

~Omkar
omkarr
 
Posts: 25
Joined: Wed Jun 15, 2016 12:34 am


Return to PO.DAAC Web Services

cron