PrideLab / PRIDE-PPPAR

An open‑source software for Multi-GNSS PPP ambiguity resolution
http://pride.whu.edu.cn/
GNU General Public License v3.0
264 stars 103 forks source link

LC_NUMERIC="en_US.UTF-8" #1

Open xwanner opened 3 years ago

xwanner commented 3 years ago

Hi,

in scripts/pride_pppar.sh, I got an error line 415 with the printf function ("invalid number"). The local should be set "en_US.UTF-8" in order to work.

purposed patch for this line : ` LC_NUMERIC="en_US.UTF-8" printf " %s%16.4f%16.4f%16.4f\n" ${site} ${initial_pos[*]} >> sit.xyz

I don't now exactly where it should be corrected elsewhere in the software.

Cheers