DOI-USGS / ISIS3

Integrated Software for Imagers and Spectrometers v3. ISIS3 is a digital image processing software package to manipulate imagery collected by current and past NASA and International planetary missions.
https://isis.astrogeology.usgs.gov
Other
200 stars 168 forks source link

grid does not produce a valid lat/lon grid for multi-band cubes with a band dependent camera #1952

Closed ascbot closed 5 years ago

ascbot commented 5 years ago

Author Name: Stuart Sides (@scsides)

Original Assignee: Kristin Berry


When working with a multi-band cube that has a band dependent camera model (e.g., Themis IR, New Horizons LEISA) the grid program creates a grid that matches band 1 only. When the camera model is the same for all bands this is fine. When the camera model is not the same, the grid from band 1 does not correctly represent other bands.

ascbot commented 5 years ago

Original Redmine Comment Author Name: Kristin Berry (Kristin Berry) Original Date: 2014-11-13T19:40:09Z


After completion, grid will work differently for all the band-dependent camera models: VimsCamera, LroWideAngleCamera, MarciCamera, MvicFrameCamera, NewHorizonsLeisaCamera, ThemisIrCamera, and ThemisVisCamera.

It's worth noting that very few objects and applications currently take IsBandIndependent into account. Right now, it's only:

cam2cam caminfo map2cam ringscam2map skymap CameraStatistics ProjectionFactory CrismCamera

ascbot commented 5 years ago

Original Redmine Comment Author Name: Kristin Berry (Kristin Berry) Original Date: 2014-12-03T18:55:47Z


This is done, tested by me (Kristin,) and committed to the New Horizons branch. Someone else should probably test this before it gets merged into trunk.

ascbot commented 5 years ago

Original Redmine Comment Author Name: Tammy Becker (Tammy Becker) Original Date: 2014-12-12T00:08:21Z


I tested a Cassini VIMS cube with grid under this ticket as well as under isis3.4.8, the output files were identical.

input: /work/projects/cassini/tbecker/VIMS/V1764559402_1.ir-sinu.cub output: V1764559402_1.ir-sinu-isis348-grid.cub & V1764559402_1.ir-sinu-m02191-grid.cub

I ran grid with all the defaults.

If this is what is expected for the VIMS IR camera, then we are good.

Thank you.