refine tes fp

From DavinciWiki
Jump to: navigation, search

Description

refine_tes_fp () - Select TES data meeting the geography an d elevation criteria used as training area for THEMIS atmospheric correction. Requires THEMIS radiance image saved as “IXXXXXXXX.cub”.

Arguments and Return Values

Arguments: A THEMIS image ID, overlying TES pixels with coordinates and topography information from tes_fp() function, upper left and lower right corner of THEMIS targeted study area and training area, lines difference and elevation difference between targeted area and training area.

Return Value: A structure containing all TES data meeting select criteria used as training data for atmospheric correction

Usage

Syntax: refine_tes_fp(id, tes, target_x1//target_y1, target_x2//target_y2, training_x1//training_y1, training_x2//training_y2 [,dis=VAL] [,elv=VAL])

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

'tes' – overlying TES data with necessary information

‘target_xy’ – upper left and lower right corner x/y for targeted study area

‘training_xy’ – upper left and lower right corner x/y for training area

‘dis’ – distance difference between targeted and training area in line number. Default is 1000

‘elv’ – elevation difference between targeted and training area in meter. Default is 1000

Examples

dv > tesfp
struct, 13 elements
   wkt: Text Buffer with 365 lines of text
   center: 2x365x1 array of int, bsq format [2,920 bytes]
   ul: 2x365x1 array of int, bsq format [2,920 bytes]
   lr: 2x365x1 array of int, bsq format [2,920 bytes]
   topo: 614x1818x1 array of short, bsq format [2,232,504 bytes]
   tesx: 1x1x143 array of float, bsq format [572 bytes]
   tesx73: 1x1x73 array of float, bsq format [292 bytes]
   emi: 365x1x143 array of float, bsq format [208,780 bytes]
   emi73: 365x1x73 array of float, bsq format [106,580 bytes]
   ock: 365x1x1 array of short, bsq format [730 bytes]
   ick: 365x1x1 array of short, bsq format [730 bytes]
   det: 365x1x1 array of byte, bsq format [365 bytes]
   ock_ick_det: 4x365x1 array of int, bsq format [5,840 bytes]
dv> training = refine_tes_fp(“I38360010”, tesfp,246//336,444//630,192//663,264//720)
struct, 14 elements
   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>

Images

refine tes fp.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

Recent Library Changes

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

Personal tools