Weather xls to TMY2
The program converts measured data comprising of temperature, RH, GHI, DHI, DNI, wind speed and wind direction into TMY2 format. The TMY2 fields comprising of Illuminance components, atmospheric pressure, precipitable water and broad-band aerosol optical depth are modeled based on tested models available in open literature. Their references are provided in the m-file.
The zip file contains:
1. converter m-file
2. sample data excel files present in yearly and monthly folder
3. TMY2 output from the m-file for the yearly data
Details about TMY2 format can be found at:
http://rredc.nrel.gov/solar/pubs/tmy2/tmy2_index.html
The TMY2 data generated by the m-file can then be converted into .epw and .csv using energy plus weather utility and then to .bin using eQuest weather processor available at http://doe2.com/index_wth.html.
I have tried to comment the m-file so that the user can understand and be able modify it.
Cite As
Muhammad Tauha Ali (2024). Weather xls to TMY2 (https://www.mathworks.com/matlabcentral/fileexchange/35168-weather-xls-to-tmy2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Spreadsheets >
- Sciences > Geoscience > Weather and Atmospheric Science >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.