I am trying to download WMS tiles into a grass mapset. I'd like to use NASA's GIBS servers which replaced the JPL OnEarth services. I'm not sure how much remains the same between the two services, but it seems that the JPL OnEarth server was supported. Here is an example command that I run in the Grass shell
r.in.wms url=https://gibs.earthdata.nasa.gov/wmts/epsg4326/best/wmts.cgi layer=BlueMarble_ShadedRelief output=testing format=png
This does connect to and download from the server and it is reported that the raster is imported. However, the entire image is populated with no data. Am I missing something really basic here?