2
Dear ODV4 User: The "batch_examples.zip" package contains example files that show how to use ODV4 in batch mode. ".bat" batch files for Windows are provided; equivalent shell scripts for use under UNIX, Linux and Mac OS X can be created easily. For easy installation unzip "batch_examples.zip" into C:\. This will create the main working directory "C:\odv4_batch_examples" and several sub-directories. You may unzip into alternative locations, however, you will then have to edit the .bat files in the working directory "C:\odv4_batch_example s" and the .cmd and .lst files in sub-directory "cmd_files" and modify filepaths accordingly. It is assumed that ODV version 4.1.2 or higher is already installed on your system. One command file ("open_ARGO-2004_for_Temp [email protected]") requires that the DIVA optional package is also installed. Please see chapters 2.3 and 14.5 of the ODV4 User's Guide for details on command-line invocation of ODV as well as for a description of available commands in ODV .cmd files. To start experimenting, please edit the two batch files "run_odv4_in_batch_mod e_TASK1.bat" and "run_odv4_in_batch_mod e_TASK2.bat" in the working directory "C:\odv4_batch_example s" and make sure that the pathname to the odv4.exe reflects your local settings. Then run the .bat files. Task1 will create a new collection suitable for ARGO profile data and automatically import the 2004 ARGO data for the Atlantic (provided in this package). Task2 will open the collection created during Task1 and create .gif files of the Temperature distribution at 500db, both for VG and DIVA gridding. Two additional cmd files ("open_ARGO-2004_for_ import.cmd" and "open_ARGO-2004_for_QC-Temperature.cmd") are provided in sub-directory "cmd_files". These files demonstrate how additional data can be imported into an existing collection and how an existing collection can be opened with a specific view being loaded. The "QC-Temperature" .cmd file provides a quality control session environment, instantly revealing some problems with the data and allowing easy flagging of the bad data. To execute these command files you may create your own .bat files, or, alternatively, you may execute the .cmd files by starting ODV4 manually (e.g., double-clicking on the ODV4 icon) and using the "File>Execute Batch File" option. You are strongly encouraged to view and inspect the provided .bat and .cmd files and use them as templates for your own experiments. We are in the process of creating the documentation for the ODV4 .xview view files, and will make this available as soon as possible. This will help you create new .xview files by software other than ODV4, or even manually. Feedback, comments and suggestions are very welcome. Reiner Schlitzer ([email protected]) May/2009

Batch Examples Rioiuoeadme

Embed Size (px)

Citation preview

Page 1: Batch Examples Rioiuoeadme

8/11/2019 Batch Examples Rioiuoeadme

http://slidepdf.com/reader/full/batch-examples-rioiuoeadme 1/1

Dear ODV4 User:

The "batch_examples.zip" package contains example files that show howto use ODV4 in batch mode. ".bat" batch files for Windows areprovided; equivalent shell scripts for use under UNIX, Linux and MacOS X can be created easily.

For easy installation unzip "batch_examples.zip" into C:\. This willcreate the main working directory "C:\odv4_batch_examples" and severalsub-directories. You may unzip into alternative locations, however,you will then have to edit the .bat files in the working directory"C:\odv4_batch_examples" and the .cmd and .lst files in sub-directory"cmd_files" and modify filepaths accordingly. It is assumed that ODVversion 4.1.2 or higher is already installed on your system. Onecommand file ("[email protected]") requiresthat the DIVA optional package is also installed.

Please see chapters 2.3 and 14.5 of the ODV4 User's Guide for detailson command-line invocation of ODV as well as for a description ofavailable commands in ODV .cmd files.

To start experimenting, please edit the two batch files"run_odv4_in_batch_mode_TASK1.bat" and"run_odv4_in_batch_mode_TASK2.bat" in the working directory

"C:\odv4_batch_examples" and make sure that the pathname to theodv4.exe reflects your local settings. Then run the .bat files. Task1will create a new collection suitable for ARGO profile data andautomatically import the 2004 ARGO data for the Atlantic (provided inthis package). Task2 will open the collection created during Task1 andcreate .gif files of the Temperature distribution at 500db, both forVG and DIVA gridding.

Two additional cmd files ("open_ARGO-2004_for_import.cmd" and"open_ARGO-2004_for_QC-Temperature.cmd") are provided in sub-directory"cmd_files". These files demonstrate how additional data can beimported into an existing collection and how an existing collectioncan be opened with a specific view being loaded. The "QC-Temperature"

.cmd file provides a quality control session environment, instantlyrevealing some problems with the data and allowing easy flagging ofthe bad data. To execute these command files you may create your own.bat files, or, alternatively, you may execute the .cmd files bystarting ODV4 manually (e.g., double-clicking on the ODV4 icon) andusing the "File>Execute Batch File" option.

You are strongly encouraged to view and inspect the provided .bat and.cmd files and use them as templates for your own experiments.

We are in the process of creating the documentation for the ODV4.xview view files, and will make this available as soon aspossible. This will help you create new .xview files by software other

than ODV4, or even manually.

Feedback, comments and suggestions are very welcome.

Reiner Schlitzer ([email protected])

May/2009