The SEF File Format

SEF files look like this:

SEF	0.2.0
ID	DWR_Zarate
Name	Zárate
Source	NA
Lat	-34.0958
Lon	-59.0242
Alt	20.25
Link	https://data-rescue.copernicus-climate.eu/lso/1086267
Vbl	msl pressure
Stat	0
Units	hPa
Meta	Alias=Zarate|PTC=T|PGC=?|Data policy=Open
Year	Month	Day	Hour	Minute	Period	Value	Meta	
1902	12	22	18	17	0	1005.91	Orig.=754.5mm|Orig.time=14:00
1902	12	23	18	17	0	1009.78	Orig.=757.4mm|Orig.time=14:00
1902	12	24	18	17	0	1000.18	Orig.=750.2mm|Orig.time=14:00
1902	12	25	18	17	0	1015.11	Orig.=761.4mm|Orig.time=14:00
1902	12	26	18	17	0	1009.65 Orig.=757.3mm|Orig.time=14:00
1902	12	27	18	17	0	1009.78	Orig.=757.4mm|Orig.time=14:00
1902	12	28	18	17	0	1014.05	Orig.=760.6mm|Orig.time=14:00
1902	12	29	18	17	0	1016.18	Orig.=762.2mm|Orig.time=14:00

One SEF file contains observations of one variable from one station. It is a text file encoded as UTF8. It is a tab-separated values file and should have a .tsv extension. This means it can be easily viewed and edited in any text editor or spreadsheet program (though care should be taken to preserve the tab structure and text encoding).

Data table

Lines 13 and onward in the file are a table of observations. Line 13 is a header, lines 14 and on are observations. Missing values can be given as NA or left blank. The table must contain these columns in this order:

Year: Year in which the observation was made (UTC). An integer.

Month: Month in which the observation was made (UTC). An integer (1-12).

Day: Day of month in which the observation was made (UTC). An integer (1-31).

Hour: Hour at which the observation was made (UTC). An integer (0-23)

Minute: Minute at which the observation was made (UTC). An integer (0-59)

Period: Time period of observation (instantanious, sum over previous 24 hours, …). Integer code. There is a table of meaningful codes.

Value: The observation value.

Meta: Anything else. Pipe-separated (‘|’) string of metadata entries. Each entry may be any string (except no tabs, commas, or carriage returns). There is a standard list of meaningful entries, but other entries can be added as necessary. Metadata specified here only applies to this observation, and overrides any file-wide specification.