atrem

From DavinciWiki
Jump to: navigation, search

Citation

Bandfield, J. L., and M. D. Smith (2003), Multiple emission angle surface-atmosphere separations of Thermal Emission Spectrometer data, Icarus, 161, 47-65.

Description

Calls vanilla database and gets required fields to remove CO2 and water vapor contributions to the radiance spectra. This only works on 143 point TES spectra. This function depends on 2 external programs: vanilla and correlated-k code (see co2_new for more information). Usage is restricted to linux.

Arguments and Return Values

Arguments: Vanilla select fields, vanilla database directory.

Return Value: TES measured radiance with radiative contributions due to CO2 and H2O vapor removed. Optionally, the original input values from the vanilla call can be returned as well in a structure.

Usage

Syntax: atrem("vanilla select fields","vanilla data directory", [str = 1])

"vanilla select fields": String containing conditions that restrict the input data

"vanilla data directory": Path where vanilla DATASET file is contained

struct: return a structure with individual vanilla input components as well as corrected radiance - 0 (default) returns radiance only, 1 returns individual components

atrem only works on 143 point single scan TES data (Use "scan_len 1 1" in select string)

Examples

dv> data = atrem("ock 5129 5129 ick 1572 1572 detector 1 3 scan_len 1 1","/tes/mapping/data/p5123/",struct = 1)
Apparent file size: 167x3x1
Read ASCII file: 167x3x1
Apparent file size: 1x143x1
Read ASCII file: 1x143x1
 Reading Corrk
 done
 1
 2
 3
Apparent file size: 95x3x1
Read ASCII file: 95x3x1
struct, 6 elements
    rad: 3x143x1 array of double, bsq format [3,432 bytes]
    pt: 3x21x1 array of double, bsq format [504 bytes]
    psurf: 1x3x1 array of double, bsq format [24 bytes]
    Tsurf: 1x3x1 array of double, bsq format [24 bytes]
    emission: 1x3x1 array of double, bsq format [24 bytes]
    rad_original: 3x143x1 array of double, bsq format [3,432 bytes]


Images

Plot showing an original and corrected spectrum of the output structure example above.

The 15 micron CO2 band will not be fully corrected. atrem1.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

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

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 12-31-2007
Modified On: 05-15-2008

Personal tools