>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  TAG_RENAME
Libraries

TAG_RENAME

TAG_RENAME

Name


      TAG_RENAME

Purpose


      Rename tags in a structure.

Category


Calling Sequence


      s2 = tag_rename(s1,list)

Inputs


      s1 = Input structure. in
      list = List of old and new tag names. in
        Text array or name of text file with list.

Keyword Parameters


Keywords


        ERROR=err Error flag: 0=ok.

Outputs


      s2 = Returned structure with new tag names. out

Common Blocks


Notes


      Notes: The text array given in list must have as
      many elements as tags in the structure.
      There are two allowed forms for the list:
        1. Just give the new tag names. In this case
            the order must match the order in the structure.
        2. Give the old name followed by the new. In this
            case the order need not be known but this
            is slightly less efficient.
      May give in list the name of a text file containing
      one of the two allowed forms of the list instead of
      giving the list itself.

Modification History


      R. Sterner, 2006 Sep 14
      R. Sterner, 2010 May 07 --- Renamed from tags_rename.pro
      R. Sterner, 2010 May 07 --- Converted arrays from () to [].
  Copyright (C) 2006, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us