zsf
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| zsf [2025/02/20 16:55] – reno | zsf [2026/02/10 16:36] (current) – andrew | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ==== Data Processing ==== | ==== Data Processing ==== | ||
| - | To begin making the new zenith sky coefficients | + | New zenith sky coefficients |
| - | * ds2zs.exe | + | |
| - | * ds2zs.cfg | + | |
| - | * ICF file for the Brewer being analyzed | + | |
| - | * Relevant B-files for the brewer being analyzed | + | |
| - | Open the ds2zs.cfg file in the test directory you created with notepad or another text editor. Edit the file with the following parameters: | + | |
| - | * files: change the b file naming to reflect the brewer being analyzed as displayed above | + | |
| - | * icf: enter the icf file to use in re-processing | + | |
| - | * zsf: refers to one of the following 4 models based on location. See below for the different types | + | |
| - | * dtime: maximum time difference between ZS and DS (default 10) | + | |
| - | * min mu: minimum air mass factor for DS/ZS pairs (default 1.2) | + | |
| - | * max mu: maximum air mass factor | + | |
| - | * max std: max DS/ZS ozone standard deviation within | + | |
| - | * 03 height above station (km): ozone layer height above the station (default 22km) | + | |
| - | * Rayleigh height (km): effective air height for Rayleigh calculations (default 5km) | + | |
| - | * Difference between 03ETC and SLR6: the difference between O3ETC and SLR6 at calibration. This number can be found in the brewer’s icf file near the bottom of the text file. Refer to figure 3. | + | |
| - | ^zsf^Latitudes^Albedo^ | + | You will have to merge the .dat files using the merge function under ‘tools’ drop-down menu in the matlab software. Select the files you wish to combine and press okay. Upload the file to be used for the calibration in the 'clean o3 data file' section of the 'Sky Calibration tab'. |
| - | |& | + | |
| - | |& | + | |
| - | |& | + | |
| - | |& | + | |
| - | Save the newly updated cfg file to the test directory and rename it ds2zsxxx.cfg.\\ | + | {{ :zsf-sky_calibration_window_1.png?600 |}} |
| - | \\ | + | |
| - | 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. | + | |
| - | * ds2zs.dat: file contains the ozone data that was used in the processing and reprocessed ZS data with the new calculated coefficients. | + | |
| - | * ds2zs.zsf: file contains the newly calculated coefficients and statistics for the ZS processing. This file is used by the operation Brewer software once it has been renamed. | + | |
| - | 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 | + | Select which instrument |
| - | ==== 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 | + | |
| - | Create a new directory in the file that houses BFilePro and add the following files: | + | {{ :zsf-albeto.png?600 |}} |
| - | * dcfJJJYY.xxx | + | |
| - | * dcfJJJYY.xxx.dwl | + | |
| - | * etcYYYY.xxx | + | |
| - | * ICFJJJYY.xxx | + | |
| - | * UVRJJJYY.xxx | + | |
| - | * zsfJJJYY.xxx | + | |
| - | Make sure that your data processing software is set up. In BFilePro make sure that the following | + | You then select the calculation parameters. Most of the preset |
| - | * Recalculate b-files | + | |
| - | * Calculate aerosol | + | |
| - | * Apply SL correction | + | |
| - | In the ' | + | |
| - | 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, | + | |
| - | \\ | + | |
| - | {{: | + | |
| - | \\ | + | |
| - | After taking note of the relationship, | + | |
| - | \\ | + | |
| - | {{: | + | |
| - | \\ | + | |
| - | 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 | + | |
| + | {{ : | ||
| + | Select 'Run ZSF fitting' | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | If the new ZSF improve the agreement between ZS and DS data by ~5% apply the new calibration to the instrument. | ||
zsf.1740070523.txt.gz · Last modified: 2025/02/20 16:55 by reno
