IDA ICE Weather file utility
============================

The program 

  -  converts weather files to the format required
     by IDA Indoor Climate and Energy (ICE).

  -  creates file weather.idm in the target directory with
     descriptions of weather files. This file should be opened in ICE
     and contents should be transferred to the database.

  -  creates file weather.htm in the target directory with
     list of weather files.

IceWeather currently supports the following weather data formats:

  EC_TRY
    EC Test Reference Year
    (Report "TEST REFERENCE YEARS TRY" issued by the Commission of the European
    Communities in 1985)
  SOLMET_TMY
    NCC/SOLMET Typical Meteorological Year
    http://www.nrel.gov/docs/fy02osti/30152.pdf
  NREL_TMY2
    National Renewable Energy Laboratory TMY2
    http://www.nrel.gov/docs/fy02osti/30152.pdf
  SMHI_TY
    SMHI Typical Year (Swedish Meteorological and Hydrological Institute)
  ASHRAE_IWEC
    ASHRAE International Weather for Energy Calculations (IWEC)
    http://www.ashrae.org
  CIBSE_TAB
    CIBSE / Met.O Prime Site Weather Data
    This format is obsolete and replaced with CIBSE_TRY and CIBSE_DSY
  CSIRO_DAT
    Data format for Australian climatic data base
  DWD_TRY
    Deutscher Wetterdienst Testreferenzjahre (Test reference year)
    http://www.dwd.de/de/wir/Geschaeftsfelder/KlimaUmwelt/Leistungen/Statistiken/TRY
  CIBSE_TRY and CIBSE_DSY
    CIBSE/Met Office weather data files
    http://www.cibse.org
  EERE_EPW
    U.S. Departament of Energy, Energy Efficiency and Renewable Energy
    Weather data format designed for ESP-r and EnergyPlus
    http://www.eere.energy.gov/buildings/energyplus/cfm/weather_data.cfm
  ASHRAE_IWEC2
    ASHRAE International Weather for Energy Calculations (IWEC)
    http://www.ashrae.org

Usage:
  IceWeather script_file

See the example of a script file at the end of this file.

Here is a list of commands in the script file optional
parameters are enclosed in [...]:

# format [ext]

    Specify the format of source files

	Format      One of EC_TRY, SOLMET_TMY, NREL_TMY2, SMHI_TY,
               ASHRAE_IWEC, CIBSE_TAB, CSIRO_DAT, DWD_TRY,
               CIBSE_TRY, CIBSE_DSY, EERE_EPW, ASHRAE_IW2

	ext         The extension of source files (default TRY, TMY, TM2, DAT, 
               IWC, TAB, DAT, TXT, TRY, DSY, EPW, IW2 depending on format)


< source_directory

    Specifies the directory containing source files.


> target_directory  

    Specifies the directory for output files.


* country time_zone [flag]

    Specifies the regional settings.
    Not used (ignored) in EERE_EPW format.
    Optional for ASHRAE_IWEC format

	country     If the country name contain blank symbol, it should
               be enclozed in	double quotes (e.g., "El Salvador")
	time_zone   The value of Greenwich time at the local midnight
               (e.g. -1 or 23 for Central Europe; 8 for Pacific Time).
               Not used (ignored) in NREL_TMY2 and ASHRAE_IWEC formats.
	flag        1 means that the period of mesurement of solar radiation
                 is from time-30min to time+30min. 
               0 means that the interval is from time-60min to time.
               Used with EC_TRY format only. Default is 0.


  station file latitude longitude elevation [wind_height]

    Description of the processed weather file in EC_TRY, SOLMET_TMY,
    SMHI_TY, CIBSE_TAB, CSIRO_DAT, and DWD_TRY formats
    (the first position in the line should be blank).
	
	station		The name of the meteorological station. Should be
               enclosed in double quotes if contains blank character.

	file        The name of the source file (without path and extension).

	latitude    The geographical position (in degrees, with decimals).
	longitude	

	elevation	The height of the station over the sea level [m]

	wind_height	The height of wind mesurement (default 10m)

  file station [wind_height [comment]]

	Description of the processed weather file in NREL_TMY2, ASHRAE_IWEC
	CIBSE_TRY, CIBSE_DSY, and EERE_EPW format (the first position in the
   line should be blank).
   For ASHRAE_IWEC format, the station is optional.
	
	station     The name of the meteorological station. Should be
              	enclosed in double quotes if contains blank character.

   wind_height	The height of wind mesurement (default 10m)

	comment     Used as object description in .idm file.
	            Should not be used for processing EERE_EPW files and
               the original NREL_TMY2 or ASHRAE_IWEC weather files
               (to not overwrite the copyright note)

  file

	Description of the processed weather file in EERE_EPW format (the first
   position in the line should be blank).

Examples of a script file:

Example 1: EC_TRY format

# EC_TRY
< c:\climate\source\try\
> c:\program files\IDA\Climate\

* Belgium -1
  
   Oostende		 OST  51.20  -2.87   4
   Saint-Hubert	 SHU  50.03  -5.40 563
   "Uccle (Bruxelles)"	 UCL  50.80  -4.35 105
  
* Denmark -1
  
   "Vrlse (Copenhagen)"  COP  55.77  -12.32 19


Example 2: CIBSE_DSY format

# CIBSE_DSY
< c:\program files\ida\climate\cisbe\
> c:\program files\ida\climate\UK\

* UK 0

 "Cardiff_St_Athan"       Cardiff
 "Plymouth_Plymouth_w_c"  Plymouth

