Weather File (Datahub Entry)¶
Reference documentation for Weather File entries in EnergyAtlas Datahub.
Overview¶
Weather File entries store weather data used for energy simulations. EnergyAtlas supports standard weather file formats including EPW (EnergyPlus Weather) and TMY3 (Typical Meteorological Year 3).
Object Structure¶
Properties¶
id (string, required) - Unique identifier for the weather file entry - Format: UUID or custom identifier
type (string, required) - Entry type, must be "weather_file" - Value: "weather_file"
name (string, required) - Human-readable name - Example: "New York City TMY3"
description (string, optional) - Description of the weather file - Example: "Typical Meteorological Year 3 data for NYC"
file_path (string, required) - Path to weather file - Can be local file or URL
file_format (string, required) - Weather file format - Values: "EPW", "TMY3", "CSV"
location (object, required) - Geographic location of weather station - See location structure below
period (object, required) - Time period covered by weather data - See period structure below
metadata (object, optional) - Additional metadata - Station ID, elevation, source, etc.
created_at (datetime, required) - Creation timestamp
updated_at (datetime, required) - Last update timestamp
Location Structure¶
1 2 3 4 5 6 7 8 9 | |
Period Structure¶
1 2 3 4 5 6 | |
Example Entry¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |
Supported Formats¶
EPW Format¶
Extension: .epw
Source: EnergyPlus weather files
Structure: Comma-separated values with header
Required Data: - Dry bulb temperature - Dew point temperature - Relative humidity - Atmospheric pressure - Extraterrestrial horizontal radiation - Extraterrestrial direct normal radiation - Horizontal infrared radiation - Global horizontal radiation - Direct normal radiation - Diffuse horizontal radiation - Wind direction - Wind speed - Sky cover
TMY3 Format¶
Extension: .tmy3 or .csv
Source: NREL Typical Meteorological Year 3
Structure: CSV format
Characteristics: - Representative year data - Selected from 30-year period - Typical conditions, not actual year
CSV Format¶
Extension: .csv
Custom format: User-defined structure
Required Columns: - Timestamp or date/time - Temperature data - Solar radiation data - Wind data
Operations¶
Create Entry¶
1 2 3 4 5 6 7 8 9 | |
Get Entry¶
1 | |
Update Entry¶
1 2 3 4 5 | |
Delete Entry¶
1 | |
Validate File¶
1 | |
Usage Examples¶
Adding Weather File from Library¶
- Navigate to Datahub
- Select datahub
- Click "Add Entry"
- Choose "Weather File"
- Select "From Library"
- Search for location
- Select weather file
- Save entry
Uploading Custom Weather File¶
- Navigate to Datahub
- Select datahub
- Click "Add Entry"
- Choose "Weather File"
- Select "Upload File"
- Choose file (EPW or TMY3)
- Enter location information
- Save entry
Linking Weather to Project¶
- Navigate to Project Settings
- Select "Weather Data"
- Choose weather file from datahub
- Link to project
- Verify weather data covers project area
Weather Data Sources¶
NREL¶
Source: National Renewable Energy Laboratory Format: EPW, TMY3 Coverage: United States and international URL: https://www.nrel.gov/grid/solar-resource/renewable-resource-data.html
EnergyPlus¶
Source: EnergyPlus weather data Format: EPW Coverage: Worldwide URL: https://energyplus.net/weather
Custom Sources¶
- Local weather stations
- Custom measurements
- Climate model outputs
Best Practices¶
- Match location: Use weather data from nearby station
- Verify format: Ensure file format is supported
- Check period: Verify data covers simulation period
- Validate data: Check for missing or invalid values
- Document source: Record weather data source
Validation¶
File Validation¶
- Format check: Verify file format matches specification
- Data completeness: Check for missing data points
- Value ranges: Validate data within reasonable ranges
- Time continuity: Verify time series is continuous
Location Validation¶
- Coordinate check: Verify latitude/longitude are valid
- Elevation: Check elevation is reasonable
- Timezone: Verify timezone matches location
Common Issues¶
Issue: File Format Not Recognized¶
Solutions: - Verify file extension - Check file format matches specification - Convert to supported format if needed
Issue: Missing Data Points¶
Solutions: - Check file completeness - Use interpolation if acceptable - Find alternative weather file
Issue: Location Mismatch¶
Solutions: - Verify weather station location - Use nearest available station - Consider distance impact on accuracy
Related Objects¶
- Datahub - Parent datahub object
- Geospatial Data - Location data
References¶
- Weather Library - Available weather files
- Running and Calibrating Workflow - Using weather data