Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width76px

Column

This icon downloads a file from a given URL. By default the result is cached, but a target path can also be specified in order to save the file directly to a given location. This is particularly useful for data types that Metview does not have specific support for.  Note that Download will use the proxy settings defined by Metview - these are configurable via the Tools | Preferences menu.

The macro language equivalent is download().

...

Provide a URL that  will return a file. This can be, for instance, a URL that points directly to a particular file, or a request to a web service that could generate generates and return returns some data.

Target

This parameter is optional. If set, the downloaded file will be copied to the given location. The whole target path must can be given, including absolute or relative, but must include the file name, and the parent directory must already exist. If running from an interactive session, a relative path will be relative to the folder containing the macro; when running in batch mode, the path will be relative to where the metview command was run from.

...