DATA_SET_KEY Name
DATA_SET_KEY Purpose
Get data set info given a key.
Category
Calling Sequence
data_set_key, key, s Inputs
key = key for data set. in
Keyword Parameters
Keywords
/LIST List data sets.
/INIT initialize internal copy again.
ERROR=err Error flag: 0=ok. Outputs
s = structure with info. out
Common Blocks
data_set_key_com Notes
Notes: The info is from the text file named data_set_key.txt
which must be located in the users home directory.
Layout of data_set_key.txt:
Comments (* as first character) and null lines are allowed.
For each key must have one line:
key_dataset = value
Example: etopo1_dataset = /elevation/etopo1_ice_c.res
May also have any number (0 or more) of lines:
key_tag1 = line 1
key_tag1 = line 2
. . .
For example:
key_notes = line 1
key_notes = line 2
. . .
May have lines prefixed by key_ as needed, like
ybs_mag = m1
ybs_mag = m2
. . .
Use the key 'ybs' to access all the ybs_* lines.
The key_ is dropped in the returned structure, so the
main value will always by under the tag s.datatset.
It is useful to have one or more description comments in
front of the dataset and notes lines.
Modification History
R. Sterner, 2010 Feb 23
Copyright (C) 2010, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.