process crism

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
(New page: {{DavinciWiki_Function| Description | Inputs | Syntax: | Example | Images | Sub | Related | *crism_science.dvrc | 1.00 | }} category:Functions category:User Defined Functions [...)
 
Line 1: Line 1:
 
{{DavinciWiki_Function|
 
{{DavinciWiki_Function|
Description
+
Download and process any [[CRISM]] image, including Radiance or I/F, Short or Long, FRT/HRL/MSP etc.
 
|
 
|
Inputs
+
Inputs: takes a truncated image id and the desired processing steps
 +
 
 +
Output: the processed structure including all desired steps elements
 
|
 
|
[[Syntax]]:
+
[[Syntax]]: process_crism(product_id[, sl=BOOL][, ra=BOOL][, raw=BOOL][, resample=BOOL][, atm=INT][, destripe=BOOL][, index=BOOL])
 +
 
 +
product_id - truncated product id
 +
 
 +
sl - include the short wavelength (default is 0)
 +
 
 +
ra - download radiance rather than I/F (default is 0)
 +
 
 +
raw - output the entire PDS structures for each component (default is 0)
 +
 
 +
resample - resample the array to uniform wavelengths across the detector [[crism_resample|crism_resample()]] (default is 1))
 +
 
 +
atm - perform the atmospheric correction [[crism_atm|crism_atm()]] Default is 1, Mapping is 2
 +
 
 +
destripe - remove column related noise and spikes [[crism_destripe|crism_destripe()]] (default is 1)
 +
 
 +
index - create the standard indices [[create_indices|create_indices()]] [[create_indices_key|create_indices_key()]] (default is 1)
 
|
 
|
Example
+
dv> out=process_crism("000035B5_07")
 +
Enter password:
 +
................
 +
struct, 1 elements
 +
    long: struct, 7 elements
 +
        anc: struct, 5 elements...
 +
        wl_array: 320x1x438 array of float, bil format [560,640 bytes]
 +
        at_array: 320x1x438 array of float, bil format [560,640 bytes]
 +
        id: ""HRS000035B5_07_IF174L_TRR2.IMG""
 +
        data: 320x225x438 array of float, bsq format [126,144,000 bytes]
 +
        index: 320x225x16 array of double, bsq format [9,216,000 bytes]
 +
        index_key: Text Buffer with 16 lines of text
 +
            1: Olivine Index
 +
            2: LCP Index
 +
            3: HCP Index
 +
            4: Ferric Coating
 +
            5: BD2290 MG, Fe-OH Minerals
 +
            6: D2300 Hydrates Minerals - Particularily Phyllosilicates
 +
            7: BD2210 AL-OH Minerals
 +
            8: BD1900 H20 - Alternate from CAT code
 +
            9: SINDEX Water Containing Minerals
 +
            10: BD2100 Monohydrated Sulfates
 +
dv> display(sstretch(out.long.index[,,2]))
 
|
 
|
Images
+
[[Image:crism_LCP_index.png]]
 
|
 
|
Sub
+
*[[crism_atm]]
 +
*[[crism_resample]]
 +
*[[crism_despike]]
 +
*[[get_crism]]
 +
*[[create_indices]]
 +
*[[create_indices_key]]
 
|
 
|
Related
+
*[[project_crism]]
 +
*[[project_crism_index]]
 +
*[[get_crism_list]]
 
|
 
|
 
*crism_science.dvrc
 
*crism_science.dvrc

Revision as of 00:34, 31 March 2009


Description

Download and process any CRISM image, including Radiance or I/F, Short or Long, FRT/HRL/MSP etc.

Arguments and Return Values

Inputs: takes a truncated image id and the desired processing steps

Output: the processed structure including all desired steps elements

Usage

dv> out=process_crism("000035B5_07")
Enter password: 
................
struct, 1 elements
   long: struct, 7 elements
       anc: struct, 5 elements...
       wl_array: 320x1x438 array of float, bil format [560,640 bytes]
       at_array: 320x1x438 array of float, bil format [560,640 bytes]
       id: ""HRS000035B5_07_IF174L_TRR2.IMG""
       data: 320x225x438 array of float, bsq format [126,144,000 bytes]
       index: 320x225x16 array of double, bsq format [9,216,000 bytes]
       index_key: Text Buffer with 16 lines of text
           1: Olivine Index
           2: LCP Index
           3: HCP Index
           4: Ferric Coating
           5: BD2290 MG, Fe-OH Minerals
           6: D2300 Hydrates Minerals - Particularily Phyllosilicates
           7: BD2210 AL-OH Minerals
           8: BD1900 H20 - Alternate from CAT code
           9: SINDEX Water Containing Minerals
           10: BD2100 Monohydrated Sulfates
dv> display(sstretch(out.long.index[,,2])) 

Examples

crism LCP index.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

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

All other topics

  • See navigation on the left

Related Functions

  • crism_science.dvrc

Recent Library Changes

Created On: 03-30-2009
Modified On: 08-28-2011

Personal tools