Class TemporalMetadataLoader
Inheritance
System.Object
TemporalMetadataLoader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Components.Layers.Temporal
Assembly: Mars.Components.dll
Syntax
public static class TemporalMetadataLoader
Methods
| Improve this Doc View SourceProcessTemporalMetadata<T>(String, InputConfiguration)
Transforms the temporal metadata description of the layer into an System.IO.FileNotFoundException
Declaration
public static IEnumerable<IDomainData> ProcessTemporalMetadata<T>(string metadataTable, InputConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
System.String | metadataTable | The source of the time-series metadata table containing the 'validTimeFrom', 'validTimeTo' and the 'source' to the file. |
InputConfiguration | config | The inputConfiguration to read the metadata table properly. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IDomainData> | Returns a new Mars.Common.Core.Collections.RangeTree.IntervalTree`2 with all loaded sources from the specified metadata |
Type Parameters
Name | Description |
---|---|
T |
Exceptions
Type | Condition |
---|---|
Mars.Common.Core.Collections.RangeTree.IntervalTree`2 | temporalMetadataCsv is null or empty |
System.ArgumentException | The temporalMetadataCsv does not exist. |
System.ArgumentNullException |
The temporalMetadataCsv does not contain a 'validTimeFrom',
'validTimeTo' or 'source'
|