AI-4-atmosphere-remote-sensing / satellite_collocation

Apache License 2.0
3 stars 1 forks source link

Exception was thrown when collocating one day data #5

Open jianwuwang opened 11 months ago

jianwuwang commented 11 months ago

Was using collocate_viirs_calipso_local_execution example to collocate one full day data (2019-01-01). An error was thrown after several collocated index files were generated at the output folder:

CAL_ID_L2_01kmCLay-Standa_VNP_2019001.0342_Index.h5 CAL_ID_L2_01kmCLay-Standa_VNP_2019001.0336_Index.h5 CAL_ID_L2_01kmCLay-Standa_VNP_2019001.0248_Index.h5 CAL_ID_L2_01kmCLay-Standa_VNP_2019001.0200_Index.h5 CAL_ID_L2_01kmCLay-Standa_VNP_2019001.0154_Index.h5 CAL_ID_L2_01kmCLay-Standa_VNP_2019001.0106_Index.h5

Detailed error message

Find collocation pixels for: File 1: CAL_LID_L2_01kmCLay-Standard-V4-20.2019-01-01T03-42-49ZN.hdf File 2: VNP03MOD.A2019001.0424.002.2021102024123.nc No collocate pixel found

/umbc/rs/nasa-access/data/calipso_data/CAL_LID_L2_01kmCLay/2019-01-01/CAL_LID_L2_01kmCLay-Standard-V4-20.2019-01-01T04-29-00ZD.hdf Traceback (most recent call last): File "main.py", line 66, in caliop_timerange = DateTimeRange(caliop_dts[0],caliop_dts[-1]) IndexError: index 0 is out of bounds for axis 0 with size 0

jianwuwang commented 11 months ago

By removing CAL_LID_L2_01kmCLay-Standard-V4-20.2019-01-01T04-29-00ZD.hdf, the execution finished without errors.

maroonaggie commented 11 months ago

Please check if the CAL_LID_L2_01kmCLay-Standard-V4-20.2019-01-01T04-29-00ZD.hdf file is good. Sometimes the file is not complete due to network issue while downloading.