-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMUR_newregions.m
More file actions
36 lines (26 loc) · 917 Bytes
/
MUR_newregions.m
File metadata and controls
36 lines (26 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
clear all; close all; clc
cd D:\trabajo\IGP\CLIM_PEZ\temp_agua_oceancolor\MUR\new_location
%%
fn='2003-01-03.nc';
lon=double(ncread(fn,'longitude'));
lat=double(ncread(fn,'latitude'));
sst=double(ncread(fn,'analysed_sst'));
time=double(ncread(fn,'time'))./86400;
[yr,mo,da,hr]=datevec(double(time)+datenum(1970,1,1,0,0,0));
SR=[-73.906769,-4.513389];
TA=[-73.160656,-4.003975];
RE=[-73.851883,-5.077042];
BM=[-73.073369,-3.482239];
time=datenum(yr,mo,da);
%%
pcolor(lon,lat,sst');shading flat;
%pcolor(lon(indxlon),lat(indxlat),sstis2(indxlon,indxlat,ii)');shading flat;
hold on
S=plot(SR(1),SR(2),'bd');hold on; T=plot(TA(1),TA(2),'k^');hold on; R=plot(RE(1),RE(2),'ro');
hold on; B=plot(BM(1),BM(2),'g*'); colormap jet
legend([S,T,R,B],{'San Regis','Tamshi','Requena','Be Mazan'},'Location','northwest');
%caxis([20 25]);
grid on
title(datestr(time(1)));
colorbar;
%%