issue processing ancillary data for S2 MSI on Seadas l2gen

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
tlin2_cuny.edu
Posts: 10
Joined: Tue Feb 28, 2023 2:16 pm America/New_York
Answers: 0

issue processing ancillary data for S2 MSI on Seadas l2gen

by tlin2_cuny.edu » Thu Mar 23, 2023 1:44 pm America/New_York

Hi all,
When I process the S2 MSI data use command line Seadas l2gen (getanc -v filename), one file ocssw/var/log/ancillary_data.db will be created and then, the date of the ancillary data of all subsequent files will become the date of that file. And if I delete the ancillary_data.db, next file's ancillary date is correct but the subsequent will be the next file's date. Has anyone encountered this problem before? Below is the code when I use getanc -v:

getanc -v /Volumes/Tlin/LIS/LISCO/S2_MSI_L1_H/S2A_MSIL1C_20210102T154641_N0209_R011_T18TXL_20210102T174143.SAFE/manifest.safe
ancillary_data.db
Searching database: /Users/tonglin/ocssw/var/log/ancillary_data.db
MSI

Input file: /Volumes/Tlin/LIS/LISCO/S2_MSI_L1_H/S2A_MSIL1C_20210102T154641_N0209_R011_T18TXL_20210102T174143.SAFE/manifest.safe
Sensor : S2A
Start time: 2015-08-02T15:51:36
End time : 2015-08-02T15:56:36

OBPG session started
Downloading manifest.anc.server ( 0.00 MBs)
[==================================================]
...Done
Found: /Users/tonglin/ocssw/var/anc/2015/214/GMAO_MERRA2.20150802T150000.MET.nc
Found: /Users/tonglin/ocssw/var/anc/2015/214/GMAO_MERRA2.20150802T160000.MET.nc
Found: /Users/tonglin/ocssw/var/anc/2015/214/20150802120000-CMC-L4_GHRSST-SSTfnd-CMC0.2deg-GLOB-v02.0-fv02.0.nc

Created 'manifest.safe.anc' l2gen parameter text file:

icefile=/Users/tonglin/ocssw/var/anc/2015/214/20150802120000-CMC-L4_GHRSST-SSTfnd-CMC0.2deg-GLOB-v02.0-fv02.0.nc
met1=/Users/tonglin/ocssw/var/anc/2015/214/GMAO_MERRA2.20150802T150000.MET.nc
met2=/Users/tonglin/ocssw/var/anc/2015/214/GMAO_MERRA2.20150802T160000.MET.nc
met3=/Users/tonglin/ocssw/var/anc/2015/214/GMAO_MERRA2.20150802T160000.MET.nc
ozone1=/Users/tonglin/ocssw/var/anc/2015/214/GMAO_MERRA2.20150802T150000.MET.nc
ozone2=/Users/tonglin/ocssw/var/anc/2015/214/GMAO_MERRA2.20150802T160000.MET.nc
ozone3=/Users/tonglin/ocssw/var/anc/2015/214/GMAO_MERRA2.20150802T160000.MET.nc
sstfile=/Users/tonglin/ocssw/var/anc/2015/214/20150802120000-CMC-L4_GHRSST-SSTfnd-CMC0.2deg-GLOB-v02.0-fv02.0.nc


- All optimal ancillary data files were determined and downloaded. -

Tags:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 644
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 1 time

Re: issue processing ancillary data for S2 MSI on Seadas l2gen

by OB SeaDAS - xuanyang02 » Mon Mar 27, 2023 11:24 am America/New_York

Thanks for reporting the problem, which happens to files with "maifest.safe". We'll try to fix the problem.

The work around is

1. add the -r or --refreshDB option

Code: Select all

getanc -v -r /Volumes/Tlin/LIS/LISCO/S2_MSI_L1_H/S2A_MSIL1C_20210102T154641_N0209_R011_T18TXL_20210102T174143.SAFE/manifest.safe
2. use the -s option

Code: Select all

getanc -v -m MSI -s 2021-01-02T15:46:41

tlin2_cuny.edu
Posts: 10
Joined: Tue Feb 28, 2023 2:16 pm America/New_York
Answers: 0

Re: issue processing ancillary data for S2 MSI on Seadas l2gen

by tlin2_cuny.edu » Mon Mar 27, 2023 1:16 pm America/New_York

Thanks a lot! That works.

Best,
Tong

Post Reply