A new multi-panel user interface
The latest LAS has a completely redesigned user interface that incorporates the best features of the v7 UI along with the features of the vizGal multi-panel comparison display.
This version of LAS requires Ferret 6.842 or higher. Please install both the Ferret executables and environment.
To make side-by-side plots for comparison or differencing, the first step is to choose the number of plot panels from the drop down menu in the upper left of the interface.
After you select Compare 2 or Compare 4, you will have 2 or 4 identical plots showing in the interface. You can make adjustments individually to what is plotted in each window. The controls on the left determine the plot type and the extents of the plot for the dimensions that are in the plane of the plot. The controls at the bottom of the individual plots control the settings for each of the remain axes and even the data set and variable that are showing in those plot panels.
Once you have the settings adjusted, you can create a difference plot by pushing the "Difference Mode" button.
You can also get a nice set of pages to send to the printer or that can be used to download the individual images by pushing the Print button.
New Correlation Viewer for Property-Property Plots
If you want to view property to property plots, use the new Correlation Viewer:
First you must be viewing only One Plot and you must select a data set that has multiple variables. Then open the Correlation Viewer (Beta) by pushing the button shown.
The Correlation Viewer (Beta) allows scatter plots of one property versus another colored by a third. Constraints on the plotted data values can be applied by clicking and dragging on the plot image.
History (and URL sharing)
Each time you push the "Update Plot" button, the entire state of the user interface is recorded in the URL. This has two important consequences. First, you can use your browser's "Back" (and "Forward") button. Each time you go forward and back you will see the previous state of the UI including the plots. Secondly, you can bookmark and/or share the URL of the UI state by copying it from the navigation window of your browser. The URLs are necessarily long and complicated, but they can be shortened using popular shortening services on the web.
For example this URL:
will open the user interface with two panels and show a plot of the January COADS climatology on the left and the difference between the COADS Climatology and the Levitus Climatology on the right.
You can see a collection of test links for various UI states here: http://ferret.pmel.noaa.gov/lasV8/UITestLinks.html.
User supplied parameters
The history links are generate by the user interface automatically and are a convenient way to share LAS links, they are also long and complicated. You might want to set up a links to a particular data set and variable and sub-region for a Web page or to share. You can build links using the following query parameters:
- dsid - the LAS data set ID of the data you want (using this parameter along will open the data set with and XY plot of the first variable at the first time step over the entire region covered by the data set).
- varid - the LAS variable ID of the data you want.
- xlo and xhi - the minimum and maximum longitude you want.
- ylo and yhi - the minimum and maximum longitude you want.
- zlo and zhi - the minimum and maximum vertical level (if applicable)
- tlo and thi - the minimum and maximum time you want (if applicable)
- operationID - the LAS ID of the operation you want performed
Not all parameters apply for all plots, but the minimum is used in cases where a single value is needed instead of a range.
For example, this URL http://ferret.pmel.noaa.gov/lasV8/getUI.do?dsid=coads_climatology_cdf&varid=sst&tlo=15-Feb&xlo=75&xhi=220&ylo=-45&yhi=45 shows a plot of COADS SST over a sub-region at the February time step.
New Configuration Options
You can now easily specify one of your data sets (and optionally a variable) to be the default data set that is displayed when the bare server URL is accessed. We highly recommend that you do this for your LAS installation.
If you want to make an XY plot the procedure to do this is as follows:
If you are using categories in your configuration you must specify at least two things (the category ID and the data set ID you want to plot by default). Say for example you have organized your data into the following categories:
<category name="by Discipline (Atmosphere, Ocean, Surface Marine, Land Surface, Topography, Bathymetry)"> <category name="Atmosphere"> <category ID="COADS-MON-CLIMO-ID" name="COADS monthly climatology" doc="http://ferret.wrc.noaa.gov/LAS_docFiles/coads_climatology.html"> <filter action="apply-dataset" equals="COADS monthly climatology"/> </category> </category> </category> ... <COADS-climatology name="COADS monthly climatology" url="file:coads_climatology" doc="http://www.ferret.noaa.gov/LAS_docFiles/coads_climatology.html"> ...
In this case, you must tell LAS the category that contains the data set you wish to use. You are not required to assign an ID to an LAS category, but if you want to use it for the default plot go ahead and assign one in you configuration as we have done in this example by assigning the category ID="COADS-MON-CLIMO-ID". The data set itself has an opening tag <COADS-climatology which is what will become the data set ID for this data set. These are the two pieces of configuration you need.
<!-- Set at least the default category and dataset. --> <default_catid>COADS-MON-CLIMO-ID</default_catid> <default_dsid>COADS-climatology</default_dsid>
If you are not using categories, you must specify at least one thing (the dsid of the data set you want plot by default).
N.B. If you only specify a category, data set and variable then LAS will try to create an XY plot of the data set. If the data are not defined in X and Y or if you want to plot a different cross section by default you must then specify three additional pieces of information: the operation id, the options id and dimension abbreviations of axes of the cross section you want plot.
You can look at the default configuration near the top of the las.xml file to get an idea of how to configure in a default for your own data sets.
The las.xml file with a default data set configured.
<lasdata> <output_dir>/home/users/rhs/tomcat/webapps/las/output</output_dir> <institution name="Pacific Marine Environmental Lab" contact="Roland.Schweitzer@noaa.gov" url="http://www.pmel.noaa.gov"/> <!-- Default properties for this server --> <properties> <product_server> <ui_timeout>20</ui_timeout> <ps_timeout>3600</ps_timeout> <use_cache>true</use_cache> <!-- Set at least the default dataset. --> <default_catid>ocean_atlas_subset</default_catid> <default_dsid>ocean_atlas_subset</default_dsid> <!-- You can also set the variable and plot you want to show initially. -> <default_varid>TEMP-ocean_atlas_subset</default_varid> <default_operation>Plot_2D_XY_zoom</default_operation> <default_option>Options_2D_image_contour_xy_7</default_option> <default_view>xy</default_view> </product_server>
N.B. The palette for the difference plots has changed from the pink-and-green one to a new one with blue at the bottom and yellows and reds at the top. This is an example of the new difference palette: