Loading isis/src/control/apps/jigsaw/tsts/mestimator/Makefile +6 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,9 @@ APPNAME = jigsaw # 2014-07-23 Jeannie Backer - Commented out references to bundleout_images.csv. # Removed default parameters. # 2016-08-11 Jeannie Backer - Updated documentation # 2018-07-24 Debbie A. Cook - Now removing digits beyond the fourth decimal place of # decimal numbers to make the mac test work. Also changed # "-0.0000" to "0.0000" after truncating. include $(ISISROOT)/make/isismake.tsts commands: Loading @@ -28,8 +31,10 @@ commands: spsolve=position > /dev/null; $(CAT) bundleout.txt | grep -v "Run Time:" | grep -v "Elapsed Time:" \ | perl -pe 's/(^|,|: )([^,:]+\/)([^,\/:]*\.)(net|cub)/\1\3\4/g' 2>/dev/null \ | $(SED) 's/\([0-9][0-9]*\.[0-9][0-9][0-9][0-9][0-9]\)\([0-9][0-9]*\)/\1/g' \ | $(SED) 's/\([0-9][0-9]*\.[0-9][0-9][0-9][0-9]\)\([0-9][0-9]*\)/\1/g' \ | $(SED) s/`date +%Y-%m-%dT`\[0-2\]\[0-9\]:\[0-5\]\[0-9\]:\[0-5\]\[0-9\]/date/ \ | sed 's/\-0.0000/ 0.0000/' \ | sed 's/\-0.0000/ 0.0000/' \ > $(OUTPUT)/mEstimator_bundleout.txt; $(CAT) residuals.csv | $(SED) 's/,[^,]*\/\([^,\/]*\.cub\)/,\1/g'\ > $(OUTPUT)/mEstimator_residuals.csv Loading isis/src/control/apps/jigsaw/tsts/pole-ra-dec-w0-wDot-mean-radius/Makefile +4 −2 Original line number Diff line number Diff line Loading @@ -3,12 +3,14 @@ APPNAME = jigsaw # 2016-10-31 Tyler Wilson This test exercises the bundle adjustment of images from Enceladus # when the target body Enceladus when the target body parameter file is used. This particular # test sets the RadiusSolveOption to mean. # 2018-07-24 Debbie A. Cook Changed the SED commands to remove digits beyond the second # decimal place instead of the third to get the MacOS test to match. # The "cat bundleout.txt" command in these tests uses perl and sed to do the following (in order): # 1. remove cube filename paths. # 2. remove net filename paths. # 3. remove digits beyond the fifth decimal place of decimal numbers. # 3. remove digits beyond the second decimal place of decimal numbers. # 4. remove date and time. # The "cat bundleout_images.csv/residuals.csv" commands uses perl to: Loading @@ -25,7 +27,7 @@ commands: file_prefix=$(OUTPUT)/ > /dev/null; $(CAT) $(OUTPUT)/bundleout.txt | grep -v "Run Time:" | grep -v "Elapsed Time:" \ | perl -pe 's/(^|,|: )([^,:]+\/)([^,\/:]*\.)(net|cub)/\1\3\4/g' 2>/dev/null \ | $(SED) 's/\([0-9][0-9]*\.[0-9][0-9][0-9]\)\([0-9][0-9]*\)/\1/g' \ | $(SED) 's/\([0-9][0-9]*\.[0-9][0-9]\)\([0-9][0-9]*\)/\1/g' \ | $(SED) s/`date +%Y-%m-%dT`\[0-2\]\[0-9\]:\[0-5\]\[0-9\]:\[0-5\]\[0-9\]/date/ \ > $(OUTPUT)/pole-ra-dec-w0-wDot-mean-radius_bundleout.txt; $(CAT) $(OUTPUT)/bundleout_images.csv \ Loading Loading
isis/src/control/apps/jigsaw/tsts/mestimator/Makefile +6 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,9 @@ APPNAME = jigsaw # 2014-07-23 Jeannie Backer - Commented out references to bundleout_images.csv. # Removed default parameters. # 2016-08-11 Jeannie Backer - Updated documentation # 2018-07-24 Debbie A. Cook - Now removing digits beyond the fourth decimal place of # decimal numbers to make the mac test work. Also changed # "-0.0000" to "0.0000" after truncating. include $(ISISROOT)/make/isismake.tsts commands: Loading @@ -28,8 +31,10 @@ commands: spsolve=position > /dev/null; $(CAT) bundleout.txt | grep -v "Run Time:" | grep -v "Elapsed Time:" \ | perl -pe 's/(^|,|: )([^,:]+\/)([^,\/:]*\.)(net|cub)/\1\3\4/g' 2>/dev/null \ | $(SED) 's/\([0-9][0-9]*\.[0-9][0-9][0-9][0-9][0-9]\)\([0-9][0-9]*\)/\1/g' \ | $(SED) 's/\([0-9][0-9]*\.[0-9][0-9][0-9][0-9]\)\([0-9][0-9]*\)/\1/g' \ | $(SED) s/`date +%Y-%m-%dT`\[0-2\]\[0-9\]:\[0-5\]\[0-9\]:\[0-5\]\[0-9\]/date/ \ | sed 's/\-0.0000/ 0.0000/' \ | sed 's/\-0.0000/ 0.0000/' \ > $(OUTPUT)/mEstimator_bundleout.txt; $(CAT) residuals.csv | $(SED) 's/,[^,]*\/\([^,\/]*\.cub\)/,\1/g'\ > $(OUTPUT)/mEstimator_residuals.csv Loading
isis/src/control/apps/jigsaw/tsts/pole-ra-dec-w0-wDot-mean-radius/Makefile +4 −2 Original line number Diff line number Diff line Loading @@ -3,12 +3,14 @@ APPNAME = jigsaw # 2016-10-31 Tyler Wilson This test exercises the bundle adjustment of images from Enceladus # when the target body Enceladus when the target body parameter file is used. This particular # test sets the RadiusSolveOption to mean. # 2018-07-24 Debbie A. Cook Changed the SED commands to remove digits beyond the second # decimal place instead of the third to get the MacOS test to match. # The "cat bundleout.txt" command in these tests uses perl and sed to do the following (in order): # 1. remove cube filename paths. # 2. remove net filename paths. # 3. remove digits beyond the fifth decimal place of decimal numbers. # 3. remove digits beyond the second decimal place of decimal numbers. # 4. remove date and time. # The "cat bundleout_images.csv/residuals.csv" commands uses perl to: Loading @@ -25,7 +27,7 @@ commands: file_prefix=$(OUTPUT)/ > /dev/null; $(CAT) $(OUTPUT)/bundleout.txt | grep -v "Run Time:" | grep -v "Elapsed Time:" \ | perl -pe 's/(^|,|: )([^,:]+\/)([^,\/:]*\.)(net|cub)/\1\3\4/g' 2>/dev/null \ | $(SED) 's/\([0-9][0-9]*\.[0-9][0-9][0-9]\)\([0-9][0-9]*\)/\1/g' \ | $(SED) 's/\([0-9][0-9]*\.[0-9][0-9]\)\([0-9][0-9]*\)/\1/g' \ | $(SED) s/`date +%Y-%m-%dT`\[0-2\]\[0-9\]:\[0-5\]\[0-9\]:\[0-5\]\[0-9\]/date/ \ > $(OUTPUT)/pole-ra-dec-w0-wDot-mean-radius_bundleout.txt; $(CAT) $(OUTPUT)/bundleout_images.csv \ Loading