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

2 ビュー (過去 30 日間)
CocoA
CocoA 2018 年 5 月 7 日
回答済み: Neil Guertin 2018 年 5 月 16 日
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)

回答 (1 件)

Neil Guertin
Neil Guertin 2018 年 5 月 16 日
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