Lunar Procedures

Before beginning, make sure to install an official global shape model. This will ensure that the DTM generated will be tied to the official coordinate system.

Use JMars for the Moon (or some other appropriate program) to determine which images will be used to build the DTM.

Use processLRO-orig.f to ingest the images. The SPICE kernels for each image will need to be added to LRO/PROCESS_IMG.IN.

In JRW's experience, the SPICE kernels are poor enough that the image position/pointing will need to be updated before building the DTM. Perhaps this step will not be needed if using an official global shape model. Nonetheless, it would be good to find a low emission low resolution image (such as a WAC image), and align all the images to it. A low emission image is key to minimize projection problems; for LRO, there should be WAC images with only a few degrees emission angle. All the images should then be aligned to this image using "x.register".

After this step, all the normal SPC procedures can be used. However, be careful with using lots of AUTOREGISTER and GEOMETRY Opt 2. Always make a backup before doing either, and try to minimize the number of times you run these programs. Since we are now aligning the images before generating the DTM, frequently updating the position/pointing is probably okay, but in the past JRW has gotten into trouble by using these programs too much.

Notes on Making ISIS Cubes

This is an incomplete description of how to build the ISIS cubes. Portions of this are being filled in over time. JRW 08 Feb 2020

Start here. Steps to build -- The details of how to build cubes.

Fixing errors that showed up during MOSAICX for Phase.

The process for fixing these errors in Phase is the same as for that in Emission. Here I have a different programs and procedures only because the names of files are different.

cd img-{LastFive}
qview rawP-RG3ED1.cub

cd working/

mv RG3ED1-fixed-p.txt ../img-{LastFive}/

cd img-{LastFive}
ascii2isis from=RG3ED1-fixed-p.txt to=RG3ED1-fixed-p.cub samples=1415 lines=1415

mv rawP-RG3ED1.txt orig-rawP-RG3ED1.txt
mv rawP-RG3ED1.cub orig-rawP-RG3ED1.cub RG3ED1-fixed-p.cub rawP-RG3ED1.cub RG3ED1-fixed-p.txt rawP-RG3ED1.txt 

qview orig-rawP-RG3ED1.cub rawP-RG3ED1.cub

Better, stronger, faster way to make cubes

* Use phasei to output the data directly from SPC. Then all you have to do is use ascii2isis!

What to include in a delivery.

How to ingest PDS IMG DTM into a bigmap


Lunar_Procedures (last edited 2021-09-09 12:47:02 by JohnWeirich)