-
Notifications
You must be signed in to change notification settings - Fork 4
Activity
The Activity definition derives from the Core definition, and includes all of the base class properties.
| 8 Properties | Required | Description |
|---|---|---|
| Comment MergeWithComment MergeWithComments Disabled - v21.4.12+ |
N | 4 inherited Core properties. |
[Time][[Times]][DateOnly] - v20.3+[TimeOnly] - v20.3+ |
N | A list of timestamp definitions, combined into a single moment in time. |
The [Time], [TimeOnly], [DateOnly], and [[Times]] definitions will be used to combine into a single moment in time.
If no time definitions are specified, the start time of the visit will be used as the activity start time.
While a single Time definition can often be enough to contain describe a time, some CSV files will store the date in one column and the time in a another column. Using multiple [[Times]] sections to combine the time and date is a solution.
Location, Date, Time, Value
LOC1, 2020-Apr-2, 12:35, 12.5Location = '@Location'
[[Times]]
ColumnHeader = 'Date'
Type = 'DateOnly'
Format = 'yyyy-MMM-d'
[[Times]]
ColumnHeader = 'Time'
Type = 'TimeOnly'
Format = 'H:m'
[Reading]
Value = '@Value'
ParameterId = 'TA'
UnitId = 'degC'Version 20.3 of the Tabular CSV plugin added some extra properties to allow you to handle dates and times in separate CSV columns more simply.
- The
TimeOnlyproperty is a timestamp with a defaultTypeofTimeOnly. - The
DateOnlyproperty is a timestamp with a defaultTypeofDateOnly.
The previous 16-line configuration example is still supported, but now you can just use the shorthand syntax for a simpler 8-line configuration.
Location, Date, Time, Value
LOC1, 2020-Apr-2, 12:35, 12.5Location = '@Location'
DateOnly = '@Date'
TimeOnly = '@Time'
[Reading]
Value = '@Value'
ParameterId = 'TA'
UnitId = 'degC'- Test drive the plugin here
- Tabular CSV plugin overview
- Use with the FieldVisitHotFolderService
-
TOML Syntax
- Extracting property values from CSV
- Importing Excel files
- PrefaceRegex can grab values from anywhere
- Single or double brackets. Which is it?
- Use Aliases to transform your data
-
Configuration Fields
- Abstract classes
- Required Fields and Sparse Rows
- Disabled activities
- Locales and Encodings
- Configurable Picklists
- Configuration
- Visit
- ControlCondition
- Readings
- Calibrations
- Inspections
- LevelSurveys
- LevelSurveyMeasurements
- GageHeightMeasurements
- AdcpDischarges
- PanelDischargeSummaries
- MeterCalibrationEquations
- GageAtZeroFlow
- OtherDischarges
- VolumetricDischarges
- EngineeredStructureDischarges
- Examples
- Plugin Roadmap
- Plugin Limitations