{ "cells": [ { "cell_type": "markdown", "id": "dcfb6075", "metadata": {}, "source": [ "## 2023-06 S2VSR\n", "The PyrNet for [Small Scale Variability of Solar Radiation (S2VSR)](https://www.arm.gov/research/campaigns/sgp2023s2vsr) was set up for calibration on the ARM-SGP guest instrument facility (**GIF**) for calibration from 2023-06-02 to 2023-06-08. Here, the PyrNet data is calibrated with the absolute calibration from the same period ([S2VSR absolute calibration](#sec-calibration-s2vsr)). As the PyrNet pyranometer are known for major directional sensibility, a correction function depending on solar zenith angle is fitted against the ARM-SGP reference measurements. \n", "\n", "\n", "### Imports" ] }, { "cell_type": "code", "execution_count": 1, "id": "a2b7e73c", "metadata": { "ExecuteTime": { "end_time": "2024-02-13T11:42:13.914156700Z", "start_time": "2024-02-13T11:42:12.922500500Z" } }, "outputs": [], "source": [ "from IPython.display import display, Latex\n", "import numpy as np\n", "import matplotlib.pyplot as plt \n", "import xarray as xr\n", "import scipy" ] }, { "cell_type": "markdown", "id": "a12f2202", "metadata": {}, "source": [ "### Load data\n", "The one minute ARM-SGP global horizontal downward irradiance (GHI) and PyrNet GHI for the reference period were loaded. The two datasets were then filtered so that only clearsky times remain. Clarsky times are by definition whole minutes in which more than 70% of all PyrNet stations, have a clearsky flag that is TRUE according to the clearsky detection algorithm by [Reno and Hansen (2016)](https://doi.org/10.1016/j.renene.2015.12.031). After that step the PyrNet GHI data was averaged over all stations. The ARM-SGP data remained unchanged. These two GHI datasets were then reordered according to the respective solar zenith angle for angles between 10 and 90 degree and averaged over 0.1 degree wide bins. Pyr_ghi then contains the GHI values from the pyranometer measurements and ARM_data the ARM-SGP GHI data with respect to the solar zenith angle bins." ] }, { "cell_type": "code", "execution_count": 2, "id": "9b15de6d", "metadata": { "ExecuteTime": { "end_time": "2024-02-13T11:42:14.165728300Z", "start_time": "2024-02-13T11:42:13.917148900Z" } }, "outputs": [ { "data": { "text/html": [ "
<xarray.Dataset>\n",
"Dimensions: (szen: 801)\n",
"Coordinates:\n",
" * szen (szen) float32 10.0 10.1 10.2 10.3 10.4 ... 89.7 89.8 89.9 90.0\n",
"Data variables:\n",
" ghi (szen) float64 ...<xarray.Dataset>\n",
"Dimensions: (szen: 801)\n",
"Coordinates:\n",
" * szen (szen) float32 10.0 10.1 10.2 10.3 10.4 ... 89.7 89.8 89.9 90.0\n",
"Data variables:\n",
" ghi (szen) float64 ...