Download Forecaster user manual

Transcript
Forecaster v2.0
Command Line Interface
Forecaster can be run in command line mode - FCMD (Forecaster CoMmanD).
In this case, entities are defined in csv files (see CSV section) and Forecaster is run from a
command line prompt.
Entering the command FCMD with no arguments will display a description of the available
options, for example:
Forecaster command line FCMD V1.7.1.2
Copyright (c) 2008 New Zealand Forest Research Institute. All rights reserved.
Usage :
=======
FCMD /CropsFile=csv-file
/SitesFile=csv-file
/RegimesFile=csv-file
/FunctionSetsFile=csv-file
/ReportOptionsFile=csv-file
/MessageFile=message-file
/OptionsFile=options-file
/ProjectsFile=csv-file
/ImportOnly=true
|
|
|
|
|
/CropsGroup=group
/SitesGroup=group
/RegimesGroup=group
/FunctionSetsGroup=group
/ReportOptionsGroup=group
OR
FCMD /ProjectName=project-name
/MessageFile=message-file
/OptionsFile=options-file
/ImportOnly=true
where :
csv-file is the name of a CSV file containing entities to be imported
group is the name of a group containing existing entities
message-file is the name of the file in which messages are to be written
options-file is the name of the file containing system options
project-name is the full name to an existing project within Forecaster.
and: /ImportOnly=true will mean that a simulation is not performed
Examples :
==========
1. The following command line simulates an existing project within Forecaster
FCMD "/Project=\Projects\My Project"
2. The following command line imports entities from each of the files specified
into a folder called "Temp" immediately below each master group, creates a
project containing all combinations of the imported entities, analyses the
project writing any messages to the specifed message file and then deletes
contents of the "Temp" folders prior to exiting.
FCMD "/CropsFile=C:\Crop Data\Forest 342 crops.csv"
"/SitesFile=C:\Site Data\Hawkes Bay.csv"
190
© 2014 New Zealand Forest Research Institute Limited