Git Product home page Git Product logo

agweather-qaqc's Introduction

DOI

agweather-qaqc (Weather Data QAQC Script)

agweather-qaqc provides a flexible workflow for the visualization, review, and QAQC of daily weather data. This script is intended to be used as an early step in any analysis that might use daily sources of agricultural weather data, particularly for projects with an interest in reference evapotranspiration (ET) data, or where observational data are considered to be 'truth' when evaluating model predictions. agweather-qaqc is command-line interface driven, and provides reminders, prompts, and recommendations to assist users who may not be overly proficient with Python.

Functionalities include:

  • Importing data without having to convert it to a standardized format, with unit conversions based on a user-specified configuration file.
  • Converting multiple input formats from separate sources or networks into a single, uniform format for easier downstream analysis.
  • Visualizing data before and after processing with interactive plots, as daily time series and as mean monthly averages.
  • Filtering and removal of data, both manually and automatically, with statistics-based approaches to identify and correct issues such as sensor miscalibration.
  • Calculation of theoretical clear-sky solar radiation and Thornton-Running solar radiation.
  • Calculation of grass and alfalfa reference ET according to the American Society of Civil Engineers Standardized reference evapotranspiration equation via the RefET library.
  • Evaluating station aridity through the visualization of both relative humidity and dew point depression plots.
  • Optional gap-filling of data using station climatologies, empirical approaches (e.g. Thornton-Running solar), or random sampling.

Documentation

Github Page

Installation

  1. Clone the repository:

    git clone https://github.com/WSWUP/agweather-qaqc
    
  2. Navigate the command line/terminal into the repository root directory:

    cd path/to/agweather-qaqc
    
  3. Setting up and activating the environment can be done one of three ways:

    • Conda Environment:
      conda env create -f environment.yml
      
      conda activate agweatherqaqc
      
    • Pipenv Environment:
      pipenv install -r requirements.txt
      
      pipenv shell
      
    • PDM Environment:
      pdm install
      
      pdm shell
      
  4. Run the script via the file qaqc_single_station.py

    python qaqc_single_station.py <OPTIONAL ARGUMENTS>
    

See the documentation for more information.

agweather-qaqc's People

Contributors

cwdunkerly avatar dlebauer avatar dostuffthatmatters avatar amorway avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.