PrideLab/PRIDE-PPPAR

test.sh hangs at "Data cleaning" (decimal point vs. decimal comma in -xyz parameter)

aewallin opened this issue · 1 comments

Hi on Ubuntu I got the program to compile, and the first part of the test-suite seems to run, but then hangs at the step "Data cleaning"
Are there any steps I should do before running test.sh - or should it work without modifications?

The output I get is as follows:

~/Desktop/PRIDE-PPPAR/pride_pppar_v2.1/example$ ./test.sh
(1) static daily fixed
===> CheckExecutables...
===> CheckExecutables done
:: Processing date range: 2020 01 01 <==> 2020 01 01
:: Site name: abmf
:: Positioning mode: s
:: Control file: /home/anders/Desktop/PRIDE-PPPAR/pride_pppar_v2.1/example/config_template_daily
:: AR switch: y
===> ProcessSingleDay 2020 001...
===> CopyTables...
===> CopyTables done
===> Prepare initial position abmf...
(2022-03-24 16:10:12) spp -trop saas -ti 30 /home/anders/Desktop/PRIDE-PPPAR/pride_pppar_v2.1/example/data/2020/001//abmf0010.20o /home/anders/Desktop/PRIDE-PPPAR/pride_pppar_v2.1/example/data/2020/001//brdm0010.20p executed ok
===> Prepare initial position abmf done
===> PrepareProducts...
:: Prepare IGS ATX product: ...
:: Prepare IGS ATX product: igs14_2136.atx done
(2022-03-24 16:10:18) sp3orb WUM0MGXRAP_20200010000_01D_01M_ORB.SP3 -cfg config.4gmuoK2RG4 executed ok
===> PrepareProducts done
===> ProcessSingleSite 2020 001 abmf...
===> Data pre-processing...
(2022-03-24 16:10:19) tedit /home/anders/Desktop/PRIDE-PPPAR/pride_pppar_v2.1/example/data/2020/001//abmf0010.20o -time 2020 01 01 00 00 0.00 -len 86370.00 -int 30 -xyz 2919786,0000 -5383745,0000 1774605,0000 -short 1200 -lc_check only -rhd log_2020001_abmf -pc_check 300 -elev 7 -rnxn /home/anders/Desktop/PRIDE-PPPAR/pride_pppar_v2.1/example/data/2020/001//brdm0010.20p executed ok
===> Data pre-processing done
===> Data cleaning...

It looks like my issue is related to #1
In the output above, notice how the -xyz parameter has coordinates given with a decimal 'comma' "," since I used a language/region setting that prefers this.
I now changed this setting on my OS (Ubuntu 21.10) to US region/language, and now this seems to work:

===> Data pre-processing...
(2022-03-28 20:44:28) tedit /home/anders/Desktop/PRIDE-PPPAR/pride_pppar_v2.1/example/data/2020/001//abmf0010.20o -time 2020 01 01 00 00 0.00 -len 86370.00 -int 30 -xyz 2919785.7901 -5383744.9578 1774604.8598 -short 1200 -lc_check only -rhd log_2020001_abmf -pc_check 300 -elev 7 -rnxn /home/anders/Desktop/PRIDE-PPPAR/pride_pppar_v2.1/example/data/2020/001//brdm0010.20p executed ok
===> Data pre-processing done

Notice how the -xyz parameter now has coordinates given with a decimal point "."