recurse_mds_tree.m
SYNTAX:
PURPOSE: The code in get_mds_tree defines the tree structure down to the first node
that is delimited by a colon (i.e., all paths up to *:node). This function recurses
down from there (when needed to actually populate the metadata in the tree.
INPUT:
mds_nam = node name to recurse from (or evaluate if it is a leaf node)
metadata = full metadata that will be returned to user, with content filled up to this call
mds_nam0 = Top tree name
toupper = user selection (see get_mds_tree.m)
verbose = user selection (see get_mds_tree.m)
top_num = length of mds_nam0 string
OUTPUT:
metadata = updated full metadata object