How to automatically choose and download ancillary data when run ocssw with parfile
Posted: Thu Feb 04, 2021 4:46 am America/New_York
Hi!
I use SeaDAS-7.5.3 (on MacOS 10.13.6) to batch process GOCI L1B data based on parfile. However, I am not clear how can I make it automatically choose and download ancillary data when dealing with different input file (L1B file in different time).
More specifically, for instance, when ifile = COMS_GOCI_L1B_GA_20110402001644.he5, I hope it can choose following files (closest in time) and download (it is acceptable if impossible to download) them in specific path:
icefile = N201109100_SEAICE_NSIDC_24h.hdf
met1 = N201109200_MET_NCEPR2_6h.hdf
met2 = N201109206_MET_NCEPR2_6h.hdf
met3 = N201109206_MET_NCEPR2_6h.hdf
ozone1 = N201109100_O3_AURAOMI_24h.hdf
ozong2 = N201109200_O3_AURAOMI_24h.hdf
ozone3 = N201109200_O3_AURAOMI_24h.hdf
sstfile = N2011091_SST_OIV2AVAM_24h.nc
The parfile I wrote are as follows:
# PRIMARY INPUT OUTPUT FIELDS
ifile=/Users/me/Desktop/COMS_GOCI_L1B_GA_20110402001644.he5
ofile=/Users/me/Desktop/G2011092001538.L2_LAC_OC
# SUITE
suite=OC
# PRODUCTS
l2prod=humidity nLw nLw_nnn
# ANCILLARY INPUTS Default = climatology (select 'Get Ancillary' to download ancillary files)
ancdb=/Applications/seadas-7.5.3/ocssw/var/anc/ancillary.db
When I run with above parfile, it seems still use default climatology data to handle L1B data, rather than my new settings. I am wondering if I made any mistakes or is it the right way to achieve the goal???
Sorry to bother and wait for reply.
I use SeaDAS-7.5.3 (on MacOS 10.13.6) to batch process GOCI L1B data based on parfile. However, I am not clear how can I make it automatically choose and download ancillary data when dealing with different input file (L1B file in different time).
More specifically, for instance, when ifile = COMS_GOCI_L1B_GA_20110402001644.he5, I hope it can choose following files (closest in time) and download (it is acceptable if impossible to download) them in specific path:
icefile = N201109100_SEAICE_NSIDC_24h.hdf
met1 = N201109200_MET_NCEPR2_6h.hdf
met2 = N201109206_MET_NCEPR2_6h.hdf
met3 = N201109206_MET_NCEPR2_6h.hdf
ozone1 = N201109100_O3_AURAOMI_24h.hdf
ozong2 = N201109200_O3_AURAOMI_24h.hdf
ozone3 = N201109200_O3_AURAOMI_24h.hdf
sstfile = N2011091_SST_OIV2AVAM_24h.nc
The parfile I wrote are as follows:
# PRIMARY INPUT OUTPUT FIELDS
ifile=/Users/me/Desktop/COMS_GOCI_L1B_GA_20110402001644.he5
ofile=/Users/me/Desktop/G2011092001538.L2_LAC_OC
# SUITE
suite=OC
# PRODUCTS
l2prod=humidity nLw nLw_nnn
# ANCILLARY INPUTS Default = climatology (select 'Get Ancillary' to download ancillary files)
ancdb=/Applications/seadas-7.5.3/ocssw/var/anc/ancillary.db
When I run with above parfile, it seems still use default climatology data to handle L1B data, rather than my new settings. I am wondering if I made any mistakes or is it the right way to achieve the goal???
Sorry to bother and wait for reply.