ocssw
V2022
|
l1agen_viirs.h
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
int scan_complete(uint8_t(*pbuffer)[PBUFFER_SIZE], int32_t npkts)
Definition: l1agen_viirs.cpp:2398
long szip_uncompress_memory(int new_options_mask, int new_bits_per_pixel, int new_pixels_per_block, int new_pixels_per_scanline, const char *in, long in_bytes, void *out, long out_pixels)
PGSt_SMF_status write_eng_data(EN_VDATA_TYPE_t *eng_data)
Definition: write_eng_data.c:10
int read_packet(fstream *vfileStream, uint8_t *packet, int32_t *len, int32_t *apid, int32_t *endfile)
Definition: l1agen_viirs.cpp:2346
*********************************************HISTORY FILE for MOD_PR02AQUA **Version ****Point of no algorithm change is made in this so the and when the blackbody temperature is above a threshold Since the LWIR FPA temperature oscillates on orbit
Definition: HISTORY.txt:106
no change in intended resolving MODur00064 Corrected handling of bad ephemeris attitude resolving resolving GSFcd00179 Corrected handling of fill values for[Sensor|Solar][Zenith|Azimuth] resolving MODxl01751 Changed to validate LUT version against a value retrieved from the resolving MODxl02056 Changed to calculate Solar Diffuser angles without adjustment for estimated post launch changes in the MODIS orientation relative to incidentally resolving defects MODxl01766 Also resolves MODxl01947 Changed to ignore fill values in SCI_ABNORM and SCI_STATE rather than treating them as resolving MODxl01780 Changed to use spacecraft ancillary data to recognise when the mirror encoder data is being set by side A or side B and to change calculations accordingly This removes the need for seperate LUTs for Side A and Side B data it makes the new LUTs incompatible with older versions of the and vice versa Also resolves MODxl01685 A more robust GRing algorithm is being which will create a non default GRing anytime there s even a single geolocated pixel in a granule Removed obsolete messages from seed as required for compatibility with version of the SDP toolkit Corrected test output file names to end in out
Definition: HISTORY.txt:422
MOD_PR01 Production producing one five minute granule of output data in each run It can be configured to produce as many as three five minute granules per run Each execution with one construction record and one date file for each dataset In normal these are created by which splits them out of the hour datasets For LANCE they are created by which merges all session MODIS L0 datasets overlapping the requested time and extracts from the merged data those packets which fall within that time period Each scan of data is stored in the L1A granule that covers the start time of that scan
Definition: MOD_PR01_pr.txt:19
README for MOD_PR02AQUA(AQUA) Version to set to For disabling creating and output data sets when in night mode
Definition: README.txt:96
int unpack_viirs_scan(int32_t npkts, uint8_t(*pbuffer)[PBUFFER_SIZE], uint16_t(*mbands)[16][6304], uint16_t(*ibands)[32][6400], uint16_t(*dnb)[16][4064], uint8_t(*mqfl)[16], uint8_t(*iqfl)[32], uint8_t(*dqfl)[16], uint8_t(*hrmet)[146])
Definition: l1agen_viirs.cpp:1526
int usds(int argc, char *argv[], int32_t inBytes, uint8_t *encryptData, uint16_t *decryptData)
int ccsds_to_yds(uint8_t *cctime, int32_t *iyear, int32_t *iday, double *sec)
Definition: ccsds_to_yds.c:5
int createNCDF(int ncid, const char *sname, const char *lname, const char *standard_name, const char *units, void *fill_value, const char *flag_values, const char *flag_meanings, double low, double high, int nt, int rank, int *dimids)
Definition: l1aFile.cpp:2137
PGSt_SMF_status write_scan_metadata(MODFILE *L1A_file_ptr, MD_SCAN_MET_t *scan_meta)
Definition: write_scan_metadata.c:8
int extract_adcs_bus(int adoffsets[4], int32_t nadc, uint8_t *astore[], int32_t nbus, uint8_t *bstore[], int32_t *iyr, int32_t *iday, double *adctime, double *bustime, uint8_t *adstate, uint8_t *admandone, int16_t *adfftid, uint8_t *adsolution, string &platform, uint16_t ngps, uint8_t *gstore[], double *gpstime)
Definition: l1agen_viirs.cpp:1295
int unpack_sci(uint8_t *idat, int32_t nsamp, int16_t *scan, uint8_t *qfl)
Definition: l1agen_viirs.cpp:2015
Definition: l1agen_hawkeye.h:5
int yds2tai(int16_t iyr, int16_t idy, double sec, double *tai93)
int parseDims(int ncid, int ndims, string dimString, int *numDims, int *dimid, int *varDims)
Definition: hawkeyeUtil.cpp:339
int unpack_viirs_cal(int32_t npkts, uint8_t(*pbuffer)[PBUFFER_SIZE], int16_t(*sdm)[16][48], int16_t(*svm)[16][48], int16_t(*bbm)[16][48], int16_t(*sdi)[32][96], int16_t(*svi)[32][96], int16_t(*bbi)[32][96], int16_t(*sdd)[64], int16_t(*svd)[64], int16_t(*bbd)[64], uint8_t *calmet)
Definition: l1agen_viirs.cpp:1839
Extra metadata that will be written to the HDF4 file l2prod rank
Definition: HOWTO_Add_a_product.txt:80
int read_viirs_scan_packets(fstream *vfileStream, uint8_t *epacket, uint8_t(*pbuffer)[PBUFFER_SIZE], int32_t *npkts, int32_t *endfile)
Definition: l1agen_viirs.cpp:1372
int unpack_cal_sci(uint8_t *idat, int32_t nsamps, int32_t ndet, int16_t *sp, int16_t *bl, int16_t *sd)
Definition: l1agen_viirs.cpp:2157
int convert_diary(int32_t npkts, uint8_t(*dstore)[71], int32_t *iyr, int32_t *iday, double *otime, float(*orb)[6], double *atime, float(*quat)[4])
Definition: l1agen_viirs.cpp:1230
These two strings are used for the product XML output If product_id is not set then prefix is used If the last char of the name_prefix is _ then it is removed If algorithm_id is not set then name_suffix is used If the first char is _ then it is removed l2prod standard_name[0]
Definition: HOWTO_Add_a_product.txt:109