Project

General

Profile

Feature #2218

kaguyasp2isis - extend ingestion capability to include the NIR2 wavelengths

Added by Tammy Becker almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Applications
Impact:

The application's name was changed to kaguyasp2ascii since it converts a binary file to a tab-separated-value file, not an ISIS Cube.

kaguyasp2ascii will now work with newer-format files. Both reflectances (Ref1 and Ref2,) the calibrated NIR2 data, and the correct QA information will now be output, and the output format has changed slightly (see documentation.)

Software Version:
Test Reviewer:

Description

According to the external reporter, the calibrated NIR2 wavelength data are now available.

Kaguyasp2isis needs to be modified to include the NIR2.

External Post: https://isis.astrogeology.usgs.gov/IsisSupport/index.php?action=post;topic=3901.0;last_msg=15693

Lisa Gaddis sent an email (Jan 23, 2015) to myself (Tammy), Stuart, Moses and Lynn Weller with attached calibration documents.

Contents of email:
Hi Tammy et al.,

The Kaguya team released a more fully calibrated version of their Spectral Profiler data last November (i.e., one that includes calibration for the VIS, NIR1 as well as NIR2 sensors---previously only the VIS and NIR1 were calibrated). I believe that there was a limit imposed by Janet (who I think wrote the SP ingestion script) on the maximum wavelength of the spectrum to be ingested. It would likely be simple to remove this limit and allow ingestion of the whole spectrum. Looks like the maximum wavelength is ~2.6 microns (2600 nanometers).

I've attached two papers describing the earlier and more recent calibrations.

So someone is asking for this change? Interesting... I used some of the newer data for my LPSC abstract, and I guess word is getting out about its availability.

cheers,
Lisa

The calibration documents have been attached to this ticket.

Yamamoto.etal_2011_Preflight&InflightCalib_SP.pdf (1.46 MB) Tammy Becker, 2015-01-26 09:24 PM

Yamamoto.etal_2014_SPNIR2_calib.pdf (2.06 MB) Tammy Becker, 2015-01-26 09:24 PM


Related issues

Related to ISIS - Bug #2357: reading in Kaguya Spectral Profiler level 2C data Closed

History

#1 Updated by Moses Milazzo almost 3 years ago

  • Assignee set to Moses Milazzo

#3 Updated by Moses Milazzo almost 3 years ago

Update from Lisa:

Hi Moses,

So kaguyasp2isis works on SP data files (untarred .spc files) from Dec 2013 (only VIS and NIR1 calibrated), but I get the attached error message on files from Jan 2015.

I've put some test files here:
S:\lgaddis\z\kaguyasp2isis_test_files_4.3.15

and you can find these here:
/work/users/lgaddis/kaguya/oppen/sp

?Note that these later files became available after Janet retired, so we did not include them in our tests. Hopefully it's a simple fix?

cheers,
Lisa?

Error message:

ERROR PVL Keyword [SP_SPECTRUM_REF] does not exist in [Object = Root] in file [SP_2C_02_05348_S343_E1920.spc]

#4 Updated by Stuart Sides over 2 years ago

  • Target version set to 3.4.10 (FY15 R3 2015-07-23 Jul)

#6 Updated by Moses Milazzo over 2 years ago

  • Status changed from Acknowledged to In Progress

#7 Updated by Kristin Berry over 2 years ago

  • Status changed from In Progress to Acknowledged
  • Assignee deleted (Moses Milazzo)

Unassigned and rescheduled

#8 Updated by Kristin Berry over 2 years ago

  • Target version changed from 3.4.10 (FY15 R3 2015-07-23 Jul) to 3.4.11 (FY16 R1 2015-10-28 Oct)

#9 Updated by Kristin Berry over 2 years ago

  • Status changed from Acknowledged to Assigned
  • Assignee set to Kristin Berry

#10 Updated by Kristin Berry over 2 years ago

  • Category set to Applications

#11 Updated by Rian Bogle over 2 years ago

update changed, updated changed again. and again? Yep again.

#12 Updated by Kristin Berry over 2 years ago

SP_SPECTRUM_REF has been replaced with SP_SPECTRUM_REF1 and SP_SPECTRUM_REF2 in the Jan15 file format. These are not publicly documented but according to the PI (via an email from Lisa) the two reflectances represent the reflectance data for highlands and mare, which use different coefficients for photometric correction. Both _REF1 and _REF2 will be included in the output file for inputs with the new file format.

#13 Updated by Kristin Berry over 2 years ago

  • Status changed from Assigned to In Progress

#14 Updated by Kristin Berry over 2 years ago

  • Impact updated (diff)

#15 Updated by Kristin Berry over 2 years ago

  • Status changed from In Progress to Resolved

#16 Updated by Kristin Berry over 2 years ago

To test, setisis /work/projects/isis/latest/m02218/isis

#17 Updated by Kristin Berry over 2 years ago

  • Status changed from Resolved to Feedback

#18 Updated by Rian Bogle over 2 years ago

A test edit

#22 Updated by Kristin Berry over 2 years ago

  • Status changed from Feedback to In Progress

Changing column headings, spacing, and a few other things after discussion with Lisa. The headers, which currently look like: QA1Raw2, will be separated into the separate columns QA1 and Raw2, separated by a tab character.

I'm changing the column headers to be tab-separated, instead of comma-separated, like the rest of the output values in the tsv.

And I'm changing the name to kaguyasp2ascii after talking to Tammy, Lisa, and Stuart.

#23 Updated by Kristin Berry over 2 years ago

  • Impact updated (diff)

#24 Updated by Kristin Berry over 2 years ago

  • Impact updated (diff)

#25 Updated by Kristin Berry over 2 years ago

  • Impact updated (diff)

#26 Updated by Kristin Berry over 2 years ago

  • Impact updated (diff)

#27 Updated by Kristin Berry over 2 years ago

  • Status changed from In Progress to Resolved

Made requested changes and updated XML documentation to Lisa's re-write.

#28 Updated by Kristin Berry over 2 years ago

  • Status changed from Resolved to In Progress

#29 Updated by Kristin Berry over 2 years ago

  • Status changed from In Progress to Resolved

#30 Updated by Kristin Berry over 2 years ago

To test, setisis /work/projects/isis/latest/m02218/isis

The updated documentation is at:
/work/projects/isis/latest/m02218/isis/src/kaguya/apps/kaguyasp2ascii/kaguyasp2ascii.html and can be opened in a normal web browser to test.

#31 Updated by Kristin Berry over 2 years ago

Minor updates to documentation as recommended by Janet Richie (Astro Editor.)

#32 Updated by Tammy Becker over 2 years ago

  • Status changed from Resolved to Closed

#33 Updated by Kristin Berry about 2 years ago

  • Related to Bug #2357: reading in Kaguya Spectral Profiler level 2C data added

Also available in: Atom PDF