crism speclib

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
 
(8 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{DavinciWiki_Function|
 
{{DavinciWiki_Function|
 
Search through the standard  VNIR spectral library
 
Search through the standard  VNIR spectral library
 +
 +
*[http://speclib.rsl.wustl.edu/ PDS Spectral Library Tool]
 +
*[https://pds-geosciences.wustl.edu/missions/mro/spectral_library.htm PDS Spectral Library]
 
|
 
|
 
Inputs: a search string
 
Inputs: a search string
Line 14: Line 17:
 
sepclib - structure to search in, default is $DV_SCRIPT_FILES/crism_speclib.hdf
 
sepclib - structure to search in, default is $DV_SCRIPT_FILES/crism_speclib.hdf
 
|
 
|
examplessss
+
dv> out=crism_speclib("FAYALITE")
 +
searching in lib.class
 +
 +
struct, 13 elements
 +
    index: 4x1x1 array of int, bsq format [16 bytes]
 +
    name: Text Buffer with 4 lines of text
 +
        1: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE"
 +
        2: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE"
 +
        3: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE"
 +
        4: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE"
 +
    data: struct, 4 elements
 +
        id0694_1: 2x491x1 array of float, bsq format [3,928 bytes]
 +
        id0702_2: 2x2314x1 array of float, bsq format [18,512 bytes]
 +
        id0845_3: 2x461x1 array of float, bsq format [3,688 bytes]
 +
        id0933_4: 2x461x1 array of float, bsq format [3,688 bytes]
 +
    id: Text Buffer with 4 lines of text
 +
        1: "C1PO58"
 +
        2: "LAPO05"
 +
        3: "C3PO59"
 +
        4: "CAPO05"
 +
    type: Text Buffer with 4 lines of text
 +
        1: "VNIR"
 +
        2: "VNIR-MIR"
 +
        3: "VNIR"
 +
        4: "VNIR"
 +
    version_id: Text Buffer with 4 lines of text
 +
        1: "1.0"
 +
        2: "1.0"
 +
        3: "1.0"
 +
        4: "1.0"
 +
    specimen_name: Text Buffer with 4 lines of text
 +
        1: "OLV011"
 +
        2: "OLV112"
 +
        3: "OLV011"
 +
        4: "OLV112"
 +
    specimen_description: Text Buffer with 4 lines of text
 +
        1: "FOR 0.1% -- FAY 99.9% SMITHSONIAN INST. #351"
 +
        2: "SAMPLE SOMEWHAT OXIDIZED"
 +
        3: "FOR 0.1% -- FAY 99.9% SMITHSONIAN INST.#35117.SPECTRA ALSO EXISTS FOR 45-75"
 +
        4: "SAMPLE SOMEWHAT OXIDIZED"
 +
    min_particle_size: 1x4x1 array of float, bsq format [16 bytes]
 +
    max_particle_size: 1x4x1 array of float, bsq format [16 bytes]
 +
    collection_location: Text Buffer with 4 lines of text
 +
        1: "UNK"
 +
        2: "UNK"
 +
        3: "UNK"
 +
        4: "UNK"
 +
    current_location: Text Buffer with 4 lines of text
 +
        1: "UNIVERSITY OF WINNIPEG"
 +
        2: "UNIVERSITY OF WINNIPEG"
 +
        3: "UNIVERSITY OF WINNIPEG"
 +
        4: "UNIVERSITY OF WINNIPEG"
 +
    reference: Text Buffer with 4 lines of text
 +
        1: "MUSTARD&PIETERS1989"
 +
        2: "BISHOPETAL1995"
 +
        3: "MUSTARD&PIETERS1989"
 +
        4: "MUSTARD&PIETERS1989"
 
|
 
|
 +
[[Image:crism_speclib.png|600px]]
 
|
 
|
 
*[[HasValue]]
 
*[[HasValue]]
Line 24: Line 84:
 
*[[crism_resample]]
 
*[[crism_resample]]
 
*[[process_crism]]
 
*[[process_crism]]
*[[crism_indices]]
+
*[[create_indices]]
 
|
 
|
 
*crism_science.dvrc
 
*crism_science.dvrc

Latest revision as of 11:25, 2 April 2020


Description

Search through the standard VNIR spectral library

Arguments and Return Values

Inputs: a search string

Outputs: a structure containing the data matches and title

Usage

Syntax: crism_speclib(search [,search location=STRING] [,speclib=STRING])

search - string to search for usually in all capital letters

search location - location in the strucutre to search in, default is lib.class

sepclib - structure to search in, default is $DV_SCRIPT_FILES/crism_speclib.hdf

Examples

dv> out=crism_speclib("FAYALITE")
searching in lib.class

struct, 13 elements
   index: 4x1x1 array of int, bsq format [16 bytes]
   name: Text Buffer with 4 lines of text
       1: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE"
       2: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE"
       3: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE"
       4: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE"
   data: struct, 4 elements
       id0694_1: 2x491x1 array of float, bsq format [3,928 bytes]
       id0702_2: 2x2314x1 array of float, bsq format [18,512 bytes]
       id0845_3: 2x461x1 array of float, bsq format [3,688 bytes]
       id0933_4: 2x461x1 array of float, bsq format [3,688 bytes]
   id: Text Buffer with 4 lines of text
       1: "C1PO58"
       2: "LAPO05"
       3: "C3PO59"
       4: "CAPO05"
   type: Text Buffer with 4 lines of text
       1: "VNIR"
       2: "VNIR-MIR"
       3: "VNIR"
       4: "VNIR"
   version_id: Text Buffer with 4 lines of text
       1: "1.0"
       2: "1.0"
       3: "1.0"
       4: "1.0"
   specimen_name: Text Buffer with 4 lines of text
       1: "OLV011"
       2: "OLV112"
       3: "OLV011"
       4: "OLV112"
   specimen_description: Text Buffer with 4 lines of text
       1: "FOR 0.1% -- FAY 99.9% SMITHSONIAN INST. #351"
       2: "SAMPLE SOMEWHAT OXIDIZED"
       3: "FOR 0.1% -- FAY 99.9% SMITHSONIAN INST.#35117.SPECTRA ALSO EXISTS FOR 45-75"
       4: "SAMPLE SOMEWHAT OXIDIZED"
   min_particle_size: 1x4x1 array of float, bsq format [16 bytes]
   max_particle_size: 1x4x1 array of float, bsq format [16 bytes]
   collection_location: Text Buffer with 4 lines of text
       1: "UNK"
       2: "UNK"
       3: "UNK"
       4: "UNK"
   current_location: Text Buffer with 4 lines of text
       1: "UNIVERSITY OF WINNIPEG"
       2: "UNIVERSITY OF WINNIPEG"
       3: "UNIVERSITY OF WINNIPEG"
       4: "UNIVERSITY OF WINNIPEG"
   reference: Text Buffer with 4 lines of text
       1: "MUSTARD&PIETERS1989"
       2: "BISHOPETAL1995"
       3: "MUSTARD&PIETERS1989"
       4: "MUSTARD&PIETERS1989"

Images

crism speclib.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: 03-31-2009
Modified On: 04-02-2020

Personal tools