This page was created by the IDL library routine mk_html_help2.

Last modified: Wed Jun 7 13:17:36 2017.


Directory Listing of Routines


Routine Descriptions

HAPI_LOAD_DATA

[List of Routines]
 PROCEDURE:
         hapi_load_data

 PURPOSE:
         Load data and query information from a Heliophysics API server

 KEYWORDS:
         trange:       time range of interest [starttime, endtime] with the format
                       ['YYYY-MM-DD','YYYY-MM-DD'] or to specify more or less than a day
                       ['YYYY-MM-DD/hh:mm:ss','YYYY-MM-DD/hh:mm:ss']
         capabilities: describes relevant capabilities for the HAPI server (optional)
         catalog:      provides a list of datasets available from the HAPI server (optional)
         info:         provides information on a given dataset (optional)
         dataset:      dataset to load (optional)

 EXAMPLES:
  List server capabilities:
    IDL> hapi_load_data, /capabilities
    HAPI v1.1
    Output formats: csv, binary, json
  
  List the datasets available on this server:
    IDL> hapi_load_data, /catalog
    HAPI v1.1
    1: CASSINI_LEMMS_PHA_CHANNEL_1_SEC
    2: CASSINI_LEMMS_REG_CHANNEL_PITCH_ANGLE_10_MIN_AVG
    ....
  
  Get info on a dataset:
    IDL> hapi_load_data, /info, dataset='spase://VEPO/NumericalData/Voyager1/LECP/Flux.Proton.PT1H'
    HAPI v1.1
    Dataset: spase://VEPO/NumericalData/Voyager1/LECP/Flux.Proton.PT1H
    Start: 1977-09-07T00:00:00.000
    End: 2017-05-02T21:38:00.000
    Parameters: Epoch, year, doy, hr, dec_year, dec_doy, flux, flux_uncert
  
  Load and plot the Voyager flux data:
    IDL> hapi_load_data, trange=['77-09-27', '78-01-20'], dataset='spase://VEPO/NumericalData/Voyager1/LECP/Flux.Proton.PT1H'
    IDL> tplot, 'flux'
  
 NOTES:
         - capabilities, catalog, info keywords are informational
         - Requires IDL 8.2 or later due to json_parse usage
         

$LastChangedBy: egrimes $
$LastChangedDate: 2017-06-07 09:12:27 -0700 (Wed, 07 Jun 2017) $
$LastChangedRevision: 23436 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/tags/spedas_2_00/general/spedas_tools/hapi/hapi_load_data.pro $

(See general/spedas_tools/hapi/hapi_load_data.pro)