Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/c/cybis/www/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/c/cybis/www/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/c/cybis/www/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/c/cybis/www/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/c/cybis/www/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/c/cybis/www/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/c/cybis/www/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/c/cybis/www/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/c/cybis/www/wiki/includes/MagicWord.php on line 860
Compact format - Cybis Wiki

Compact format

From Cybis Wiki
Jump to: navigation, search
(Created page with 'The "Compact format" was a data format created by Richard Holmes, basically to save space back in the days when space was an issue on hard disks and for archive facilities. It is...')
 
Line 1: Line 1:
The "Compact format" was a data format created by Richard Holmes, basically to save space back in the days when space was an issue on hard disks and for archive facilities.
+
'''Compact format''' was a data format created by [[Richard Holmes]], basically to save space back in the days when space was an issue on hard disks and for archive facilities.
It is a non-standard format, but is output by default in some of Richard's programs (such as FMT). This format should NOT be used for storing data today.
+
It is a non-standard format, but is output by default in some of Richard Holmes programs (such as [[FMT]]). There are no reasons for using this format for storing data today.  
Better stick to the internationally accepted formats when possible according to the World Data Center for Paleoclimatology and the International Tree-Ring Data Bank.
+
  
 +
The format is quite simple. See the example file below. The first line is header/meta-data for the tree-ring measurements: 93 years, inner ring of 1898, sample ID is ZOC01A. The code (26F3.0) states that 26 measurements exist per line and the measurement is in 3.0 format = 3.0 which would be 0.01 format without the decimal (decimals are superfluous) What the "-2" and "~" signify is unknown to us. One advantage of this format was that the precision was independent for each sample. One could have 3.0 or 4.0 or 2.0 for different cores in the same file.
  
The format is quite simple. See the example file below. The first line is header/meta-data for the tree-ring measurements: 93 years, inner ring of 1898, sample ID is ZOC01A. The code (26F3.0) states that 26 measurements exist per line and the measurement is in 3.0 format = 3.0 which would be 0.01 format without the decimal (decimals are superfluous, and the "-2" and "~" signify nothing that I could ever figure out). One advantage of this format was that the precision was independent for each sample. One could have 3.0 or 4.0 or 2.0 for that matter.
 
 
See also the appended Pascal code used for creating Compact format in the program Convert5.
 
  
 
<pre>
 
<pre>
Line 14: Line 11:
 
  98103139110 89174149128157 95126127240249193131222241221262212226147265141228
 
  98103139110 89174149128157 95126127240249193131222241221262212226147265141228
 
245193243255121158279147 63128 94129100189183
 
245193243255121158279147 63128 94129100189183
 +
</pre>
  
 +
<PRE>
 
write(outfile,(lastyr-firstyr+1):8,'=N',firstyr:8,'=I ',sitecode);
 
write(outfile,(lastyr-firstyr+1):8,'=N',firstyr:8,'=I ',sitecode);
 
for x := 1 to (48 - length(sitecode)) do write(outfile,' ');
 
for x := 1 to (48 - length(sitecode)) do write(outfile,' ');
 
writeln(outfile,'-2(',line_length,'F',format_code,'.0)~');
 
writeln(outfile,'-2(',line_length,'F',format_code,'.0)~');
 
</pre>
 
</pre>
 +
<i>Pascal code used for creating Compact format in the program [[Convert5]]</i>
 
   
 
   
The information above is from a contribution by Henri D. Grissino-Mayer on the ITRDB email forum on February 1 2008.
+
==Sources==
 +
The information above is from a contribution by Henri D. Grissino-Mayer on the ITRDB email forum on February 1 2008.<ref>http://listserv.arizona.edu/cgi-bin/wa?A2=ind0802&L=itrdbfor&T=0&P=282</ref>
 +
 
 +
==Notes==
 +
<references/>

Revision as of 20:28, 30 December 2009

Personal tools