process crism

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
 
(7 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
Output: the processed structure including all desired steps elements  
 
Output: the processed structure including all desired steps elements  
 
|
 
|
[[Syntax]]: process_crism(product_id [, sl=BOOL][, ra=BOOL][, raw=BOOL][, resample=BOOL][, atm=INT][, destripe=BOOL][, index=BOOL])
+
[[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
+
product_id - truncated product id.  NOTE: Does not include prefix.  This should look like 000035B5_07
  
 
sl - include the short wavelength (default is 0)
 
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)
 
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))
+
resample - resample the array to uniform wavelengths across the detector [[crism_resample|crism_resample()]] (default is 0)
  
 
atm - perform the atmospheric correction [[crism_atm|crism_atm()]] Default is 1, Mapping is 2
 
atm - perform the atmospheric correction [[crism_atm|crism_atm()]] Default is 1, Mapping is 2
Line 23: Line 21:
  
 
index - create the standard indices [[create_indices|create_indices()]] [[create_indices_key|create_indices_key()]] (default is 1)
 
index - create the standard indices [[create_indices|create_indices()]] [[create_indices_key|create_indices_key()]] (default is 1)
 +
 +
wget - force the use of wget rather than [[copy|copy()]] (default is 0)
 +
 +
rotate - rotate the image to ~North up (default=1)
 +
 +
src - download  the data from the [[PDS]] location
 
|
 
|
 
  dv> out=process_crism("000035B5_07")
 
  dv> out=process_crism("000035B5_07")
Line 63: Line 67:
 
*crism_science.dvrc
 
*crism_science.dvrc
 
|
 
|
1.00
+
1.08
 
|
 
|
 
}}
 
}}

Latest revision as of 12:04, 28 August 2011


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