Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The sample viewer shows information about the samples that are shown based on the selected locations in the Data Viewer. For the selected locations a list of samples is shown in the upper part of the sample viewer. In the lower part of the sample viewer the content of selected samples are shown.

Contents

 


To use the sample viewer, configure it as <explorerTask> in Explorer.xml using <predefinedDisplay>sample viewer</predefinedDisplay> for example:

Code Block
xml
xml
<explorerTask name="Monsters">
	<iconFile>sysmon.png</iconFile>
	<mnemonic>M</mnemonic>
	<predefinedDisplay>sample viewer</predefinedDisplay>
	<toolbarTask>true</toolbarTask>
	<menubarTask>true</menubarTask>
	<accelerator>ctrl S</accelerator>
	<loadAtStartup>true</loadAtStartup>
</explorerTask>

...


Export Time Series

Values of time series belonging to all selected samples in the sample viewer can be exported via the (right mouse click) context menu. 

...

The file types that can be chosen are configured in the Interactive Export Formats of Explorer.xml. 


Select samples

Below the table with samples, a table with all values of the time series of the selected sample(s) are shown. In the image below sample 714 is selected so only values of the time series with sample id 714 are shown underneath.

...

Filtering also works by double clicking on a cell in the sample table. Just as filtering from the filter window this can be applied to multiple cells as illustrated in the next image where the sample table is filtered for location "MBP016" and medewerker "IMP"

Season and time filtering (since 2021.01)

Since 2021.01 it is also possible to filter samples on time and define a list of seasons for filtering of samples within a specific period within years.

Code Block
languagexml
titleSample Display Config
<sampleDisplay xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews 
http://fews.wldelft.nl/schemas/version1.0/sampleDisplay.xsd">
	<enableEditor>true</enableEditor>
	<permissions>
		<editorPermission>beheerders</editorPermission>
	</permissions>
	<season startMonthDay="--04-01" endMonthDay="--09-30" label="Groeiseizoen"/>
	<season startMonthDay="--09-30" endMonthDay="--04-01" label="Off season"/>
</sampleDisplay>

A dropdown menu on top of the sample panel will appear for this season and time filtering option:

Image Added

Edit samples (since 2020.02)

...

And also extra right mouse menu option to edit either the value of the time series or edit the value of a valueProperty:

Image Modified

An important thing to keep in mind is that deleting a value from the sample viewer cannot be undone via the sample viewer, but setting the value to a missing will.

...

Since 2021.02 samples can be deleted via the right mouse menu, this will also delete all values belonging to the sample.

Image Modified

Comments

Since 2021.01 it is also possible to view, add and edit comments directly from the table via the right mouse menu.

...

This will show the history window in the same way as can be done via the Time Series Dialog:

Season and time filtering

Since 2021.01 it is also possible filter samples on time and define a list of seasons for filtering of samples within a specific period within years.

Code Block
languagexml
titleSample Display Config
<sampleDisplay xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews 
http://fews.wldelft.nl/schemas/version1.0/sampleDisplay.xsd">
	<enableEditor>true</enableEditor>
	<permissions>
		<editorPermission>beheerders</editorPermission>
	</permissions>
	<season startMonthDay="--04-01" endMonthDay="--09-30" label="Groeiseizoen"/>
	<season startMonthDay="--09-30" endMonthDay="--04-01" label="Off season"/>
</sampleDisplay>

A dropwon on top of the sample panel will appear for this.

Image Removed