general/missions/rbsp/efw/
rbsp_efw_init.pro
Routines
top source rbsp_efw_init
rbsp_efw_init, reset=reset, local_data_dir=local_data_dir, remote_data_dir=remote_data_dir, no_color_setup=no_color_setup, no_download=no_download
PROCEDURE: rbsp_efw_init PURPOSE: Initializes system variables for RBSP EFW. Can be called from idl_startup to set custom locations. The system variable !RBSP_EFW is defined here. The elements of this structure are explained below: !RBSP_EFW.LOCAL_DATA_DIR This is the root location for all RBSP EFW data files. The RBSP EFW software expects all data files to reside in specific subdirectories relative to this root directory.; !RBSP_EFW.REMOTE_DATA_DIR This is the URL of the server that can provide the data files. (default is: "http://themis.ssl.berkeley.edu/data/themis/") if the software does not find a needed file in LOCAL_DATA_DIR, then it will attempt to download the data from the URL and REMOTE_DATA_DIR is defined, the software will attempt to download the file from REMOTE_DATA_DIR, place it in LOCAL_DATA_DIR with the same relative pathname, and then continue processing. (NOT YET IMPLEMENTED) KEYWORDS: RESET: Reset !rbsp to values in environment (or values in keywords). LOCAL_DATA_DIR: use given value for local_data_dir, rather than environment. Only works on initial call or reset. REMOTE_DATA_DIR: Use given value for remote_data_dir, rather than env. Only works on inital call or reset. NO_COLOR_SETUP do not set colors if already taken care of Typical examples: Desktop UNIX/LINUX computer located at SSL LOCAL_DATA_DIR = '/disks/data/rbsp/' ; This master directory is read only. REMOTE_DATA_DIR = '' ; Should be empty string. (/disks/data/rbsp and server are the same) Desktop WINDOWS computer located at SSL LOCAL_DATA_DIR = '\\justice\data\rbsp\' ; Justice is a samba server (physically the same as /disk/data/rbsp) REMOTE_DATA_DIR = '' laptop WINDOWS computer located far from a data server, but with internet connection. LOCAL_DATA_DIR = 'C;\data\rbsp\' ; Local (portable) directory on laptop REMOTE_DATA_DIR = 'http://themis.ssl.berkeley.edu/data/themis/' ; URL used to download data to LOCAL_DATA_DIR MacOS computer located away from SSL without a nearby data server LOCAL_DATA_DIR = '/data/rbsp/' ; Local (portable) directory on laptop REMOTE_DATA_DIR = 'http://themis.ssl.berkeley.edu/data/themis/' ; URL used to download data to LOCAL_DATA_DIR Note: If automatic downloads are used. (i.e. REMOTE_DATA_DIR is not an empty string) the user must ensure that LOCAL_DATA_DIR is writeable. Note to WINDOWS users: the WINDOWS version of IDL accepts both the '\' and '/' character as the directory separation character. The converse is not true. HISTORY Written by Peter Schroeder July 2011 $LastChangedBy: peters $ $LastChangedDate: 2014-02-06 15:28:08 -0800 (Thu, 06 Feb 2014) $ $LastChangedRevision: 14187 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/missions/rbsp/efw/rbsp_efw_init.pro $
Keywords
- reset
- local_data_dir
- remote_data_dir
- no_color_setup
- no_download
File attributes
Modification date: | Thu Feb 13 16:43:26 2014 |
Lines: | 57 |