themis rematm

From DavinciWiki
Jump to: navigation, search

Description

themis_rematm () - Perform atmospheric correction for THEMIS image using TES based training area. Requires THEMIS radcorred radiance image saved as “IXXXXXXXX.cub”.

Arguments and Return Values

Arguments: A THEMIS image ID, TES pixels selected as training data from refine_tes_fp() function, mineral and atmosphere library.

Return Value: A structure containing surface emissivity and the corresponding atmospheric opaicity spectrum

Usage

Syntax: themis_rematm(id, training, [,minlib=STRING] [,atmlib=STRING] [,tes1=VAL] [,tes2=VAL])

'id' - A string of THEMIS id in the form of IXXXXXXXX

'training' – selected TES pixels used as training data

'minlib' – surface mineral library. Default $DV_SCRIPTS_FILES/themis_atm_support/THEMIS_ATM_mineral_library.hdf

'atmlib' – 73 channel atmosphere library. Default $DV_SCRIPTS_FILES/themis_atm_support/TES_atmlib_73channel.hdf

‘tes1’ – start index for TES data selection

‘tes2’ – end index for TES data selection

Examples

dv > training
   wkt: Text Buffer with 4 lines of text
       1: POLYGON((77.2657 18.0216,77.2665 18.008,......,77.2795 18.0224,77.2657 18.0216))
       2: POLYGON((77.2004 18.0145,77.2011 18.0013,......,77.2139 18.0153,77.2004 18.0145))
       3: POLYGON((77.2524 18.0603,77.2532 18.0464,......,77.2669 18.061,77.2524 18.0603))
       4: POLYGON((77.1878 18.0558,77.1886 18.0422,......,77.2018 18.0566,77.1878 18.0558))
   center: 2x4x1 array of int, bsq format [32 bytes]
   ul: 2x4x1 array of int, bsq format [32 bytes]
   lr: 2x4x1 array of int, bsq format [32 bytes]
   emi: 4x1x143 array of float, bsq format [2,288 bytes]
   emi73: 4x1x73 array of float, bsq format [1,168 bytes]
   ock: 4x1x1 array of int, bsq format [16 bytes]
   ick: 4x1x1 array of int, bsq format [16 bytes]
   det: 4x1x1 array of int, bsq format [16 bytes]
   tesx: 1x1x143 array of float, bsq format [572 bytes]
   tesx73: 1x1x73 array of float, bsq format [292 bytes]
   topo: 614x1818x1 array of short, bsq format [2,232,504 bytes]
   tes_label: 3x4x1 array of int, bsq format [48 bytes]
   roi: struct, 4 elements
       ullatlon: 2x1x1 array of double, bsq format [16 bytes]
       lrlatlon: 2x1x1 array of double, bsq format [16 bytes]
       ulxy: 2x1x1 array of int, bsq format [8 bytes]
       lrxy: 2x1x1 array of int, bsq format [8 bytes]
dv>surf = themis_rematm(id, training)
doing broadband
..........................................................................................................................

struct, 3 elements
   surf: 614x1818x9 array of float, bsq format [40,185,072 bytes]
   atm: 1x1x9 array of float, bsq format [36 bytes]
   xaxis: 1x1x9 array of float, bsq format [36 bytes]
dv>

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

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

All other topics

  • See navigation on the left

Major Sub-Functions

Recent Library Changes

Created On: 06-20-2022
Modified On: 06-20-2022

Personal tools