smhi2epw

Getting started

  • Installation and setup
    • Requirements
    • Create a virtual environment
    • Install for normal use
    • Install from a source checkout
    • Verify the environment
  • Quick start
    • Coordinates and stations
    • Read the result
  • Command-line interface
    • Useful controls
    • Batch generation and morphing
  • Python workflow
    • Configuration
    • Interpreting diagnostics
  • Batch AMYs and future climate scenarios
    • Install and prerequisites
    • Recreate the tested setup
    • Python workflow
    • CLI batch configuration
    • Outputs and interpretation
    • Development scope and verification
  • EnergyPlus application and release validation
    • Engine installation
    • Running the lesson
    • Required CI and publication gate
    • Observed warning case
  • Numbered tutorials
    • 00 — Getting started: build your first weather file
      • Installation check
      • Assemble the request
      • Key takeaways and exercises
    • 01 — Inspect an EPW
      • Headers and provenance
      • Read the reconstruction receipt
      • Why are several columns 100% missing?
      • Build interval-start timestamps
      • Key takeaways and exercise
    • 02 — Compare locations fairly
      • Comparable metrics
      • Key takeaways and exercise
    • 03 — Compare actual years
      • Normalize before comparing
      • Key takeaways and exercise
    • 04 — Identify heat waves
      • Key takeaways, cautions, and exercises
    • 05 — Compare an AMY with a TMY
      • Key takeaways and exercise
    • 06 — Data quality and gap filling
      • The temporal reconstruction ceiling
      • Key takeaways and exercise
    • 07 — Solar components and energy closure
      • A low-sun STRÅNG model sample
        • Key takeaways and exercise
    • 08 — Reproducible batch generation
      • Read the saved completeness runs without network access
      • Read the corrected-source sensitivity check offline
      • Safe batch practices
      • Key takeaways and exercise
    • 09 — Run an AMY in EnergyPlus
      • Install the pinned engine once
      • Review weather provenance before simulating
      • Run the shared single-zone model
      • Inspect the response
      • Key takeaways and exercise
    • 10 — Plan AMYs and future climate weather
      • Inspect a planned baseline
      • Add climate scenario selections
      • Execute after supplying the prerequisites
      • Try it
      • Key takeaways

Concepts and methods

  • Pipeline and scientific methods
    • Data flow
    • Gap reconstruction
    • Solar radiation
    • Longwave and cloud cover
    • EPW time and output safety
  • Scientific and operational limitations
  • Data provenance and acknowledgment
    • Meteorological observations
    • Solar radiation
    • Reanalysis fallback
    • Reproducibility
    • Target elevation and derived pressure
  • Missing-weather recovery and audit trail
    • Policy and defaults
    • Nearby-observation assessment
    • ERA5 recovery and physical consistency
    • Usage
    • Diagnostics and reproducibility
    • Service access and limitations
    • Historical replay evidence
    • Current national completion run
    • Corrected-source sensitivity check, 6 October 2026
  • Troubleshooting
    • No module named smhi2epw
    • No qualifying station
    • Required gap exceeds 48 hours
    • Reanalysis unavailable or quota exceeded
    • EPW exists but provenance writing failed
    • Fractional UTC offset rejected
    • Stale or malformed cache
    • TMY comparison cannot download or find a file
  • Bibliography and source documentation

Reference

  • Public API reference
    • Public API
    • Compiler
      • EPWConfig
        • EPWConfig.year
        • EPWConfig.output_path
        • EPWConfig.station_id
        • EPWConfig.utc_offset
        • EPWConfig.cache_dir
        • EPWConfig.max_workers
        • EPWConfig.refresh
        • EPWConfig.cache_ttl
        • EPWConfig.radiation_station_id
        • EPWConfig.radiation_station_auto
        • EPWConfig.target_elevation_m
        • EPWConfig.radiation_station_max_distance_km
        • EPWConfig.provenance_path
        • EPWConfig.metobs_gap_fallback
        • EPWConfig.gap_fallback_max_distance_km
        • EPWConfig.gap_fallback_max_stations
        • EPWConfig.weather_policy
      • CompileResult
        • CompileResult.output_path
        • CompileResult.rows
        • CompileResult.station
        • CompileResult.interpolated_fraction
        • CompileResult.coordinate_distance_km
        • CompileResult.report
        • CompileResult.radiation_station_id
        • CompileResult.radiation_station_distance_km
      • compile_epw()
    • Reader
      • read_epw()
      • EPW_COLUMNS
    • Weather batches and morphing
      • WeatherLocation
        • WeatherLocation.summary()
      • plan_amy_batch()
      • compile_amy_batch()
      • BatchResult
        • BatchResult.amy_results
        • BatchResult.morph_results
        • BatchResult.manifest_path
        • BatchResult.summary()
      • MorphConfig
        • MorphConfig.summary()
      • morph_epw()
      • MorphResult
        • MorphResult.scenario
        • MorphResult.period
        • MorphResult.summary()
      • MorphingError
    • Station and diagnostics
      • StationMeta
        • StationMeta.station_id
        • StationMeta.name
        • StationMeta.elevation
        • StationMeta.wmo_id
        • StationMeta.distance_km()
      • ProcessingReport
        • ProcessingReport.interpolated_fraction
        • ProcessingReport.total_interpolated_fraction
        • ProcessingReport.clamped_dni_hours
        • ProcessingReport.energy_balance_max_residual
        • ProcessingReport.missing_columns
        • ProcessingReport.cloud_available
        • ProcessingReport.solar_source
        • ProcessingReport.max_gap_hours
        • ProcessingReport.bounded_filled_hours
        • ProcessingReport.cross_station_filled_hours
        • ProcessingReport.required_reconstructed_fraction
        • ProcessingReport.warnings
        • ProcessingReport.reanalysis_filled_hours
        • ProcessingReport.reanalysis_metadata
        • ProcessingReport.source_fractions
        • ProcessingReport.weather_classification
    • Exceptions
      • Smhi2EpwError
      • IngestionError
      • DataGapError
      • ValidationError
  • Contributor internals
    • Ingestion
    • Processing
    • Observation recovery and provenance
    • Solar geometry
    • Export
    • Reader and constants
    • CLI
smhi2epw
  • Overview: module code

All modules for which code is available

  • smhi2epw.automatic
  • smhi2epw.batch
  • smhi2epw.cli
  • smhi2epw.compiler
  • smhi2epw.errors
  • smhi2epw.export
  • smhi2epw.gap_recovery
  • smhi2epw.ingestion
  • smhi2epw.morphing
  • smhi2epw.processing
  • smhi2epw.provenance
  • smhi2epw.reader
  • smhi2epw.reanalysis
  • smhi2epw.solar

© Copyright .

Built with Sphinx using a theme provided by Read the Docs.