Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What's the format of your source weather file? If it's not one of the formats recognized by WeatherConverter you have to develop a *.def (definition) file that gives the format and variables of the source weather file.
For example, here's a sample *.def file that I use to convert from my *.FIN4 format to *.epw:

&location City='SAN-FRANCISCO-IAP' StateProv='' Country='USA' InWMO='724940' InLat=37.620 InLong=-122.365 InTime=-8.0 InElev=2 / &wthdata NumInHour=1 InputFileType='CUSTOM' InFormat='DELIMITED' DataElements=date,time,extraterrestrial_horizontal_radiation,extraterrestrial_direct_normal_radiation,global_horizontal_radiation,ignore,ignore,direct_normal_radiation,ignore,ignore,diffuse_horizontal_radiation,ignore,ignore,global_horizontal_illuminance,ignore,ignore,direct_normal_illuminance,ignore,ignore,diffuse_horizontal_illuminance,ignore,ignore,zenith_luminance,ignore,ignore,total_sky_cover,ignore,ignore,opaque_sky_cover,ignore,ignore,dry_bulb_temperature,ignore,ignore,dew_point_temperature,ignore,ignore,relative_humidity,ignore,ignore,atmospheric_pressure,ignore,ignore,wind_direction,ignore,ignore,wind_speed,ignore,ignore,visibility,ignore,ignore,ceiling_height,ignore,ignore,precipitable_water,ignore,ignore,aerosol_opt_depth,ignore,ignore,albedo,ignore,ignore,liq_precip_depth,liq_precip_rate,ignore,ignore DataUnits='mm/dd/yyyy','hh:mm','wh/m2','wh/m2','wh/m2',,,'wh/m2',,,'wh/m2',,,'lux',,,'lux',,,'lux',,,'cd/m2',,,'tenths',,,'tenths' ,,,'c',,,'c',,,'%',,,'Pa',,,'deg',,,'m/s',,,'m',,,'m',,,'cm',,,'x',,,'x',,,'mm','hour',,, DataConversionFactors=1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,100,1,1,1,1,1,1,1,1,.001,1,1,1,1,1,100,1,1,1,1,1,1,1,1,1,1 DataMissingValues=-9900,-9900,-9900,-9900,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,0,0,-9900,-9900,0,0 DelimiterChar=',' / &datacontrol NumRecordsToSkip=2 MaxNumRecordsToRead=8784 GenerateSolarRadiationWarnings='no' GenerateIlluminanceWarnings='no' / &miscdata Comments1='' Comments2='' SourceData='' /