Hi,
I am a begginer of ASP. I used pc_align tool to corret the CTX DEM from MOLA point datas. It seems the program was killed when it was trying to build the reference cloud tree. I have tired 2 version, including 2.62 and 2.70. Some CTX DEMs works well with the pc_align tool. Is there any requirements when trying to use pc_align tool to correct dem?
Here is the log file:
>>>>
justin@justin-VirtualBox:~/DEM$ bash ~/scripts/asp_ctx_map_ba_pc_align2dem.sh -d stereodirs.lis -m 2500
Fri Apr 16 12:14:02 HKT 2021
Working on B17_016288_2131_J16_051100_2141
Running pc_align...
--> Setting number of processing threads to: 6
Writing log info to: dem_align/B17_016288_2131_J16_051100_2141_map_ba_align-log-pc_align-04-16-1214-24648.txt
Detected datum from B17_016288_2131_J16_051100_2141_map_ba-PC.tif:
Geodetic Datum --> Name: D_MARS Spheroid: MARS Semi-major axis: 3396190 Semi-minor axis: 3396190 Meridian: Reference Meridian at 0 Proj4 Str: +proj=sinu +lon_0=349.17461080875 +x_0=0 +y_0=0 +a=3396190 +b=3396190 +units=m +no_defs
Will use datum (for CSV files): Geodetic Datum --> Name: D_MARS Spheroid: MARS Semi-major axis: 3396190 Semi-minor axis: 3396190 Meridian: Reference Meridian at 0 Proj4 Str: +a=3396190 +b=3396190
Computing the intersection of the bounding boxes of the reference and source points using 9000000 sample points.
Guessing file ../B17_016288_2131_J16_051100_2141_pedr.csv to be in latitude,longitude,height above datum (meters) format.
Reference box: (Origin: (-11.3712, 32.5111) width: 1.03989 height: 2.70312)
Source box: (Origin: (348.624, 32.4514) width: 1.10417 height: 2.82075)
Intersection reference box: (Origin: (-11.3712, 32.5111) width: 1.03989 height: 2.70312)
Intersection source box: (Origin: (348.629, 32.5111) width: 1.03989 height: 2.70312)
Intersection of bounding boxes took 43.2349 [s]
Reading: B17_016288_2131_J16_051100_2141_map_ba-PC.tif
--> [********************************************************] Complete!
Too few points were loaded. Trying again.
--> [********************************************************] Complete!
Loaded points: 96489709
Loading the reference point cloud took 164.948 [s]
Reading: ../B17_016288_2131_J16_051100_2141_pedr.csv
Guessing file ../B17_016288_2131_J16_051100_2141_pedr.csv to be in latitude,longitude,height above datum (meters) format.
Loaded points: 25562
Loading the source point cloud took 0.029231 [s]
Data shifted internally by subtracting: Vector3(2.76109e+06,-529884,1.88771e+06)
Building the reference cloud tree.
/home/justin/scripts/asp_ctx_map_ba_pc_align2dem.sh: line 83: 24648 Killed pc_align --num-iterations 2000 --threads 6 --max-displacement $maxd --highest-accuracy ${i}_map_ba-PC.tif ../${i}_pedr.csv -o dem_align/${i}_map_ba_align --datum D_MARS --save-inv-trans
--> Setting number of processing threads to: 6
File does not exist: B17_016288_2131_J16_051100_2141_map_ba_align-trans_reference.tif.
Thanks,
Justin