-
Notifications
You must be signed in to change notification settings - Fork 1
site profiling module
aed-modeller edited this page Jul 5, 2023
·
2 revisions
The site profiling plotting module is for plotting water quality at selected sites, either in a time-series sequence or in comparison to field observations.
| Field name | Description | Options | Comments |
|---|---|---|---|
| start_plot_ID | select which variable to start plotting | refer to the setting in master.varname | |
| end_plot_ID | select which variable to finish plotting | refer to the setting in master.varname | |
| sitenames | names of plotting sites | can define multiple sites | |
| siteX | X coordinates of sites | same array size to site names | |
| siteY | Y coordinates of sites | same array size to site names | |
| plotvalidation | option to add field data | 1: add field data; 0: no field data | currently only model data can be plotted |
| plotmodel | option to add model results | 1: add model results; 0: no model results | |
| isHTML | option to add all plots into one HTML page | 1: add to HTML; 0: no HTML | 0 by default |
| outputdirectory | define directory to save plots | ||
| htmloutput | define directory to save HTML files | ||
| datearray | define time period for plotting | ||
| dateformat | define time format to show in x axis | mm/yy' by default | |
| istitled | option to add title | 1: add; 0: not add | 1 by default |
| isylabel | option to add y label | 1: add; 0: not add | 1 by default |
| islegend | option to add legend | 1: add; 0: not add | 1 by default |
| isYlim | option to define Y axis limits | 1: add; 0: not add | 0 by default |
| isGridon | option to add grid on | 1: add; 0: not add | 1 by default |
| dimensions | define figure dimensions in centimeters | [20 10] by default | |
| filetype | define figure file type | 'png' or 'eps' | 'png' to save figures to PNG format only; 'eps' to save figures in both EPS and 300dpi JPG formats |
| cAxis.value | define limits of Y axis | empty [] by default, matlab will automatically adjust the y limit |
profile.start_plot_ID = 1;
profile.end_plot_ID = 1;
profile.sitenames={'Cockburn','Swan'};
profile.siteX=[ 380000, 388340];
profile.siteY=[6433760,6458300];
profile.plotvalidation = false; % Add field data to figure (true or false)
profile.plotmodel = 1;
profile.filetype = 'eps';
profile.expected = 1; % plot expected WL
profile.isHTML = 1;
profile.datearray = datenum(2021,6,15:15:60);
profile.dateformat = 'dd/mm/yyyy';
for vvvv=1:length(MARVLs.master.varname)
profile.cAxis(vvvv).value = [ ];
end
profile.dimc = [0.9 0.9 0.9]; % dimmest (lightest) color
profile.istitled = 1;
profile.isylabel = 1;
profile.islegend = 1;
profile.isYlim = 1;
profile.isGridon = 1;
profile.dimensions = [20 10]; % Width & Height in cm
profile.outputdirectory = 'plotting/profile/RAW/';
profile.htmloutput = 'plotting/profile/HTML/';
Example site profiling output for eastern current speeds at site of S01 of Cockburn Sound.

Aquatic EcoDynamics