On Tue, 15 Oct 2013, Sven Schreiber wrote:
trying to append .gdt data (via GUI on Windows snapshot Oct 11th),
which
fails silently. Both files are monthly time series, but with different
ranges; I just want to append the data portion in the overlapping range
part.
Can you give some more detail? The following works OK for me:
<hansl>
open monthly1.txt
store monthly1.gdt
open monthly2.txt
store monthly2.gdt
clear
open monthly1.gdt
append monthly2.gdt
print -o
</hansl>
where monthly1.txt is
obs,x1,y1
2005:01,1,21
2005:02,2,22
2005:03,3,23
2005:04,4,24
2005:05,5,25
2005:06,6,26
2005:07,7,27
2005:08,8,28
2005:09,9,29
2005:10,10,30
2005:11,11,31
2005:12,12,32
and monthly2.txt is
obs,x2,y2
2005:08,1,21
2005:09,2,22
2005:10,3,23
2005:11,4,24
2005:12,5,25
2006:01,6,26
2006:02,7,27
2006:03,8,28
2006:04,9,29
2006:05,10,30
2006:06,11,31
2006:07,12,32
(different variables, overlapping ranges). The output I get is:
x y x2 y2
2005:01 1 21
2005:02 2 22
2005:03 3 23
2005:04 4 24
2005:05 5 25
2005:06 6 26
2005:07 7 27
2005:08 8 28 1 21
2005:09 9 29 2 22
2005:10 10 30 3 23
2005:11 11 31 4 24
2005:12 12 32 5 25
2006:01 6 26
2006:02 7 27
2006:03 8 28
2006:04 9 29
2006:05 10 30
2006:06 11 31
2006:07 12 32
Allin