SpatioTemporal / STAREmaster

1 stars 3 forks source link

Speed up MOD05 processing #210

Open captainkirk99 opened 3 years ago

captainkirk99 commented 3 years ago

MOD05 processing is pretty slow

(base) ed@koko:~/Downloads/MODIS/MOD05$ time /home/ed/STAREmaster/src/mk_stare -w 1 MOD05_L2.A2021232.1600.061.2021233022815.hdf
Cell_Along_Swath_1km
Cell_Across_Swath_1km
Cell_Along_Swath_5km
Cell_Across_Swath_5km
QA_Bytes_IR
QA_Bytes_NIR

real    0m40.906s
user    0m40.834s
sys 0m0.045s
captainkirk99 commented 3 years ago

@michaelleerilee one thing that is happening in the code is: index1.adaptSpatialResolutionEstimatesInPlace(&(geo_index_1[i * MAX_ACROSS]), MAX_ACROSS);

Can you help me understand what this is doing?