Page 1 of 1

Modis L1A Extract: Error Locating Pixel/Line Range

Posted: Fri Sep 13, 2024 5:15 am America/New_York
by lailai0824
Hello. I am attempting to process a modis-aqua L1A file to L2.
I have successfully run modis_GEO and getanc to generate the .GEO file. and .ans file.
Next, I run modis_L1A_extract, and the script throws the following error: "Error locating pixel/line range to extract."

L1A file I am using is: A2024245061000.L1A_LAC
Subset_array=[30.5,31.8,119.6,120.9]
Subset_array=strcompress(string(Subset_array),/remove_all)

SPAWN, 'modis_L1A_extract.py'+' '+L1A_File+' '+'-s'+' '+Subset_array[0]+' '+'-n'+' '+Subset_array[1]+' '+'-w'+' '+Subset_array[2]+' '+'-e'+' '+Subset_array[3]

Any insight into how to resolve the error is appreciated. Thank you.

Re: Modis L1A Extract: Error Locating Pixel/Line Range

Posted: Sat Sep 14, 2024 10:51 am America/New_York
by OB.DAAC-EDL - SeanBailey
Make sure the geofile name matches the basename of the L1A, if it doesn't, you can pass the geofile to the extractor with the -g option