Diagram=>More Diagram Functions=>Read Text for Placeholders from FileΒΆ

Replaces the values of text placeholders of a page with header data from a NC-file.

../../_images/OnPageLoadPlaceHolders-en.png

To load text, do the following:

  • Choose Diagram=>More Diagram Functions=>Read Text for Placeholders from File.
  • From the File Open dialog box select a data file.
  • The file will be converted into the netCDF-format (.NC).
  • A dialog box to edit the placeholder text will be displayed. Placeholders found in the NC file are marked with a *.
  • Edit the text and press OK.

Comment

The placeholders in the IPW file must be enclosed in dollar symbols. Example: $Origin$. The text within the $ symbols must agree with a text in the global attributes of the specified NC file. The place-holder text is case sensitive. Values will be transformed into strings. If the NC attribute contains a vector, the elements will separated by a comma followed by a blank.

To access attributes of a specific variable, the variable name must be separated from the attribute name with a period. Example: $Torque.long_name$.

id-1061644