nasa-gibs / worldview

Interactive interface for browsing global, full-resolution satellite imagery
https://worldview.earthdata.nasa.gov/
Other
680 stars 181 forks source link

TEMPO wmts tiles not available in epsg3857 (web mercator)? #5283

Closed jfoster17 closed 3 weeks ago

jfoster17 commented 3 weeks ago

Describe the bug This page:

https://nasa-gibs.github.io/gibs-api-docs/available-visualizations/

Screenshot 2024-06-13 at 5 16 25 PM

Says that the TEMPO L3 NO2 data should be available as both geographic and web mercator tiles. This seems to be the case for the WMS server, but NOT for the WMTS server.

espg3857 shows up under:

http://gibs.earthdata.nasa.gov/wmts/epsg3857/best/wmts.cgi?SERVICE=WMTS&REQUEST=GetCapabilities

for Layer TEMPO_L3_NO2_Vertical_Column_Troposphere, but no TileSetMatrix is listed

whereas

http://gibs.earthdata.nasa.gov/wmts/epsg4326/best/wmts.cgi?SERVICE=WMTS&REQUEST=GetCapabilities

shows the expected TileSetMatrix of 1km.

To Reproduce Steps to reproduce the behavior:

  1. A request at this URL: https://gitc.earthdata.nasa.gov/wmts/epsg4326/best/TEMPO_L3_NO2_Vertical_Column_Troposphere/default/2024-05-15T00:00:00Z/1km/3/1/1.png returns the expected tile
  2. A request to this parallel URL: https://gitc.earthdata.nasa.gov/wmts/epsg3857/best/TEMPO_L3_NO2_Vertical_Column_Troposphere/default/2024-05-15T00:00:00Z/1km/3/1/1.png returns an XML error Screenshot 2024-06-13 at 5 21 12 PM

Additional context This is my first time using the GIBS API, so it is possible I just do not understand something! Is there something different I have to do to get the epsg3857 tiles for this dataset?

jfoster17 commented 3 weeks ago

Oops! I see that the epsg3857 tiles are available just with a different name for the TileMatrixSet, which is GoogleMapsCompatible_Level7 as opposed to 1km for the epsg4326 tiles. This is laid out in the docs and the XML, I just missed it!