ocssw
V2022
|
hawkeye_methods.cpp
Go to the documentation of this file.
41 int orb_to_latlon(size_t ix_swt_ini,size_t ix_swt_end,size_t num_gridlines, int nbinx, double *orb_time_tot,
84 orb_interp2(number_orecords_corr, num_gridlines, orb_time_tot2, pos2, vel2, tmgv1, posgrid, velgrid);
100 orb_interp2(number_orecords_corr, num_gridlines, orb_time_tot2, pos2, vel2, tmgvf, posgrid2, velgrid2);
205 if(oneheight==BAD_FLT) cout<<"WARNING: oneheight is a fillvalue"<<oneheight<<"demfile "<<"ybin# "<<i+1<<"xbin# "<<j+1<<endl;
240 int orb_interp2(size_t n_orb_rec, size_t sdim, double *torb, orb_array2 *p, orb_array2 *v, double *time,
276 int orb_interp(size_t n_orb_rec, size_t sdim, double *torb, orb_array *p, orb_array *v, double *time,
420 cos(dpsi / RADEG) * cos(eps / RADEG) * cos(epsm / RADEG) + sin(eps / RADEG) * sin(epsm / RADEG);
422 cos(dpsi / RADEG) * cos(eps / RADEG) * sin(epsm / RADEG) - sin(eps / RADEG) * cos(epsm / RADEG);
425 cos(dpsi / RADEG) * sin(eps / RADEG) * cos(epsm / RADEG) - cos(eps / RADEG) * sin(epsm / RADEG);
427 cos(dpsi / RADEG) * sin(eps / RADEG) * sin(epsm / RADEG) + cos(eps / RADEG) * cos(epsm / RADEG);
461 int nutate(double t, double xls, double gs, double xlm, double omega, double &dpsi, double &eps,
int j2000_to_mod(int32_t iyr, int32_t idy, double sec, double j2mod[3][3])
Definition: hawkeye_methods.cpp:369
int orb_interp2(size_t n_orb_rec, size_t sdim, double *torb, orb_array2 *p, orb_array2 *v, double *time, orb_array2 *posi, orb_array2 *veli)
Definition: hawkeye_methods.cpp:240
int ephparms(double t, double &xls, double &gs, double &xlm, double &omega)
Definition: hawkeye_methods.cpp:432
int32_t jday(int16_t i, int16_t j, int16_t k)
Converts a calendar date to the corresponding Julian day starting at noon on the calendar date....
Definition: jday.c:14
void cross_product_double2(double vector_a[], double vector_b[], double temp[])
Definition: hawkeye_methods.cpp:25
int nutate(double t, double xls, double gs, double xlm, double omega, double &dpsi, double &eps, double &epsm)
Definition: hawkeye_methods.cpp:461
int j2000_to_ecr(int32_t iyr, int32_t idy, double sec, double ecmat[3][3])
Definition: hawkeye_methods.cpp:312
double cross_product_norm_double2(double vector_a[], double vector_b[])
Definition: hawkeye_methods.cpp:31
int orb_interp(size_t n_orb_rec, size_t sdim, double *torb, orb_array *p, orb_array *v, double *time, orb_array *posi, orb_array *veli)
Definition: hawkeye_methods.cpp:276
Utility functions for allocating and freeing two-dimensional arrays of various types.
void parse_file_name(const char *inpath, char *outpath)
Definition: parse_file_name.c:23
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 the required RAM for each execution is MB on the DEC ALPHA and MB on the SGI Octane v2
Definition: HISTORY.txt:728
this program makes no use of any feature of the SDP Toolkit that could generate such a then geolocation is calculated at that and then aggregated up to Resolved feature request Bug by adding three new int8 SDSs for each high resolution offsets between the high resolution geolocation and a bi linear interpolation extrapolation of the positions This can be used to reconstruct the high resolution geolocation Resolved Bug by delaying cumulation of gflags until after validation of derived products Resolved Bug by setting Latitude and Longitude to the correct fill resolving to support Near Real Time because they may be unnecessary if use of entrained ephemeris and attitude data is turned resolving bug report Corrected to filter out Aqua attitude records with missing status helping resolve bug MOD_PR03 will still correctly write scan and pixel data that does not depend upon the start time
Definition: HISTORY.txt:248
int orb_to_latlon(size_t ix_swt_ini, size_t ix_swt_end, size_t num_gridlines, int nbinx, double *orb_time_tot, orb_array2 *p, orb_array2 *v, double mgv1, double *tmgv1, double *tmgvf, float **lat_gd, float **lon_gd, float **alt, int FirsTerrain)
Definition: hawkeye_methods.cpp:41