Modis L1A Extract: Error Locating Pixel/Line Range

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
lailai0824
Posts: 17
Joined: Thu Apr 21, 2022 4:58 am America/New_York
Answers: 0

Modis L1A Extract: Error Locating Pixel/Line Range

by lailai0824 » Fri Sep 13, 2024 5:15 am America/New_York

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.

Filters:

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

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

by OB.DAACx - SeanBailey » Sat Sep 14, 2024 10:51 am America/New_York

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

Post Reply