0

When the data of Sunflower No. 8 is used, the image obtained is mirrored: enter image description here

And the result should be like this: enter image description here

In addition, the area on the map does not correspond to the entered longitude and latitude, below is the code to get the latitude and longitude area I need

clc
clear all
load('20210130_daily_sst.mat');%,[1,1,1],[inf,inf,1]));
load('grid.mat', 'lon')
load('grid.mat', 'lat')
lon=lon(1,:);lat=lat(:,1);

lon1=find(lon==118);
lon2=find(lon==130);
lat1=find(lat==24);
lat2=find(lat==42);


lx=lon(lon1:lon2);
ly=lat(lat1:lat2);
[x,y]=meshgrid(lx,ly);
x=x'; y=y';
sst0= SST(lon1:lon2,lat2:lat1);

But these problems will not occur when using MODIS data.

  • I assume SST in this case its not " SST (selenium-simple-test) is a web test framework that uses Python to generate functional browser-based tests. " like the tag you are using. Care to explain what that is? – Ander Biguri May 07 '21 at 08:48
  • in any case, functions like `flip` will flip your data. you can use that – Ander Biguri May 07 '21 at 08:55
  • Thanks for your answer! SST is sea surface temperature – Abigail May 08 '21 at 02:00

0 Answers0