-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The first file is processed in 40 seconds, the second file is hanging.
Note the difference in the cover settings, in particular pk = -1 in the first case, 1347 in the case that hangs.
@michaelleerilee I believe you wrote the cover code - do you know what is going on? The code is here:
https://github.com/SpatioTemporal/STAREmaster/blob/master/src/Modis05L2GeoFile.cpp
(base) ed@koko:~/Downloads/MODIS/MOD05$ bash -x ./run_staremaster.sh
+ echo starting...
starting...
+ /home/ed/STAREmaster/src/mk_stare -v -w 1 MOD05_L2.A2021232.1600.061.2021233022815.hdf
Reading HDF4 file MOD05_L2.A2021232.1600.061.2021233022815.hdf with build level 5
Reading lat/lon values...
Calculating STARE index for each point...
calculating perimeter: perimeter_stride = 1
perimeter size = 1348, pk = -1
Calculating cover: cover_level = 0
Cover calculated, cover size = 7435
Creating NETCDF sidecar file MOD05_L2.A2021232.1600.061.2021233022815_stare.nc
Writing NETCDF sidecar indices with build level 5
writing covers
writing cover i = 0, name = 5km
Writing NETCDF sidecar cover.
real 0m40.832s
user 0m40.744s
sys 0m0.052s
+ /home/ed/STAREmaster/src/mk_stare -v -w 1 MOD05_L2.A2021232.1605.061.2021233023202.hdf
Reading HDF4 file MOD05_L2.A2021232.1605.061.2021233023202.hdf with build level 5
Reading lat/lon values...
Calculating STARE index for each point...
perimeter size = 1348, pk = 1347
Calculating cover: cover_level = 0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working