You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The DAP manages conversions through wrapper scripts that control input/output operations within specific applications. Any text based scripting language can be used to create these wrapper scripts as all that is required is that they follow certain naming and comment conventions (see http://opensource.ncsa.illinois.edu/projects/artifacts/POL/2.0/documentation/ScriptingManual.pdf for full details). Specifically, a script should be named as follows:

[Application Alias][#Optional Comment]_[operation].[extension]

Where the underscore in the name is required and separates the application alias which uniquely identifies the program carrying out the conversion and the operation (e.g. open, save, convert).  Open and save operations perform one half of a conversion, opening a file in a program or saving an already open file in a program, while the convert operation does both within the same script.  As an example consider an R script that uses PEcAn to convert data in the PEcAn standard netCDF CF format to the format required by the SIPNET model:

PEcAn#Sipnet_convert.R

 

 

https://kmchenry@opensource.ncsa.illinois.edu/stash/scm/pol/polyglot.git

https://opensource.ncsa.illinois.edu/stash/projects/POL/repos/polyglot/browse/scripts

  • No labels