Data and Information Submission at the Virginia Coast LTER |
For example:
Station, Month, Year, Day, Temp, Precip HOGI,10,1996,1,12,0 HOGI,10,1996,2,14,3.3 HOGI,10,1996,3,19,0Where data items consisting of text include the delimiter as part of the data, that data item should be included between "quote" characters (typically ").
For example:
Station, Month, Year, Day, Temp, Precip "HOG ISLAND, VA",10,1996,1,12,0 "REDBANK, VA",10,1996,2,14,3.3Note that HOG ISLAND, VA is considered to be the value of the Station variable. Without the quotes, the Station would be set to HOG ISLAND and the month would be set to VA. Most spreadsheet software does this automatically when producing CSV files.
For example:
Station Month Year Day Temp HOGI 10 1996 01 12 HOGI 10 1996 02 14 HOGI 11 1996 01 21 HOGI 11 1996 02 19
Different types of software have different tolerances for long variable names. For example, the Statistical Analysis System (SAS) limits variables to 8 characters in length whereas the C or Pascal languages allow names of at least 32 characters. Among the most restrictive is the FORTRAN language which limits names to 7 characters.
For this reason, we recommend that you select variable names that are unique in their first 7 characters (even if they are longer). For example: DEPTH1WELL, DEPTH2WELL is preferred over DEPTHWELL1, DEPTHWELL2 because if you only look a the first 7 characters, the names become: DEPTH1W, DEPTH2W whereas the second two variables both become DEPTHWE and thus no longer meet the uniqueness requirement.
Variable names should always start with a letter, but may include numbers and even some special characters such as an underscore (_). However, you need to avoid special characters that could be misinterpreted (especially -,$,%,#,@,*,^,& and +). Here are some sample "good" and "bad" variable names for a reading taken from 10 cm in depth in a well:
Bad Names | Why bad | Better Choice |
---|---|---|
10DEPTH | Should start with letter | DEPTH10 |
DEPTH-10 | Don't use - in name. (It looks like DEPTH minus 10 to some systems). | DEPTH_10 |
DEPTH 10 | No spaces in a name! | DEPTH10 |
DEPTH_CM_10 | First 7 characters unlikely to be unique | DEPTH10_CM |
VAR1 | This is a legal name, but not a descriptive one | DEPTH10 |
Typically real numbers have the decimal point included in the number. However, in some cases the decimal point is left out and the number of decimal places specified explicitly. If you specify that two decimal places will be used, the number 289 is interpreted as 2.89. Note that not all software supports this feature.
Here is a simple example with two variables, DAY and TEMPERATURE.
Day Temperature 1 10.1 10 -3.5The format information would be:
Variable | Type | Start Col | End Col | Width | Decimals |
---|---|---|---|---|---|
DAY | Integer | 1 | 2 | 2 | N/A |
TEMPERATURE | Real | 14 | 17 | 4 | 1 |
Here is the same data in a complex example. Here, each observation takes two lines and the decimal point is not explicitly given:
1 101 10 -35The format information would be:
Variable | Type | Line | Start Col | End Col | Width | Decimals |
---|---|---|---|---|---|---|
DAY | Integer | 1 | 1 | 2 | 2 | N/A |
TEMPERATURE | Real | 2 | 1 | 3 | 3 | 1 |
Our system allows you to designate a variable as coded. If so designated, you will be given the option to input values for the codes.
Some codes are used as shorthand descriptions for locations, rather than specifying a latitude or longitude in each instance. For example, the code PHK1 is used in some datasets to refer to "Phillips Creek - Mouth." An advantage is that once on researcher has defined a "named" site, other researchers can use that code without having to reenter the coordinates.
For example, with the following meterological data, the temperature probe failed in October.
Station Month Year Day Temp Humidity HOGI 09 1996 01 19 95 HOGI 10 1996 01 20 HOGI 11 1996 01 14 33 HOGI 12 1996 01 21 90There are several options for dealing with a missing value.
Station Month Year Day Temp Humidity HOGI 09 1996 01 19 95 HOGI 10 1996 01 . 20 HOGI 11 1996 01 14 33 HOGI 12 1996 01 21 90This makes it clear that a value should be there, although it says nothing about WHY the data is missing.