Rosetta Template Attributes - Unidata/rosetta GitHub Wiki
Information contained in the Rosetta template.
Attribute | Data type | Notes |
---|---|---|
cfType | String | timeseries, profile, trajectory |
platform | String | |
community | String | |
headerLineNumbers | List<Integer> | The line numbers, not the actual header lines. |
delimiter | String | Only permitting one delimiter String at this time. |
format | String | custom, geoCSV, eTuff, eolSC, etc. |
variableInfoList | List<VariableInfo> | See VariableInfo object information below. |
globalMetadata* | List<RosettaGlobalAttribute> | |
templateVersion | String | |
creationDate | String | ISO 8601 Notation (e.g. yyyy-mm-ddThh:mm:ss.ffffff) |
serverId | String | name, URL, and IP? (maybe define a name in `application.properties`?) |
rosettaVersion | String |
* Global metadata from given metadata profile (currently CF and NCEI by default)
The VariableInfo class contains variable-specific information. Proposed instance variables for this class:
public class VariableInfo { private int columnId; private String name; private List<RosettaAttribute> rosettaControlMetadata; private List<RosettaAttribute> variableMetadata; ... }
Attribute | Data type | Notes |
---|---|---|
columnId | int | The id of the column in the CSV file. |
name | String | The assigned name of the metadata (DEFAULT: `DO_NOT_USE`). |
rosettaControlMetadata | List<RosettaAttribute> | |
variableMetadata* | List<RosettaAttribute> |
* Variable metadata: base set + extra from given metadata profile (currently CF and NCEI by default)
If the user chooses to not use a column of data, name
will be set to DO_NOT_USE
, the columnId
set appropriately, and rosettaControlMetadata
and variableMetadata
will not be set.