-
Notifications
You must be signed in to change notification settings - Fork 1
/
configWebPage.m
77 lines (62 loc) · 2.3 KB
/
configWebPage.m
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
load Globales
% Here are the variables used by the different programs
%% General settings
domainName='https://www.argoespana.es';
RegionNameS='Ib';
RegionNameL='Cuenca Iberica-Canaria';
DataSetNameM{1} = 'ArgoSpain'; %Names of the DataSets to monitor
DataSetNameM{2} = 'ArgoInterest';
Verbose=0;
Visible=0; %Flag to outpun in the screen the figures
SubeFTP=1; %1 to upload from matlab de figures and web page to the ftp.
NumberOfDatSets=[1 2]; %Number of DataSets to monitor
%% Input Directories and files
% Directory that contains the argo float data, and the Argo geo data
DirArgoData=GlobalSU.ArgoData;
DataDirGeo=fullfile(DirArgoData,'geo','atlantic_ocean');
DataDirFloats=fullfile(DirArgoData,'Floats');
% Directory where the matlab scripts than update the Argo web page area
% located
PaginaWebDir=strcat(GlobalSU.AnaPath,'/ArgoSpainWebpage');
% Directory with list of floats for each program to monitor
DirFloatLists=strcat(GlobalSU.AnaPath,'/ArgoSpainWebpage');
%% Climatoly file
ClimatologyFile=strcat(GlobalSU.AnaPath,'/ArgoSpainWebpage/data/WOA05.mat');
%% Output Directories and files
% Directory to output the graphic files
DirOutGraph=strcat(PaginaWebDir,'/html/floats');
% Names of the outputs files
FileHtmlRegionStatus = strcat(PaginaWebDir,'/html/','argoregionstatus.html');
FileHtmlArgoEsStatus = strcat(PaginaWebDir,'/html/','argoesstatus.html');
FileTableArgoEsStatus = strcat(PaginaWebDir,'/html/','argoesstatustable.html');
%% createDataSet
InterDiasEmision=30; %Dias sin emision a partir de los cuales considero que una boya ha dejado de operar
ForceDataUpdate=1; %1 to force to re-read the netcdf files
%% createRegionLLet
%Time interval
FechaI=now-30;
FechaF=now;
TrajectorySpanArgo=90; %en dias
%Geographical Region
%Region
lat_minIB= 15.00; lat_maxIB=54;
lon_minIB=-45; lon_maxIB=38;
%Atlantic
lat_min=-65; lat_max=65;
lon_min=-80; lon_max=40;
%Map createArgoRegionMap
GMCentroArgoIb=[39,-16];
GMZoomArgoIb=4;
GMTamanoArgoIb=[700,650]; %Ancho,Alto
%Google Map createArgoSpainGMap
GMCentroArgoEs=[20,0];
GMZoomArgoEs=2;
GMTamanoArgoEs=[800,500];
%% Ftp
ftp_dir='/html/float';
ftp_dir_html='/html';
%% StatusGraficos
POSBorder=2; %Margen [en grados] adicional para el mapa de la trayectoria
DiasAnalisis=1.1; %Days to look for to update the figures
%% About sending reports
sendEmail=0;