invalid south-west-north-east settings in V2021.2 ocssw

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
zhigang
Posts: 74
Joined: Tue Nov 10, 2020 8:03 pm America/New_York
Answers: 0

invalid south-west-north-east settings in V2021.2 ocssw

by zhigang » Fri Jun 25, 2021 10:52 am America/New_York

Hi,

I updated my ocssw to V2021.2 recently in Ubuntu 20.04. I found the l2gen could not process the region of interest in MODIS Aqua imagery using south-west-north-east parameters.

For example, the command such as

Code: Select all

l2gen ifile= A2020366063500.L1B_LAC geofile=A2020366063500.GEO ofile=A2020366063500_l2.nc south=23 north=24 west=102 east=103
, always processed all 2030 MODIS scans whatever the geographic limits were.

Then, I removed V2021.2 files and reinstalled ocssw V2021.1, the processing works well as it just process 102 MODIS scans as the ROI defined.

Wondering if such issue was generic problem, or did I miss some specific settings in the system?

Regards,
Zhigang

Tags:

rakeshs
Posts: 9
Joined: Mon Oct 01, 2012 8:13 am America/New_York
Answers: 0

Re: invalid south-west-north-east settings in V2021.2 ocssw

by rakeshs » Tue Jun 29, 2021 4:07 pm America/New_York

Hello,

I too have the same problem on ubuntu 20.04.
l2gen is not processing a subset of MODIS-Aqua with north, east, west and south bounds in V2021.2.

Rakesh

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 258
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Been thanked: 2 times

Re: invalid south-west-north-east settings in V2021.2 ocssw

by OB SeaDAS - dshea » Fri Jul 09, 2021 9:47 am America/New_York

Zhigang,

Yes, it looks like you have uncovered a bug in l2gen when using the north, south, east, west options. The bug was introduced after V2021.1 and T2020.7. I have fixed the bug and you can try the new code by installing test tag T2021.11 or revert to V2021.1

Thanks for pointing out the bug. It also helped me fix another issue we were having trouble chasing down.

don

zhigang
Posts: 74
Joined: Tue Nov 10, 2020 8:03 pm America/New_York
Answers: 0

Re: invalid south-west-north-east settings in V2021.2 ocssw

by zhigang » Wed Aug 11, 2021 11:09 pm America/New_York

Thanks, I am still using V2021.1 piror to the realease of next version. --Zhigang

Post Reply