WMS Layer "True Color (1 day - Aqua/Modis Rapid Response)" resolution problem

2 visualizaciones (últimos 30 días)
CocoA
CocoA el 7 de Mayo de 2018
Respondida: Neil Guertin el 16 de Mayo de 2018
Hi all,
I am trying to import the WMS layer of Modis True Color in a high resolution (preferably as high as the data can be seen in nasa worldview). With the code below I do get a result, however the resolution is not even close to the desired resolution. Does anyone where/how I can get the right data? I can of course also look it up on nasa worldview but I want to use the data offline as well. Thank you in advance!
url = ['http://neowms.sci.gsfc.nasa.gov/wms/wms?'];
info = wmsinfo(url);
modis = info.Layer.refine('modis');
true_color = modis.refine('true color','SearchField','LayerTitle');
true_color_aqua = true_color.refine('Aqua','SearchField','LayerTitle');
latlim = [12, 14];
lonlim = [-61,-59];
imagelength = 2048;
[A,R] = wmsread(true_color_aqua,'ImageHeight',imagelength,'ImageWidth',imagelength,...
'Latlim',latlim,'Lonlim',lonlim);
figure(1), clf(1)
geoshow(A,R)

Respuestas (1)

Neil Guertin
Neil Guertin el 16 de Mayo de 2018
The map returned is the full 2048x2048 pixels, but it looks like the zoom level is wrong. The server might assume the zoom level based on the size of the image, so try a smaller region. You may be able to take several smaller images and stitch them together yourself.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by