Commit aed1b45a authored by Adam Paquette's avatar Adam Paquette
Browse files

Small test update to keep in line with dynamic column generation.

parent c0ee7950
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
point_id,stat,known,lat_Y_North,long_X_East,ht,sigma0,sigma1,sigma2,res0,res1,res2
point_id,stat,known,lat_Y_North,long_X_East,ht,sig0,sig1,sig2,res0,res1,res2
1,1,1,0.08538133869186999,2.38013146162178,-2697.2374469465,0.0,0.0,1.707214,16.348041000000002,-13.917623,-0.151001
2,1,1,0.08508542650082002,2.3808135855714703,-2702.0,0.0,0.0,1.0,15.983285999999998,-16.869508,0.103341
3,1,1,0.08626480095809,2.3870838392611,-2714.16003756809,0.0,0.0,3.828854,12.831839,-34.360639,-2.2058459999999998
+1 −1
Original line number Diff line number Diff line
@@ -257,7 +257,7 @@ def save_gpf(df, output_file):
        #Output coordinates to gpf file
        outGPF.write('{0} {1} {2}\n'.format(row['point_id'], row['stat'], row['known']))
        outGPF.write('{0}         {1}         {2}\n'.format(row['lat_Y_North'], row['long_X_East'], row['ht']))
        outGPF.write('{0} {1} {2}\n'.format(row['sigma0'], row['sigma1'], row['sigma2']))
        outGPF.write('{0} {1} {2}\n'.format(row['sig0'], row['sig1'], row['sig2']))
        outGPF.write('{0} {1} {2}\n\n'.format(row['res0'], row['res1'], row['res2']))

    outGPF.close()