Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section provides an overview of the file formats supported by Source. Table 5 lists the supported time-series data file formats. Raster data file formats are listed in Table 6. Several GIS, graphics and other formats that are also recognised by Source are listed in Table 7 but are not otherwise described in this guide. Click on the link associated with each file extension to go directly to information about that time series.

Info
iconfalse
Note: Formats with the ** symbol are part of the GDAL raster formats. A complete list of these is provided here.
Table 5. Text-based time-series data file formats
Table 6. Text-based raster data file formats
Table 7. Other supported file formats
File extensionDescription
.FLTESRI Binary Raster Interchange format
.JPGGEO JPG Image (also .JPEG), and must have an associated .jgw world file
.MIFMapInfo Interchange
.SHP**ESRI Shape files
.TIF**GeoTIFF Image (also .TIFF)
.TILETiled Raster Files
.TNETarsier Node Link Network Files
.TRATarsier Raster Files
.TSDTarsier Sites Data Files
.ADF**ArcINFO/ESRI Binary Grid
.IMG**ERDAS Imagine

Anchor
Annual stochastic time series
Annual stochastic time series
Annual stochastic time series

The .AR1 format contains replicates of annual time-series data generated using the AR(1) stochastic method. The file format is shown in Table 8. This format is not the same as the AR(1) format (.GEN) generated and exported by the Stochastic Climate Library.

Table 8. AR1 data file format
RowColumn (space-separated)
123..nypr
1desc  
2nyprnr 
oddrn  
evenvaluevaluevalue

...

Arcinfo grid coverages can be converted to .ASC files using ESRI’s GRIDASCII command. ASC files can be imported into ArcGIS using the ASCIIGRID command.

Table 9. .ASC data file format
RowColumn (space-delimited)
123..n
1ncolsnc 
2nrowsnr 
3xrefx 
4yrefy 
5cellsizesize 
6nodata_valuesentinel 
7..nvaluevaluevalue

where:

nc is the number of columns

nr is the number of rows

xref is either XLLCENTER (centre of the grid) or XLLCORNER (lower left corner of grid)

yref is either YLLCENTER (centre of the grid) or YLLCORNER (lower left corner of grid)

(x,y) are the coordinates of the origin (by centre or lower left corner of the grid)

size is the cell side length

sentinel is a null data string (eg -9999)

value is a data point. There should be nc × nr data points.

Anchor
AWBM daily time series
AWBM daily time series
AWBM daily time series

An AWBM daily time-series format file (.AWB) is an ASCII text file containing daily time-series data formatted as shown in Table 10. Dates (the year and month) were optional in the original AWBM file format, but are not optional in the format used in Source.

Table 10. AWB data file format
RowColumn (space-separated)
12..ndays+1ndays+2ndays+3
1..nndaysvalueyearmonth

where:

ndays is the number of days in the month (28..31)

value is the data point corresponding with a given day in the month (ie. ndays columns)

year is the year of observation (four digits)

month is the month of observation (one or two digits).

Anchor
SWAT BSB time series
SWAT BSB time series
SWAT BSB time series

A .BSB is a line-based fixed-format file, typically used by applications written in FORTRAN. The header line gives the fields for the file with subsequent lines providing data for each basin to be used for each time-step. The format is shown in Table 11. For more details refer to the SWAT manual.

Table 11. .BSB data file format
RowCharacter positions (space added)
1..810..1214..2123..3638..46
1SUBGISMONAREAkm2PRECIPmm
2..nidgismonareaprecip

where:

id is the basin identifier (both SUB and the id are text, left-aligned)

gis is the GIS value (integer, right-aligned, eg. "1")

month is the month of observation (integer, right-aligned, eg. "0")

area is the basin area in square kilometers (real, right aligned, eg "1.14170E+02")

precip is the basin precipitation in millimetres (real, right aligned, eg "1.2000").

Anchor
BOM 6 minute time series
BOM 6 minute time series
BOM 6 minute time series

A .BSM (also .PLUV) is a fixed-format file, typically supplied by the Australian Bureau of Meteorology for 6 minute pluviograph data. The file has two header lines (record types 1 and 2) followed by an arbitrary number of records of type 3. The formats of record types 1..3 are shown in Table 12Table 13 and Table 14, respectively.

...

blank ASCII space characters

Table 13. .BSM data file format (record type 2)
RowCharacter positions (space padded)
1..67..1213..1617..1819..2021..n
1..nsnumblankyearmonthday{raini...}

where:

snum is the station number

year is the year of the observation (four digits)

month is the month of the observation (one or two digits, right-aligned, space padded)

day is the date of the observation (one or two digits, right-aligned, space padded)

raini is a rainfall data point as explained below.

Anchor
Comma delimited time series
Comma delimited time series
Comma delimited time series

A .CDT comma delimited time-series format file is an ASCII text file that contains regular (periodic) time-series data. The file type commonly has no header line but, if required, it can support a single line header of "Date,Time series 1".

You can use the .CDT format to associate observations with a variety of time interval specifications. Table 15 shows how to structure annual data, Table 16 how to specify daily data aggregated at the monthly level, and Table 17 the more traditional daily time series (one date, one observation). Table 18 explains how to supply data in six-minute format.

Table 15. .CDT data file format (annual time series)
RowColumn (comma-separated)
12
1..nyearvalue..n

where:

year is the year of observation (four digits, eg. 2011)

value is the observed value (eg. 9876).

Table 16. .CDT data file format (time series with monthly data)
RowColumn (comma-separated)
12
1..nmm/yyyyvalue

where:

mm is the month of observation (two digits, eg. 09)

yyyy is the year of observation (four digits, eg. 2011)

value is the observed value (eg. 2600).

Table 17. .CDT data file format (daily time series with daily data)
RowColumn (comma-separated)
12
1..ndatevalue

where:

date is the date of observation in ISO format (eg. 2000-12-31)

value is the observed value (eg. 2600).

Table 18. .CDT data file format (six-minute time series)
RowColumn (comma-separated)
123..n
1..ndatetimevalue

where:

date is the date of observation in ISO format (eg. 2000-12-31)

time is the time of observation in hours and minutes (eg 23:48)

value is the observed value (eg. 10).

Anchor
Comma-separated value
Comma-separated value
Comma-separated value

A comma separated value or .CSV file is an ASCII text file that contains data in a variety of representations. When a .CSV contains regular (periodic) time-series data, there are at least two columns of data. The first contains a time-stamp and the remaining columns contain data points associated with the time-stamp. The format is shown in Table 19. All columns are separated using commas. Annual data can be entered using the notation 01/yyyy, where yyyy is a year. Header lines in .CSV files are usually optional.

Table 19. .CSV data file format

RowColumn (comma-separated)
12..n
1Datedesc
2..ndatevalue

...

minrh is the minimum relative humidity.

Anchor
Grid-based

...

Terrain Analysis Data
Grid-based

...

Terrain Analysis Data
Grid-based Terrain Analysis Data

A .TAPESG file is a three column raster data format, with space separated values. Each line consists of the X coordinate, Y coordinate, and value. The format is shown in Table 30.

...

The Tarsier daily time-series format file (.TTS) is an ASCII text file that contains daily time-series data. The file has a 21-line header (Table 6432) followed  followed by daily data values in the format shown in Table 31.

Table 31. TTS data file format
RowColumn (space-separated)
1234
1..21header   
22..nyearjdayvaluequal

where:

header is a 21-line header. Refer to Table 32

year is the year of observation (four digits)

jday is the Julian day offset within the year (one, two or three digits)

value is a data point including optional decimal places (eg 14 or 14.000)

qual is a quality indicator ("." ASCII 46 = "data ok/present"; "-" ASCII 45 = "data missing").

Table 32. Tarsier daily time series
LinePurpose
1The Tarsier version number header
2Reference to author of Tarsier modelling framework
3File path and name
4Name of software used to create the file
5Date and time file was created
6Tarsier timer series data class (eg. TTimeSeriesData)
7File version number
8Number of header lines (set to 1)
91. (the number 1 followed by a period)
10Number of daily data entries in the file
11Xlabel is always Date/Time for time-series data
12Y1Label Y1 fixed field, does not change
13Y2Label Y2 fixed field, does not change
14Units followed by Data units
15Format followed by format information (eg. 1)
16Easting followed by grid position east in metres
17Northing followed by grid position north in metres
18Latitude followed by the latitude of the site in decimal degrees
19Longitude followed by the longitude of the site in decimal degrees
20Elevation followed by the elevation of the site in metres
21Header character (usually an asterisk; ASCII 42, ASCII hex 2A)

Example file header

Tarsier modelling framework, Version 2.0.
:  Created by Fred Watson.
:  File Name : C:\data\TIME\TIMEExample.tts
:  Generated from TIME Framework
:  Date : 24/12/200411:59:30PM
:  File class: TTimeSeriesData.
FileVersion unknown
HeaderLines 1
1.
NominalNumEntries 10
XLabel Date/Time
Y1Label Y1
Y2Label Y2
Units mm.day^-1
Format 1
Easting 0.000000
Northing 0.000000
Latitude 0.000000
Longitude 0.000000
Elevation 0.000000
*