WSWUP / agweather-qaqc

Visualized QA/QC of weather station data
https://wswup.github.io/agweather-qaqc/
Apache License 2.0
19 stars 11 forks source link

Complete overhaul of entire script with functions #6

Closed cwdunkerly closed 5 years ago

cwdunkerly commented 5 years ago

This is a summary of the many, many changes I have made to the script:

  1. The script has been completely overhauled with functions to reduce the total number of lines of code and increase running speed.

  2. Now the script fills in missing temperature, humidity, solar radiation, and windspeed observations to finish correction with a full record of ETr/ETo calculations.

  3. Solar radiation is filled in with Thornton-Running solar radiation that has undergone a Monte Carlo simulation to optimize the coefficients of the TR equation to best match the actual solar data.

  4. Temperature correction has been changed from a user-defined bracket to a modified z-scores approach.

  5. The script now also generates histograms of several variables.

  6. Log file has been reorganized and now records additional information.

  7. Code for correction using parameters pulled directly from ini file has been removed while it is being rewritten.

  8. Config file has been slightly reorganized with some parameters renamed for clarity.