Skip to content

das2c_results

C. Piker edited this page Dec 11, 2023 · 3 revisions

FUNCTION

das2c_results

PURPOSE

List stored das2 query results

CALLING SEQUENCE

Result = das2c_results()
Result = das2c_results(result_id)

OPTIONAL INPUTS

Parameter Type Purpose
result_id LONG Output information on only a single stored query instead of all that are loaded.

OUTPUT

This function returns an array of DAS2C_RESULT structures each of which provides an overview of a stored result. DAS2C_RESULT structures have the following fields.

Field Type Purpose
QUERY Long The ID number of this result, starts from 1
N_DSETS Long The number of datasets returned by the query
N_VALS Long64 The total number of actual data values in the dataset. For rank-2 and higher datasets this is often less then the sum of the shapes of all variables, due to virtual indexes
SERVER String The network URL from which data were loaded
SOURCE String The data source ID string on the server, if known
MIN_TIME String The minimum time value, in ISO-8601 format, UTC assumed
MAX_TIME String The max time value, in ISO-8601 format, UTC assumed
RES String The resolution requested, if any
PARAMS String Any extra arguments sent to the server

EXAMPLES

  1. List summary information on all stored results
    das2c_results()
  2. List summary information given a single stored result ID
    das2c_queries(23)

MODIFICATION HISTORY

C. Piker, 2020-03-11 - Original

C. Piker, 2023-12-02 - Renamed das2c_queries to das2c_results prior to TRACERS usage

C. Piker, 2023-12-11 - Renamed fields to avoid IDL reserved words

Clone this wiki locally