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

Conversion from .dat to .epw fails with WeatherConverter

asked 2018-04-11 12:45:17 -0500

KLL gravatar image

updated 2018-04-12 08:36:52 -0500

Hi,

when I try to convert a .dat file to epw with WeatherConverter, it says "Errors occured while processing" and returns a .stat-file and a .audit-file. The stat doesnt seem to workn the audit-file says:

-EnergyPlus Weather Converter V8.1.0.005 -Input File Type=DAT, with FileName=C:\Users\ga49nez\Downloads\TRY2015_41135002387500_Jahr.dat -Out of Range Data items will be corrected. Error ( 64 { 40}) [Input conversion error] found while Reading Samson file=c:\users\ga49nez\downloads\try2015_41135002387500_jahr.dat Severe ** Error during reading header "Koordinatensystem : Lambert konform konisch" " aaaaa aaaaaaaaaaaaaaaaaaaaaa aa ddd add dd a ddd dd dddd" (1X,A5,1X,A22,1X,A2,1X,I3,2X,A1,I2,1X,I2,2X,A1,I3,1X,I2,2X,I4)

Am I missing something? Thanks for your help!

Kai

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-04-11 19:49:57 -0500

Joe Huang gravatar image

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='' /

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 



Question Tools

1 follower

Stats

Asked: 2018-04-11 12:45:17 -0500

Seen: 44 times

Last updated: Apr 11