Skip to content

Instantly share code, notes, and snippets.

@jmarrec
Created March 7, 2023 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmarrec/313839be74ae119347d9565db45bba39 to your computer and use it in GitHub Desktop.
Save jmarrec/313839be74ae119347d9565db45bba39 to your computer and use it in GitHub Desktop.
standard EPW format
&wthdata
NumInHour=1
InputFileType='CUSTOM'
InFormat='DELIMITED'
DataElements=year,month,day,hour,minute,datasource,Dry_Bulb_Temperature,Dew_Point_Temperature,Relative_Humidity,Atmospheric_Pressure,Extraterrestrial_Horizontal_Radiation,Extraterrestrial_Direct_Normal_Radiation,Horizontal_Infrared_Radiation_Intensity_from_Sky,Global_Horizontal_Radiation,Direct_Normal_Radiation,Diffuse_Horizontal_Radiation,Global_Horizontal_Illuminance,Direct_Normal_Illuminance,Diffuse_Horizontal_Illuminance,Zenith_Luminance,Wind_Direction,Wind_Speed,Total_Sky_Cover,Opaque_Sky_Cover,Visibility,Ceiling_Height,Present_Weather_Observation,Present_Weather_Codes,Precipitable_Water,Aerosol_Optical_Depth,Snow_Depth,Days_Since_Last_Snow,Albedo,Liquid_Precipitation_Depth,Liquid_Precipitation_Quantity
DataMissingValues=99999,99,99,99,99,,999,999,999,999999,9999,9999,9999,9999,9999,9999,999900,999900,999900,9999,999,999,99,99,9999,99999,9,999999999,999,0.999,999,99,999,999,99
DataUnits='x','x','x','x','x','x','C','C','%','Pa','Wh/m2','Wh/m2','Wh/m2','Wh/m2','Wh/m2','Wh/m2','lux','lux','lux','Cd/m2','deg','m/s','tenths','tenths','km','m','x','x','mm','{.001}','cm','x','{.01}','mm','hr'
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
DelimiterChar=','
/
&miscdata
Comments1='Standard EPW Custom def format'
SourceData='EPW'
/
&datacontrol
NumRecordsToSkip=8
MaxNumRecordsToRead=8784
MissingWindDirAction=RANDOM
/
! Other options on datacontrol:
! MissingDataAction
! MissingWindDirAction
! MissingWindDirValue
! MissingOpaqueSkyCoverAction
! MissingOpaqueSkyCoverValue
! MaxWindSpeed
! MaxDirectSolar
! MaxDiffuseSolar
! MaxIlluminanceValue
! GenerateSolarRadiationWarnings
! GenerateIlluminanceWarnings
! MinDBTempByMonth
! MaxDBTempByMonth
! MinDPTempByMonth
! MaxDPTempByMonth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment