Image from an requested URL

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
ignaciosanchezcohen
Posts: 1
Joined: Tue Feb 01, 2022 2:15 pm America/New_York

Image from an requested URL

by ignaciosanchezcohen » Tue Feb 01, 2022 2:23 pm America/New_York

HI. I am working on a Python script that makes a request to a NASA's server as:

https://pmmpublisher.pps.eosdis.nasa.go ... 2-01-01&//"

The output is an image that displays ok but I want the image to include the legend. Would you please help me on this; (the final "//" is an input from the user regarding the timing of the rainfall amounts).

Thanks in advance
Dr. Ignacio Sanchez-Cohen
by GES DISC - mgreene » Wed Feb 16, 2022 4:30 pm America/New_York
The legend for the 30-minute IMERG imagery is fixed and can be downloaded from this URL:

https://pmmpublisher.pps.eosdis.nasa.go ... t=gpm_30mn

In the future, if you are looking at a different dataset from the PMM publisher, the way to figure out the URL for the legend is to use the human-readable interface. To do so, visit the PMM publisher homepage...

https://pmmpublisher.pps.eosdis.nasa.gov/

Then click on OpenSearch near the upper left of the page. In the left column of the page, fill out the form and click the Submit button. Scroll down to the search results, and click on the Actions tab. Within the Actions tab, you can download the browse image of precipitation or the map legend. The general format of the URL of the legend image is the following...

https://{serverName}/mapinfo/{prodName}/legend?product={prodName}

...where {serverName} is pmmpublisher.pps.eosdis.nasa.gov and {prodName} is the name of the data product such as gpm_30mn in the example in this email message.
Go to full post

Tags:

GES DISC - mgreene
User Services
User Services
Posts: 46
Joined: Wed Sep 25, 2019 9:35 am America/New_York
Answers: 2
Been thanked: 1 time

Re: Image from an requested URL

by GES DISC - mgreene » Wed Feb 16, 2022 4:30 pm America/New_York

The legend for the 30-minute IMERG imagery is fixed and can be downloaded from this URL:

https://pmmpublisher.pps.eosdis.nasa.go ... t=gpm_30mn

In the future, if you are looking at a different dataset from the PMM publisher, the way to figure out the URL for the legend is to use the human-readable interface. To do so, visit the PMM publisher homepage...

https://pmmpublisher.pps.eosdis.nasa.gov/

Then click on OpenSearch near the upper left of the page. In the left column of the page, fill out the form and click the Submit button. Scroll down to the search results, and click on the Actions tab. Within the Actions tab, you can download the browse image of precipitation or the map legend. The general format of the URL of the legend image is the following...

https://{serverName}/mapinfo/{prodName}/legend?product={prodName}

...where {serverName} is pmmpublisher.pps.eosdis.nasa.gov and {prodName} is the name of the data product such as gpm_30mn in the example in this email message.

Post Reply