Using TES to atmospherically correct THEMIS

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DavinciWiki_Procedure|This procedure illustrates the method to produce a set of atmospherically corrected [[TES]] emissivity spectra to atmospherically correct [[THEMIS]] data using [[rematm2|rematm2()]]. The TES data must overlap the THEMIS training area and should be downloaded from JMARS as a .txt file. When possible, select pixels from a single ock and from the same season and similar atmospheric opacity as your [[THEMIS]] image.
+
{{DavinciWiki_Procedure|This procedure illustrates the method to produce a set of atmospherically corrected [[TES]] emissivity spectra to atmospherically correct [[THEMIS]] data using [[rematm2|rematm2()]].  
 
|
 
|
 +
The TES data must overlap the THEMIS training region (a compositionally homogenous region, best indicated by THEMIS DCS) and should be downloaded from JMARS as a .txt file. When possible, select TES pixels with the following constraints:
 +
# Found using Warm surface, High Quality, Clear Atmosphere JMARS TES predefined template
 +
# From a single ock, preference to ocks less than 7000 (see note below)
 +
# From the same season as your [[THEMIS]] image (JMARS TES keyword heliocentric_lon +/- 30 degrees Ls)
 +
# Or, alternatively, from a different season but with similar (+/- 25%) atmospheric opacity (JMARS TES parameters tot_dust/tot_ice) as your [[THEMIS]] image (JMARS TES parameters tau_ice_avg/tau_dust_avg)
 +
 +
 +
Note: For ocks above 7000, the TES detectors sometimes exhibit an instrumental error that results in a reversal of the dust absorption near 1100 wavenumbers. This could dramatically effect the extracted atmospheric spectrum, so avoid high ocks in general, and check for this absorption if high ocks are all that are available.
 +
 +
 +
 
Load your spectral library (downloaded from the ASU [[Spectral Library Tool]] output) with tes 73-point spectra as the output.
 
Load your spectral library (downloaded from the ASU [[Spectral Library Tool]] output) with tes 73-point spectra as the output.
 
  dv> lib = read("your_spec_lib.hdf")
 
  dv> lib = read("your_spec_lib.hdf")
Line 16: Line 27:
  
  
Use [[sma|sma()]] to model TES atmospherically corrected surface emissivity spectra.
+
Use [[sma|sma()]] to model TES atmospherically corrected surface emissivity spectra. #### should be replaced with your ock of interest, located inside the TES structure.
  dv> spec = sma(tes.####avgcat, lib, atm, wave1 = 200, wave2 = 1305, surface = 1, nn = 1)
+
  dv> spec = sma(tes.ock####avgcat, lib, atm, wave1 = 200, wave2 = 1305, surface = 1, nn = 1)
  
  
  
 
Resample the [[TES]] atmospherically corrected data to the same spectral sampling as [[THEMIS]].
 
Resample the [[TES]] atmospherically corrected data to the same spectral sampling as [[THEMIS]].
  dv> tes73x = make_band(tes73 = 1)
+
  dv> surf_em = i2i(spec.rematm, from = 'tes73', to = 'themis')
dv> surf_em = i2i(spec, from = tes73x, to = 'themis')
+
 
 +
 
 +
 
 +
Load [[Standard THEMIS IR Processing with ISIS3|processed THEMIS IR cube]]. Note: Do not use cube with [[rrmnoise_pca|white noise removal]].
 +
  dv> image = load_pds("I10418002.cub")
 +
 
 +
 
 +
 
 +
Determine [[rematm2|training region]] pixels for [[Standard THEMIS IR Processing with ISIS3|THEMIS IR cube]] that correspond to TES samples.
 +
Try using [[display|display()]], cropping the THEMIS training region, then typing 'i' to view pixel range of cropped area.
 +
  dv> display(do_dcs(image.cube, ignore=-32768))
 +
 
 +
 
 +
 
 +
[[rematm2|Atmospherically correct]] your [[Standard THEMIS IR Processing with ISIS3|THEMIS IR cube]] emissivity spectra with atmospherically corrected [[TES]] spectra. x and y are your training region bounds (pixels).
 +
  dv> thm_spec = rematm2(image.cube,surf_em,image.cube[x1:x2,y1:y2])
 +
 
 +
 
 +
thm_spec.surf is your atmospherically corrected THEMIS IR surface emissivity.
 +
  dv> write(thm_spec.surf,"I10418002.atmcorr.cub",isis3,force=1)
  
  
Add a discussion of [[rematm2]]
 
|
 
 
|
 
|
 
*[[sma]]
 
*[[sma]]
Line 33: Line 61:
 
*[[split_ock]]
 
*[[split_ock]]
 
*[[read]]
 
*[[read]]
 +
*[[make_band]]
 +
*[[i2i]]
 
|
 
|
 +
*[[Standard THEMIS IR Processing with ISIS3]]
 +
*[[THEMIS deconvolution]]
 
|
 
|
 
}}
 
}}
 +
 +
 +
[[Category:Procedures]]

Latest revision as of 14:31, 13 June 2012

Description

This procedure illustrates the method to produce a set of atmospherically corrected TES emissivity spectra to atmospherically correct THEMIS data using rematm2().

Procedure

The TES data must overlap the THEMIS training region (a compositionally homogenous region, best indicated by THEMIS DCS) and should be downloaded from JMARS as a .txt file. When possible, select TES pixels with the following constraints:

  1. Found using Warm surface, High Quality, Clear Atmosphere JMARS TES predefined template
  2. From a single ock, preference to ocks less than 7000 (see note below)
  3. From the same season as your THEMIS image (JMARS TES keyword heliocentric_lon +/- 30 degrees Ls)
  4. Or, alternatively, from a different season but with similar (+/- 25%) atmospheric opacity (JMARS TES parameters tot_dust/tot_ice) as your THEMIS image (JMARS TES parameters tau_ice_avg/tau_dust_avg)


Note: For ocks above 7000, the TES detectors sometimes exhibit an instrumental error that results in a reversal of the dust absorption near 1100 wavenumbers. This could dramatically effect the extracted atmospheric spectrum, so avoid high ocks in general, and check for this absorption if high ocks are all that are available.


Load your spectral library (downloaded from the ASU Spectral Library Tool output) with tes 73-point spectra as the output.

dv> lib = read("your_spec_lib.hdf")


Load the 73 channel atmospheric library, ether from the Spectral Library Tool or the example file below.

dv> atm = read($DV_EX+"/TES_atmlib_73channel.hdf")


Load your TES emissivity data and split the data by orbit using split_ock() so that an assessment can be made of the atmospheric conditions from each orbit.

dv> tes = split_ock("tesfile.txt")


Use sma() to model TES atmospherically corrected surface emissivity spectra. #### should be replaced with your ock of interest, located inside the TES structure.

dv> spec = sma(tes.ock####avgcat, lib, atm, wave1 = 200, wave2 = 1305, surface = 1, nn = 1)


Resample the TES atmospherically corrected data to the same spectral sampling as THEMIS.

dv> surf_em = i2i(spec.rematm, from = 'tes73', to = 'themis')


Load processed THEMIS IR cube. Note: Do not use cube with white noise removal.

 dv> image = load_pds("I10418002.cub")


Determine training region pixels for THEMIS IR cube that correspond to TES samples. Try using display(), cropping the THEMIS training region, then typing 'i' to view pixel range of cropped area.

 dv> display(do_dcs(image.cube, ignore=-32768))


Atmospherically correct your THEMIS IR cube emissivity spectra with atmospherically corrected TES spectra. x and y are your training region bounds (pixels).

 dv> thm_spec = rematm2(image.cube,surf_em,image.cube[x1:x2,y1:y2])


thm_spec.surf is your atmospherically corrected THEMIS IR surface emissivity.

 dv> write(thm_spec.surf,"I10418002.atmcorr.cub",isis3,force=1)


DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Personal tools