The first column must be called "Date" and contain a date in mm/dd/yyyy format (i.e. 10/13/2000). The second column must be called "Time" and must contain the time that the data becomes valid in hh:mm:ss format (i.e. 13:27:00). The third column must contain the time zone. After this any number of columns can follow with data in them.
Below is an acceptable file format:
This is an ambient data file that can be read in by the prototype.
Note that these comments appear freely and do not need to be delimited.
They can even contain a few delimiters (, , , ,), but not the same number as the data lines below.Date,Hour,Time Zone,temperature (K),winddirection , windspeed (ignored if layers defined), precipitation (m/day),stability class,layer1 wind speed (m/s), layer2 wind speed (m),l1 to l2 speed (m/s),layer 1 height (m),layer 2 height (m),night/day
1/1/1991,0,EST,281.0317237,112.7750803,0,0.003082795,4,4.862,7.179,0.047,568,930,1
1/1/1992,0,EST,282.0317237,113.7750803,0.1,0.003082795,5,4.862,7.179,0.047,568,930,1
1/1/1993,0,EST,283.0317237,114.7750803,0.2,0.003082795,6,4.862,7.179,0.047,568,930,1
1/1/1994,0,EST,284.0317237,115.7750803,0.3,0.003082795,7,4.862,7.179,0.047,568,930,1
Note that when Excel exports a file to CSV (Comma Separated Variable)
format, it places commas between every column. So your exported data may
look like this:
This is an ambient data file that would confuse the prototype.,,,,,,,,,,,,,The trouble with this file is that Excel has placed extra commas on lines that do not contain data. In fact, there are 13 commas on each data line and 13 commas on the comments lines as well. The solution is to remove the unneeded commas from the comment lines.startdata,,,,,,,,,,,,,
format:default,,,,,,,,,,,,,
day,,,,,,,,,,,,,Date,Hour,Time Zone,temperature (K),winddirection , windspeed (ignored if layers defined), precipitation (m/day),stability class,layer1 wind speed (m/s), layer2 wind speed (m),l1 to l2 speed (m/s),layer 1 height (m),layer 2 height (m),night/day
1/1/1991,0,EST,281.0317237,112.7750803,0,0.003082795,4,4.862,7.179,0.047,568,930,1
1/1/1992,0,EST,281.0317237,112.7750803,0,0.003082795,4,4.862,7.179,0.047,568,930,1
1/1/1992,0,EST,281.0317237,112.7750803,0,0.003082795,4,4.862,7.179,0.047,568,930,1
1/1/1992,0,EST,281.0317237,112.7750803,0,0.003082795,4,4.862,7.179,0.047,568,930,1
If your data file only has one line of data, TRIM will be unable to determine where the data begins and ends. This is because there are too few lines of data for TRIM to decide what number of delimiters denotes a data line. If you only have one or two lines of data, consider using an Unevenly Stepped Real Number property type and typing the data directly into TRIM.