generate_measures_files

Contents

generate_measures_files#

generate_measures_files calls spymicmac.micmac.generate_measures_files() to create:

  • id_fiducial.txt,

  • MeasuresCamera.xml, and

  • Tmp-SL-Glob.xml

files for KH-9 Hexagon mapping camera images.

Warning

Once created, you should move MeasuresCamera.xml into the Ori-InterneScan directory so that it can be found by mm3d ReSampFid or spymicmac.resample.resample_hex().

Note

To use the Tmp-SL-Glob.xml file, copy it into the Tmp-SaisieAppuis directory with the name of the image appended; e.g.,:

cp Tmp-SL-Glob.xml Tmp-SaisieAppuis/Tmp-SL-Glob-MeasuresIm-DZB1215-500425L002001.tif.xml

You will also need MeasuresIm-DZB1215-500425L002001.tif-S2D.xml (or whatever the image name is) to exist in the directory:

cp Ori-InterneScan/MeasuresIm-DZB1215-500425L002001.tif.xml MeasuresIm-DZB1215-500425L002001.tif-S2D.xml

and, you should remove any temporary files from Tmp-SaisieAppuis:

rm Tmp-SaisieAppuis/Tmp-SL-Im-MeasuresIm-MeasuresIm-DZB1215-500425L002001.tif.xml.*

Create MicMac-LocalChantierDescripteur.xml, AutoCal_Foc-304800_KH9MC.xml, id_fiducial.txt, MeasuresCamera.xml, and Tmp-SL-Glob.xml files for KH-9 Hexagon Mapping Camera images.

usage: generate_measures_files [-h] [-joined]

Named Arguments#

-joined

generate files for joined scene (220x460 mm) instead of half (220x230mm)

Default: False