ocssw
V2022
|
DtAlgorithm.cpp
an array had not been initialized Several spelling and grammar corrections were which is read from the appropriate MCF the above metadata values were hard coded A problem calculating the average background DN for SWIR bands when the moon is in the space view port was corrected The new algorithm used to calculate the average background DN for all reflective bands when the moon is in the space view port is now the same as the algorithm employed by the thermal bands For non SWIR changes in the averages are typically less than Also for non SWIR the black body DNs remain a backup in case the SV DNs are not available For SWIR the changes in computed averages were larger because the old which used the black body suffered from contamination by the micron leak As a consequence of the if SV DNs are not available for the SWIR the EV pixels will not be the granule time is used to identify the appropriate tables within the set given for one LUT the first two or last two tables respectively will be used for the interpolation If there is only one LUT in the set of it will be treated as a constant LUT The manner in which Earth View data is checked for saturation was changed Previously the raw Earth View DNs and Space View DNs were checked against the lookup table values contained in the table dn_sat The change made is to check the raw Earth and Space View DNs to be sure they are less than the maximum saturation value and to check the Space View subtracted Earth View dns against a set of values contained in the new lookup table dn_sat_ev The metadata configuration and ASSOCIATEDINSTRUMENTSHORTNAME from the MOD02HKM product The same metatdata with extensions and were removed from the MOD021KM and MOD02OBC products ASSOCIATEDSENSORSHORTNAME was set to MODIS in all products These changes are reflected in new File Specification which users may consult for exact the pow functions were eliminated in Emissive_Cal and Emissive bands replaced by more efficient code Other calculations throughout the code were also made more efficient Aside from a few round off there was no difference to the product The CPU time decreased by about for a day case and for a night case A minor bug in calculating the uncertainty index for emissive bands was corrected The frame index(0-based) was previously being used the frame number(1-based) should have been used. There were only a few minor changes to the uncertainty index(maximum of 1 digit). 3. Some inefficient arrays(Sigma_RVS_norm_sq) were eliminated and some code lines in Preprocess_L1A_Data were moved into Process_OBCEng_Emiss. There were no changes to the product. Required RAM was reduced by 20 MB. Now
Definition: DDataset.hpp:303
int read_gas_correction_lut(dtGasCorrectionLUT &gc_lut)
Definition: DtLutNetcdf.cpp:1699
int sort_index(int numPts, float array[], int index[])
Definition: DtAlgorithm.cpp:323
int sort_inplace(int numPts, float array1[], float array2[])
Definition: DtAlgorithm.cpp:350
int compute_scatter_angle(float &scat_angle)
Definition: DtAlgorithm.cpp:499
int set_byte(short val, short bitPos, short &target)
Definition: DtAlgorithm.cpp:435
int mean_std_weighted(int n, float *data, float &mean, float &sdev, float *weight)
Definition: DtAlgorithm.cpp:246
no change in intended resolving MODur00064 Corrected handling of bad ephemeris attitude data
Definition: HISTORY.txt:356
instead the metadata field ProcessingEnvinronment is filled in from the output of a call to the POSIX compliant function uname from within the L1B code A small bug in L1B_Tables an incorrect comparison of RVS coefficients for TEBs to RVS coefficients for RSBs was being made This was replaced with a comparison between TEB coefficients This error never resulted in an incorrect RVS correction but did lead to recalculating the coefficients for each detector in a thermal band even if the coefficients were the same for all detectors To reduce to overall size of the reflective LUT HDF fill values were eliminated from all LUTs previously dimensioned where and where NUM_TIMES is the number of time dependent table pieces In Preprocess a small error where the trailing dropped scan counter was incremented when the leading dropped scan counter should have been was fixed This counter is internal only and is not yet used for any chiefly to casting of were added to make it LINUX compatible Output of code run on LINUX machines displays differences of at most scaled sector incalculable values of the Emissive calibration factor b1
Definition: HISTORY.txt:576
int interp_extrap(int num, float xin, float x[], float y[], float &yout)
Definition: DtAlgorithm.cpp:284
virtual map< string, ddata * > process(vector< size_t > start, vector< size_t > count, map< string, ddata * > imap)
Definition: DtAlgorithm.cpp:103
real, dimension(:,:), allocatable scatter_angle
Definition: core_arrays.f90:109
virtual int initialize(map< string, ddata * > imap)
Definition: DtAlgorithm.cpp:76
int fit_line(float x[], float y[], float sig[], int ndata, float &A, float &B)
Definition: DtAlgorithm.cpp:379
int mean_std(int n, float *data, float &mean, float &sdev)
Definition: DtAlgorithm.cpp:212
bool compare_pair(pair< float, int > x, pair< float, int > y)
Definition: DtAlgorithm.cpp:318
Definition: DtLutNetcdf.h:177