Table of Contents

Zenith Sky Chart Coefficient Generation SOP for the Brewer Spectrometer

Introduction

The Brewer spectrophotometer utilizes two main methods for determining column ozone, direct sun (DS) and zenith sky (ZS). The DS measurements are processed using Beer’s Law however the ZS measurements are processed using an empirical parametric equation with 9 parameters. These parameters can be calculated using large data sets of near simultaneous DS and ZS measurements that were conducted over a wide range of ozone values and air mass factors. The nine parameters used in the equation describe the relationship between the total ozone column (TOC) and the ZS measured values. These relations include effects from the instrument and from the sky. By modeling the effects from the sky, it is possible to separate the two effects and then the effects from the instrument can be represented as a linear correction to the sky effect. This process is described in detail in Fioletov et al, 2011.

Method

Data Processing

To begin making the new zenith sky coefficients you must first create a test file directory and then a unique file in that directory for each brewer being analyzed. You can host the test file wherever is most convenient for you, ie /Desktop or /Documents. Populate the new brewer file with the following;

Open the ds2zs.cfg file in the test directory you created with notepad or another text editor. Edit the file with the following parameters:

zsfLatitudesAlbedo
&ITropics0.05
&IIMid Latitudes0.05
&IIIHigh Latitude0.05
&IVHigh Latitude0.80

Save the newly updated cfg file to the test directory and rename it ds2zsxxx.cfg.

Highlight and drag the newly created cfg file and drag it into the ds2zs.exe file.

The ds2zs.exe program will execute its routine and create two files in the test directory.

If the program does not run or create the two files above run the program in a command line. To do this type ‘cmd’ into the navigation bar in the ‘Test’ directory you created or navigate with a new command terminal. Once in the correct directory write ‘ds2zsxxx.cfg ds2zs.exe’ and the program will run in your command terminal. From here you can see why the program failed. In cases where it does not provide an explanation it is possible that the program did not create the two new files because there is not enough data for the coefficients.

Rename the ds2zs.zsf file to zsfJJJyy.xxx. Once this is done repeat for every brewer you wish to analyze in the respected folder.

Testing

Once a new zsf file is created it is important to make sure that the newly created coefficients and statistics for the ZS processing improves the results for ZS measurements. To do this the old zsf file and new zsf file must be compared in BFilePro or another data processing software. For this example we will be using BFilePro and Brewer #039.

Create a new directory in the file that houses BFilePro and add the following files:

Make sure that your data processing software is set up. In BFilePro make sure that the following options are selected in the 'Options' menu under the 'Calculations' window.

In the 'Instrument constants' window select ‘Add a new calibration’ and a new window will pop up. Set the calibration start date to the same day as the date in the ICF file. Eg ICF09623.xxx you would set the date to 096 Julian day (April 6th) 2023. Be aware that if it’s a leap year it will affect the Julian day/calendar date.
Link the correct files to the ‘Calibration Details’ window, these will be the same files that you transferred over during the beginning of the ‘Testing’ process. All the files should be assigned except the ‘Neutral filters’ which can be left blank. Once the files to use are selected, select the ‘OK’ button and it will return you to the previous window. There are two boxes highlighted below that need to be calculated. To do this you must go into the instruments ICF file and navigate to the bottom of the text file and take note of two numbers at line 61 and 62.

To calculate to value for the first box to the right of ‘SL’ take the number above the box being calculated, for this example it is 3180, and subtract it by the number found on line 61 of the ICF file, 1238 for this example, and fill in the box with the difference. For the second box to the right of ‘SL’ take the number above the box being calculated and subtract it by the number found on line 62 of the ICF file. Check the box ‘Save these options’ and press ‘OK’. Direct BFilePro to the directory that stores all the B-files for the instrument you are analyzing.


This will populate the window on the left-hand side of BFilePro with the available files for that instrument. Highlight b-files that will provide both ZS and DS measurements for your instrument and click ‘Process’ at the bottom of the panel. Take note of what date range you are analyzing, if there isn’t Ds and Zs data during this time, clear the graph and select a new time.

Select ‘New’ in plot results and toggle ‘Zs’ on and off to find a good couple days to compare data. Use a marquee select dragging left to right to zoom in on desired period and once this is found note the difference between the ‘Ds’ and ‘Zs’ measurements, how well does the data agree?



After taking note of the relationship, clear the graph by selecting the ‘Clear Graph’ button. You are now going to see how the Zs data changes in relation to the Ds data with the new zsf file you created in the ‘Data Processing’ section of this document.



Open the ‘Options’ menu from the top left-hand side of BFilePro. In the ‘Instrument constants’ section select ‘Edit this Calibration’ and change the pathway to the ZS file to the new zsf file you created in the previous step. Click ‘Ok’ to close the edit calibration window and ‘Ok’ and save changes in the ‘Options’ menu.

Re process the graph and look how the new zsf coefficients affect the relationship between the Ds and Zs data. Do the new zsf coefficients improve how well the Zs measurements relate to the Ds? If so that means the new zsf coefficients are an improvement and should be used going forward.