process crism
(New page: {{DavinciWiki_Function| Description | Inputs | Syntax: | Example | Images | Sub | Related | *crism_science.dvrc | 1.00 | }} category:Functions category:User Defined Functions [...) |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DavinciWiki_Function| | {{DavinciWiki_Function| | ||
− | + | 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][, 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|crism_resample()]] (default is 0) | ||
+ | |||
+ | 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) | ||
+ | |||
+ | 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") | |
+ | 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])) | ||
| | | | ||
− | + | [[Image:crism_LCP_index.png]] | |
| | | | ||
− | + | *[[crism_atm]] | |
+ | *[[crism_resample]] | ||
+ | *[[crism_destripe]] | ||
+ | *[[get_crism]] | ||
+ | *[[create_indices]] | ||
+ | *[[create_indices_key]] | ||
| | | | ||
− | + | *[[project_crism]] | |
+ | *[[project_crism_index]] | ||
+ | *[[get_crism_list]] | ||
| | | | ||
*crism_science.dvrc | *crism_science.dvrc | ||
| | | | ||
− | 1. | + | 1.08 |
| | | | ||
}} | }} |
Latest revision as of 12:04, 28 August 2011
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: > 1.08
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]))
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Major Sub-Functions
Related Functions
Recent Library Changes Created On: 03-30-2009 |