.. _section3.2.6: 3.2.6 - Get Request File information ================================= .. _GF: Action Option -**GF** (-**GetFile**) : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ retrieves data file information for specified requests or partitions. | **dsrqst** -(GF|GetFile) [:ref:`Mode Options `] | [:ref:`-(FN|FieldNames) ` FieldNameString] | [:ref:`-(RI|RequestIndex) ` RequestIndices] | [:ref:`-(RN|RequestName) ` RequestNames] | [:ref:`-(PI|PartitionIndex) ` PartitionIndices] | [:ref:`-(TI|TarfileIndex) ` TarFileIndices] | [:ref:`-(DS|Dataset) ` dNNNNNN] | [:ref:`-(GI|GroupIndex) ` GroupIndices] | [:ref:`-(OT|SourceType) ` SourceDataType] | [:ref:`-(WF|WebFile) ` DataFileNames] | [:ref:`-(WT|WebType) ` DataFileTypes] | [:ref:`-(FS|FileStatus) ` DataFileStatus] | [:ref:`-(SZ|Size) ` DataFileSize] | [:ref:`-(DF|DataFormat) ` DataFormat] | [:ref:`-(AF|ArchiveFormat) ` DataArchiveFormat] | [:ref:`-(FD|FileDate) ` DateReadyOnline] | [:ref:`-(FT|FileTime) ` TimeReadyOnline] | [:ref:`-(OF|OutputFile) ` OutputFileName] | [:ref:`-(DB|Debug) ` DebugModeInfo] Available mode options: .. list-table:: :widths: auto :header-rows: 0 * - :ref:`-(FO|FormatOutput) ` - format the column output with a fixed width for all values of a given field * - :ref:`-(WD|WithDataset) ` - show Dataset ID for each request file Use :ref:`Info option ` :ref:`-FN ` (-FieldNames) to choose which data file fields to retrieve. If :ref:`-FN ` is not provided, it defaults to 'FRPTYSNMA'. Use :ref:`-FN ` ALL to retrieve every available field. Valid data file field names and their corresponding :ref:`Info option ` names: .. list-table:: :widths: auto :header-rows: 1 * - Names - :ref:`Info Options ` - Descriptions * - R - :ref:`-(RI|RequestIndex) ` - data request index * - Q - :ref:`-(RN|RequestName) ` - request name/ID * - P - :ref:`-(PI|PartitionIndex) ` - request partition index * - T - :ref:`-(TI|TarfileIndex) ` - tarfile index when this small file is tarred * - I - :ref:`-(GI|GroupIndex) ` - group index * - B - :ref:`-(DS|Dataset) ` - dataset name/ID, dNNNNNN * - L - :ref:`-(SL|SourceLink) ` - source file name * - Z - :ref:`-(OT|SourceType) ` - source data type, W - Web * - Y - :ref:`-(WT|WebFileType) ` - file type, Data, dOcument, Software * - F - :ref:`-(WF|WebFile) ` - file name online * - A - :ref:`-(FS|FileStatus) ` - file status, R - requested, O - online * - S - :ref:`-(SZ|Size) ` - data file size * - C - :ref:`-(PC|ProcessCommand) ` - command to process this request file * - M - :ref:`-(DF|DataFormat) ` - data format, i.e. GRIB, NetCDF * - N - :ref:`-(AF|ArchiveFormat) ` - archive format, i.e. TAR, GZ * - O - :ref:`-(DO|DisplayOrder) ` - order the file shown on webpage * - J - :ref:`-(TR|TimeReady) ` - time request processed * - K - :ref:`-(FD|FileDate) ` - date data file ready online * - Y - :ref:`-(FT|FileTime) ` - time data file ready online * - D - :ref:`-(DE|Description) ` - description of this file Data file information can be retrieved for the request indices given via option :ref:`-RI ` (-RequestIndex), or the partition indices given via option :ref:`-PI ` (-PartitionIndex). A data file record's status is initially 'R' (requested) when a request is submitted. It changes to 'O' (online) after the request is processed and the data file has been staged online for download. If a copy of the same data file is already online for another request, that copy is shared rather than staging a new one. .. _3.2.6_e7: **EXAMPLE 7. To get the default-field data file information for partition index 13:** | **dsrqst** :ref:`GF ` :ref:`-PI ` 13 Content of the output: .. code-block:: none WebFile<:>RequestIndex<:>PartitionIndex<:>Size<:>ArchiveFormat<:>DataFormat<:>FileStatus<:> godas.P.198306.tar<:>61160<:>13<:>196544000<:>GZ.TAR<:>GRIB1<:>O<:> ... | :ref:`Back to Top ` | :ref:`Back to Table of Contents `