process crism

From DavinciWiki
Jump to: navigation, search

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

Syntax: process_crism(product_id [, sl=BOOL][, raw=BOOL][, resample=BOOL][, atm=INT][, destripe=BOOL][, index=BOOL][, wget=BOOL][,rotate=BOOL][, src&61;BOOL])

product_id - truncated product id. NOTE: Does not include prefix. This should look like 000035B5_07

sl - include the short wavelength (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() (default is 0)

atm - perform the atmospheric correction crism_atm() Default is 1, Mapping is 2

destripe - remove column related noise and spikes crism_destripe() (default is 1)

index - create the standard indices create_indices() create_indices_key() (default is 1)

wget - force the use of wget rather than copy() (default is 0)

rotate - rotate the image to ~North up (default=1)

src - download the data from the PDS location

Examples

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

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

Recent Library Changes

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

Personal tools