issue processing ancillary data for S2 MSI on Seadas l2gen
-
- Posts: 13
- Joined: Tue Feb 28, 2023 2:16 pm America/New_York
issue processing ancillary data for S2 MSI on Seadas l2gen
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. -
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. -
Filters:
-
- Subject Matter Expert
- Posts: 712
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: issue processing ancillary data for S2 MSI on Seadas l2gen
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
2. use the -s option
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
Code: Select all
getanc -v -m MSI -s 2021-01-02T15:46:41
-
- Posts: 13
- Joined: Tue Feb 28, 2023 2:16 pm America/New_York