This page was created by the IDL library routine `mk_html_help2`.

Last modified: Sat Jul 26 18:17:38 2025.

# Directory Listing of Routines

# projects/maven/sta/l3util

- MVN_STA_L3_LATEST_FILE

# Routine Descriptions

## MVN_STA_L3_LATEST_FILE

[List of Routines]

    Input list of either STATIC L3 density or temperature filenames. This routine will output the latest version. The filename
    format is hard coded here, so any changes to file name must be updated here.

    INPUTS:
    filesin: string array: the filenames found by pfp-fileretrieve for a specific date, containing the version numbers.

    KEYWORDS:
     Set /denf (density-file) if the files entered are density files.
     Set /tempf (temperature-file) if the files entered are temperature files.
       NOTE: only one can be set - the routine will bail if both are set.

    OUTPUTS:
    If successful, routine returns the full path and file name of the file that has the largest version number (success=1). If success=0,
    return returns 'na'.

    .r /Users/cmfowler/IDL/STATIC_routines/Processing_software/L3/mvn_sta_l3_latest_file.pro

(See projects/maven/sta/l3util/mvn_sta_l3_latest_file.pro)