;***************************************************************************** ; NICST TOOL ; ; Readme file for RC5 Test Part 1. Gain switching verification. ; Version 2: updates to portability and output. ; Version 3: added low gain switch point. ; Version 4: added saturation code ; Version 5: added truncation of SV and OBC DN to 12 bit and divided delta radiance by rho_rta ;***************************************************************************** First place the LRV files in a directory such as ../Hot_plateau/28V/LRV/ and place the relavant .gse files in a directory such as ../Hot_plateau/28V/GSE/. Then dump the raw dn for 200 M band samples in a directory such as ../Hot_plateau/28V/. Also, required is the general_TEB.2.sav file, which contains general band info, and sav files for RVS, RSR, and general_coef_xxx.sav (xxx=F1 or F2). ;***************************************************************************** ; General procedure. ;***************************************************************************** 1) rc1_gain_dn_4.pro Calculates the gain switching point for high to low and low to high transitions. Finds the maximum high gain point per scan, then finds the maximum over scans, then finds the maximum over collects. This dn is converted to radiance and temperature, which is compared to the specification. The first low gain point at switch is also determined, and the average is found over scans and collects. This dn is converted to radiance and temperature, which is compared to the specification. Can use either SV or OBC as an offset. Input: an input file with a path to the raw data and a path for the output data. Output: ...dn.sav file containing transistion dn, L, and T. 2) rc1_sat_dn_4.pro Calculates the saturation point. Finds the maximum high gain point per scan, then finds the maximum over scans, then finds the maximum over collects. This dn is converted to radiance and temperature, which is compared to the specification. Can use either SV or OBC as an offset. Input: an input file with a path to the raw data and a path for the output data. Output: ...dn.sav file containing saturation dn, L, and T. ;************Misc********* Subroutines: read_dmpd_bin.pro sig_mean.pro legend.pro set_legend.pro set_multicolor.pro Files that produce .sav files used here: general_data.2.pro Input file: Input.txt