Task

Main sectors

The image below gives you an overview of the main sectors related to the tasks.

Tasks are used for example to organize IMP within a collection. The tasks possible for a collection are defined within the table Task. The tables related to tasks within a collection are shown in the diagramm below. The table Task contains the definitions for the tasks. The tables TaskResult and TaskModule contain predefined list for results resp. links to a DiversityWorkbench module. Types for the tasks are defined in the table TaskType_Enum. The table CollectionTask finally contains the tasks for a collection, the table CollectionTaskMetric numeric values collected e.g. by a sensor and the table CollectionTaskImage holding any related resources like images.

To define tasks, choose  Administration - Task  from the menu. A window as shown below will open.

View  

To show the site of the URI fo the task if available, choose show URI.

Import

To import data from a tab separated text file, choose from the menu. For further details see chapter ImportWizard.

Types

To edit types click on the button.

Table editor

To edit the data with the datatable click on the button. For details check the TableEditors section.

Feedback

To send a feedback to the software developer click on the feedback button. 

History

To view the history of a dataset, click on the [] button. A window with the history will open. For more details see the section History.

 

Details  

The details of the task like e.g. type or display text are set in the upper part underneath the hierarchy (see above), the details for Collection tasks are defined in the lowest part. Only those properties that are specified by any text or definition are availabe for the depending collection tasks. There are several contents that are possible for a

Colletion task:

  • Specimen part: If the collection task is related to a certain part of a specimen in the collection
  • Transaction: If the collection task is related to a certain transaction
  • URI: If the collection task should contain an URI, the description for the URI
  • Responsible: If there is a responsible person or institution for a task, the corresponding description
  • Date: If the collection task should contain a date and or time.
    • You can choose among several options:
      • Date
      • Date from to
      • Date & Time
      • Date & Time from to
      • Time
      • Time from to
    • Begin: If present, the description of the begin
    • End: If present, the description of the endS
  • Description: If the collection task should contain a desciption, the description for the desciption
  • Notes:: If the collection task should contain notes, the description for the notes
  • Metric:: If the collection task contains values collected from a sensor e.g. via Prometheus, the description for the metric
  • Numeric: If the collection task should contain a numeric value, the description for the numeric value
  • Yes/No: If the collection task should contain a boolean value, the description for the Boolean value
  • Module: If the collection task should contain a link to a module of the DiversityWorkbench, the description and the type of the module. There are several modules for which links may be defined
    • DiversitAgents
    • DiversitCollection
    • DiversitGazetteer
    • DiversitProjects
    • DiversitSamplingPlots
    • DiversitScientificTerms
    • DiversitTaxonNames If the values should be taken from a list, the entries are defined here as shown in the image below  
  • Result: If the collection task should contain a text result, the description for the result. Similar to the module you can provide a list of values for selection as shown in the image below.  

insert a new analysis to an organism select the organism in the upper tree. Then select the type of the analysis from the drop down list as shown below.

Subsections of Task

Exhibition

The exhibitions are organized via Tasks. For a introduction see a short tutorial Video starten. DiversityCollection provides a predefined template if you want to organize exhibitions in your collection. You can provide floor plans for your collection and pinpoint the locations for your exhibition. To edit exhibitions choose Administration - [] Collection tasks  - Exhibitions ... from the menu. A window as shown below will open.

To add a new exhibition click on the button in the lower left, to remove resp. edit a selected exhibition use the resp. button. To send any feedback concerning exhibitions and this form, click on the  button (see above).

To set the responsible for actions within the exhibition resp. collection tasks, click on the button and select the [ User responsilbe for new tasks] option (see below).

 

Exhibitions

To add an exhibition click on the button in the lower left. A window as shown below will open.

You may enter the start and end of the exhibition. Next you will be asked for the title of the exhibition (see below).

Next you have to select a location within the collection where the exhibition will be placed (see below).

Now the new exhibition will be shown in the list (see below).

To edit a selected exhibition use the button. A window as shown below will open, where you can edit the details of the exhibition. For further information see chapter Collectiontask.

If you want to delete an exhibition use the button. You will be asked before the exhibition and all it depending entries will be removed from the database (see below).

 

Parts

To add parts to an exhibition, click on the button for the parts. A window as shown below will open, where you can set the begin and / or end of the transfer into the exhibition.

Next you have to select a location within the collection where the part will be placed (see below).

A window for selecting the parts will open (see below)

If the list contains more than 1 specimen you will be asked if you want to insert all specimens in the list. You may choose to expand the inserted specimen from only the selected to the whole list (see below).

If there the list contains parts that are placed within the selected collection, the program will inform you that these parts will not be inserted in the exhibition as they are already there.

The new parts will than be inserted into the exhibition. Select a part in the list to see the details (see below). For more details, click on the button.

 

Collections

As soon as there are parts available the Collections will be listed in the upper right. Select the first empty line to show all parts transferred into the exhibition. If you select a collection, the displayed parts will be restricted to this restricted. If there are parts with their primiary location in the selected collection these will be listed directly below the collections (see below).

 

Plan

To see the plan of a collection, click on the button (see below). For more details see chapter Collection.

Integrated Pest Managment

The Integrated Pest Management (= IPM) in the DiversityWorkbench is designed to support the recording and evaluation of IPM-related data.

The taxon specific data are stored in DiversityTaxonNames.

DiversityCollection allows

  • Monitoring of pests, bycatch etc. in resp. on
    • Traps
    • Collections
    • Fascicles
    • Specimens
  • Recording of
    • Cleanings
    • Treatments
    • Application of beneficials
    • Sensor data
  • Generation of
    • Reports
    • Charts
    • Plans

Subsections of Integrated Pest Managment

Integrated Pest Managment

Architecture

---
title: Taxa
---
graph TD;
    DTN(DiversityTaxonNames) -->|Transfer extract of valid data in cache table<br>procFillTaxonName_Cache| CacheTable[Table <u>TaxonName_Cache</u><br>NameID int<br>JSON nvarchar]
    CacheTable --> API
    API --> Lists{separation of data <br>according to Lists}
    Lists --> Pests[Pests]
    Lists --> Bycatch[Bycatch]
    Lists --> Beneficials[Beneficials]
    Pests --> UPests[User selects pests<br>present in collection<br>Selection is stored in app]
    Bycatch --> UBy[User selects taxa<br>that should be recorded<br>Selection is stored in app]
    Beneficials --> UBene[Selected along with<br>application in collection]

Data recording

IPM covers several areas as shown in the mindmap below

mindmap
  IPM
  ::icon(fa fa-bug)
    Lists of Taxa
    ::icon(fa fa-list)
        API: JSON
        ::icon(fa fa-cloud)
            DTN
            ::icon(fa fa-database)
    Floor plan
    ::icon(fa fa-map)
    Prometheus time series database
    ::icon(fa fa-fire)
      Sensors
      ::icon(fa fa-thermometer-half)
    Traps
    ::icon(fa fa-cat)
    Treatment
    ::icon(fa fa-broom)

Taxa

API

The taxon lists are provided by the module DiversityTaxonNames. The data are collected in a cache table and provided via an API as json. The module provides 3 lists.

mindmap
  DTN 
  ::icon(fa fa-database)
    Cache
    ::icon(fa fa-table)
        API: JSON
        ::icon(fa fa-cloud)
            Pests
            ::icon(fa fa-list)
            Bycatch
            ::icon(fa fa-list)
            Beneficials
            ::icon(fa fa-list)

Local lists

The taxa are sorted according to their hierarchy including their stages etc. In the user interface the taxa are grouped according to group defined in DTN that correspond to higher taxa. From every list the user can decide which taxa and their stages, remains etc. should be included in the local list for selection

mindmap
  DiversityTaxonNames containing Taxa 
  ::icon(fa fa-database)
    Cache containing JSON extract of valid taxa
    ::icon(fa fa-table)
        API: JSON
        ::icon(fa fa-cloud)
            Taxa as provided by API
            ::icon(fa fa-list)
                Sorting according to hierarchy
                ::icon(fa fa-sitemap)
                    Local list as selected by the user
                    ::icon(fa fa-check-square)

Plan

The floor plan for the collection provides the position of traps and sensors within the collection.

mindmap
    Floor plan including scale
    ::icon(fa fa-map)
        Rooms within the collection. Calculation of area and volume on base of scale
        ::icon(fa fa-vector-square)
            Sensors and routers and their position
            ::icon(fa fa-thermometer-half)
            Position of traps
            ::icon(fa fa-cat)

Traps

mindmap
    Trap
    ::icon(fa fa-cat)
        Position according to plan
        ::icon(fa fa-map-marked-alt)
        Position within the collection hierarchy
        ::icon(fa fa-database)
        Type of the trap
        ::icon(fa fa-newspaper)
        ID corresponding to trap
        ::icon(fa fa-barcode)
        Adhesive sheets
        ::icon(fa fa-border-none)
            ID for every adhesive sheet
            ::icon(fa fa-barcode)
        Collecting the data
        ::icon(fa fa-user)
            Mobile application
            ::icon(fa fa-mobile)
                Images of whole trap
                ::icon(fa fa-images)
                Images of single pests
                ::icon(fa fa-search)
                Images of previous samplings
                ::icon(fa fa-file-image)

Sensors

mindmap
    Sensor
    ::icon(fa fa-thermometer-half)
        Device collecting bluetooth signals of sensors
        ::icon(fa fa-microchip)
            LoRaWan sender forwarding the sensor data
            ::icon(fa fa-broadcast-tower)
                Receiver collecting data and storing data in a timeseries database
                ::icon(fa fa-wifi)
                    Application transferring data from timeseries databases in central database
                    ::icon(fa fa-database)

Report

Reports provide a summary of all IPM related data in a certain time range

mindmap
    Report
    ::icon(fa fa-list)
        Development over time
        ::icon(fa fa-chart-bar)
            Sensor data: Temperature, Humidity, ...
            ::icon(fa fa-thermometer-half)
            Pests
            ::icon(fa fa-bug)
        People involved in administration and in collecting the data
        ::icon(fa fa-users)
        Floor plan including locations of traps and sensors
        ::icon(fa fa-map)
        Treatments of the collection
        ::icon(fa fa-broom)

Integrated Pest Managment

Recording pests

To insert a new recording or edit an existing one, click in the correspondig cell of the table. A window as shown below will open where you can enter the number of observed pests, their state and any notes.

Subsections of Integrated Pest Managment

Integrated Pest Managment

Bycatch

Along with the pests you may find organisms that are no threat for the collection but should be monitored anyway. To include these organisms, click on the Bycatch button in the IPM form or choose Administration - Collection tasks - IPM - Taxa, Settings from the menu. A window will open where you can choose the organisms that should be recorded. See chapter Settings for details.

Integrated Pest Managment

Outside traps

ToDo

Ausarbeitung erst wenn Verwendung klar ist

Integrated Pest Managment

Specimens

To record pests on specimen, choose the in the display options. If the tab Pests on specimen is not shown in the IPM form, click on the Settings button to open the settings. See chapter Settings for details.

ToDo

Ausarbeitung erst wenn Verwendung klar ist

Integrated Pest Managment

Specimen groups

If pests are found in groups of specimen like convolutes, fascicles etc. and you do not want to document this for every single specimen, you may use the option to document it for the fascicles etc. instead. If the tab Pests on groups of specimen is not shown in the IPM form, click on the Settings button to open the settings. See chapter Settings for details.

ToDo

Ausarbeitung erst wenn Verwendung klar ist

Integrated Pest Managment

Taxa

The IPM (Integrated Pest Managment) uses DiversityTaxonNames as a backbone for Taxa. By default the public available database DiversityTaxonNames_TaxaVaria on the server tnt.diversityworkbench.de is used as a source. If you want to build your own source, you have to follow the guidelines below to ensure the functionallity of the forms.

Resources  

Preview images  

The form for handling IPM data in DiversityCollection shows preview images for the objects like pests as shown below.

These preview images are retrieved from the corresponding lists in DiversityTaxonNames. To create these previews, choose a source, align it, remove the background and reduce the size to 50 (height) x 100 (width) pixel.

Insert the preview image as a resource (see above) with the Type preview (see below). The title of the image must correspond to the stage resp. remain as defined in the taxon list. If the preview image is taken from a foreign source you shoud enter the source, copyright etc. of image (see below).

Images  

The original image of the preview should be included as as second image with coresponding data but Type image (see below). These images will be shown if the user clicks on the preview image in the table. You may add additional images.

Resources  

Resources that should be shown when the user click on the link in the second column are added as shown below with the type information.

 

Group

The group shown in the interface is retrieved from the list entries with the IPM - group marker where the value defines the sequence for the corresponding groups. These are shown in the first column of the IPM form.

 

Common names 

The first common name for the organisms or higher taxa are used for display in the IPM form. Please provide one common name for every taxon.

 

Life stages, remains

The life stages and remains of a taxon defined in DiversityTaxonNames (see below).

To make them available in DiversityCollection they must be included in the corresponding list (see below).

 

Integrated Pest Managment

Settings

Taxa

To set the taxa shown in the form, click on the  settings button or choose Administration - Collection tasks - IPM - Taxa, Settings from the menu. As window as below will open. 

There are 3 lists:

  • Pests
  • Beneficials
  • Bycatch

Select the taxa that should be shown in the main form. The taxa used for IPM are by default taken from the public database DiversityTaxonNames_TaxaVaria provided via tnt.diversityworkbench.de. If you want to set up your own list you can change the source. Click on the button to set the server and database, the button to set the project within your database and the buttons for every list to set the lists. 

Display options

In the tab Display options you can choose

  • If the scientific names should be shown in the interface
  • If the collections other then traps (e.g. rooms) should be available for recording of pests
  • If the specimens should be available for recording of pests
  • If the convolutes, fascicles etc. should be available for recording of pests

With the Reset taxa button you can requery the taxa from DiversityTaxonNames to get the latest lists.

Integrated Pest Managment

Traps

Traps consist of two parts. One part is defined in the collection management including the position of the trap. The second part is e.g. the adhesive foil for catching the pests. The existing traps are shown in the collection hierarchy (see below)

If you add e.g. a pest taxon to a trap and so far no second part (= e.g. the adhesive foil) exists, the program will ask you for adding this part and insert the taxon there.

Integrated Pest Managment

Beneficials

If you apply an beneficial organism in your collection, you can document the taxon, source, location etc. in the application. In the IPM-form select the tab for the Beneficials.

In the collection hierarchy select the part (e.g. a room) where the beneficial organism has been applied. Next click on the add button to add a benefical. If so far no benefical has been defined, the program will ask you if one should be defined. See chapter Settings for details.

ToDo

Ausarbeitung erst wenn Verwendung klar ist

Integrated Pest Managment

Charts

ToDo

Ausarbeitung erst wenn Verwendung klar ist

Integrated Pest Managment

Cleaning

If you apply a cleaning in your collection, you can document the location etc. in the application. In the IPM-form select the tab for the Cleaning.

In the collection hierarchy select the part (e.g. a room) where the cleaning has been applied. Next click on the add button to add a cleaning. If so far no cleaning has been defined, the program will ask you if one should be defined.

ToDo

Ausarbeitung erst wenn Verwendung klar ist

Integrated Pest Managment

Collections

The Inspections show the previous dates for inspections of the traps. The current date will be added at the end of the list. If you want to add a date that is missing in the list, click on the add button. You may restrict the range of the dates with a click on the

[according to the coll 4 and ] you click on any of the entries the corresponding data will be shown in the table below. IPM (Integrated Pest Managment) is organized via Tasks. For a start DiversityCollection provides several predefined templates if you want to organize IPM in your collection. As a precondition you should provide floor plans for your collection and pinpoint the locations or your sensors and traps. As a next step import one of the provided templates to set up the definitions for tasks used for IPM or edit the tasks according to the preconditions for IPM. If there are any existing data you may import these in the then available collection tasks. To edit values for IPM either  choose Administration -  Collection tasks  - IPM from the menu. A window as shown below will open.

 

Integrated Pest Managment

Dates

Inspection dates

The Inspections show the previous dates for inspections of the traps. The current date will be added at the end of the list. If you want to add a date that is missing in the list, click on the button. You may restrict the range of the dates with a click on the button. A window as shown below will open, where you can set the upper and / or lower border of the range.

The lower and/or upper border will then be shown underneath the list for the dates (see below).

To edit a border, just click on it and edit the value in the window that will open. To remove a border use the button.

The tables below the inspection dates contain the results for pests and bycatch. The first column shows the group, the second the taxon with a link to resources in DiversityTaxonNames. If you click on the link the available resources will be shown (see below).

Column 3 shows preview of images in DiversityTaxonNames. To see the original image together with additional images, click on the preview image (see below).

The next columns contain the counts of the taxa detected in the traps. The acronyms of the traps within the collection hierarchy are shown in the header. The numbers detected in the traps are entered here. If you want to add any comment, this must be added after the number, separated by a space. Only valid numbers will be included in the analysis shown in the chart.  

Integrated Pest Managment

Images

ToDo

Ausarbeitung erst wenn Verwendung klar ist

Integrated Pest Managment

Plans

ToDo

Ausarbeitung erst wenn Verwendung klar ist

Integrated Pest Managment

Report

Reports can be created in the Report tab.

In the collection hierarchy select the part (e.g. a room) the report should be created. Next choose the time range for the report. With the open file button choose a schema applied for the report. You can include charts for either locations or rooms and plans of your collection.

To create the report, click on the create report button. To print it, use the button.

ToDo

Ausarbeitung erst wenn Verwendung klar ist

Integrated Pest Managment

Sensor data

Prometheus

Installation of Prometheus

To install a Prometheus follow the guidlines provided no the homepage. server choose   from the menu.

Configuration of Prometheus

To configure a Prometheus server choose from the menu.

Starting of Prometheus

To configure a Prometheus server choose from the menu.

 

Naming conventions for Prometheus nodes

The nodes/sensors on the prometheus should be named according to the follwoing convention: [Domain]_[MAC]_[Type]_[Units].

  • Domain:    e.g. IPM
  • MAC:    MAC of the sensor written without the :  and in lower case e.g. 00a49484b3f0 for 00:A4:94:84:B3:F0
  • Type:    The type of the sensor, e.g. temperature, battery, humidity
  • Units:    The measurement units of the metric, e.g. celsius, ratio

some examples:
IPM_3453a5f60087_battery_ratio
IPM_3453a5f60087_humidity_ratio
IPM_3453a5f60087_temperature_celsius

An examplethe o configure a Prometheus server choose from the menu.

Task types

The types for tasks are defined within the table TaskType_Enum. The define new types click on the  button in the task window. A window as shown below will open.

There are several predefined task types, but you can add additional types of your own. The types underneath the type DiversityWorkbench are types for tasks related to a module of the DiversityWorkbench.