Import action

These parameters are valid for /action:import

Name

Description

Valid values

Default value

/importtype

This switch controls which series the system will try to import to.

Forecast = all weatherforecasts,
Load = all loaddata
Observation = all wetherobservations (and dayahead forecasts for importprotocol WeatherApi) 
Protocoltype = all using protocol given by /importprotocol Protocolname = all using protocol definition named by /importprotocolname

Dayahead = all dayahead weather data (and observations for importprotocol WeatherApi)

Forecast

/importprotocol

What import protocol to use. Must be specified!

SQL, DMI, Edifact, g2f, IMO, SMHI,  stdText, svef24, svefxx, UtilTS, DG10s, Undefined, QZWC, WeatherApi

 

SQL

/importprotocolname

Specifies the use of a specific import definition. Used only if /Importtype is ’Protocolname’ 

Any name of a defined load import protocol. This mode implies import of load-data

<none>

/importextension

Specifies an additional file type when importing. If the importextension differs from the extension for the series data file, the program will attempt to import also to files with the the type specified by the importextension. Available for QZ,QZWC and the Web_API imports.

aio2, aio6, aio7, aio12, fc2, fc6, fc7, fc12

Empty string

/compareextract

Specifies the extract used when retrieving the saved forecasts that the forecasts sent for export should be compared against and tested for tolerance limits. If the limits are exceeded, a warning or error message will be written to the status log depending on the block level (see below). If omitted, no comparison is made.

Valid extract name

<none>

/compareexisting

If set to true, the program compares the new values with already imported values and tested for tolerance limits. If the limits are exceeded, a warning or error message will be written to the status log depending on the block warnings settings (see below)

Boolean

false

/blockwarnings

The program will block the import for series that have any of the warning types listed to it and an error message will be written to the status log. The ‘compareextract’ and ‘compareexisting’ options refer to warnings after comparing the import values to previous imported or forecasted values. The ’Min’ option blocks the import if the data contains values that are lower than the minimum value set for the series and the ’Max’ option  blocks the import if the data contains values that are higher than the maximum value set for the series.

List of valid warning types separated by  ’@’

Valid types are:

compareextract

compareexisting

Min

Max

 

Empty List

/filterwarnings

The program does not import values that triggers any of the warning types listed to it. The ‘compareextract’ and ‘compareexisting’ options refer to warnings after comparing the import values to previous imported or forecasted values. The ’Min’ option does not import values that are lower than the minimum value set for the series and the ’Max’ option  does not import values that are higher than the maximum value set for the series.

The import tolerances are specified in a reference field for the forecast series

Applicable tolerances are in position 11 (Absolute error in MWh) and 12 (Relative Absolute error in %)

Example for AE =10 and AE_Perc =5:

@Importtolerances@@@@@@@@@@@10@5

List of valid warning types separated by  ’@’

Valid types are:

compareextract

compareexisting

Min

Max

 

Empty List

/importperiod

The period to import for, used by MarketData and WeatherAPI observations. Can be written as days back from now, ex) -5 or -256, or as two dates (yyyyMMdd HH:mm), ex) 20200901 00:00@20201001 00:00

Either integer less than zero, or two string dates with @ separating them.

 

 

 

 

<none>

/suffix

The name of the source to fetch data for. Used by WeatherAPI

string

<none>

/template

The template to fetch data for, can by any template in Aiolos

string

<none>

/checklatest

Determines if last fetch should be checked before fetching, so it doesn’t fetch too often

boolean

true

/importstations

Determines which specific stations, using the ID from the weather database, that should be fetched for.

List of integer, separated by (,)

Ex) 1000,1002,1004

<none>

/importbazefieldserver

The server address for the Bazefield import. If not set, then uses values from config settings.

string

<none>

/importbazefieldkey

The API key for the Bazefield import. If not set, then uses values from config settings.

string

<none>

/importgreenbyteserver

The server address for the Greenbyte import. If not set, then uses values from config settings.

string

<none>

/importgreenbytekey

The API key for the Greenbyte import. If not set, then uses values from config settings.

string

<none>