Error at calibrate_viirs while processing VIIRS-JPSS1 data
Error at calibrate_viirs while processing VIIRS-JPSS1 data
I used ocssw202202 to process the VIIRSJ1 data for 2023, but all the data after 082 are getting errors at calibrate_viirs.
For example, I executed the following code:
calibrate_viirs ifile=/home/scratch/data/VIIRSJ1/CHS/working/W2023160035400/W2023160035400.L1A_JPSS1.nc l1bfile_mod=/home/scratch/data/VIIRSJ1/CHS/working/W2023160035400/W2023160035400.L1B-M_JPSS1.nc rsb_dynamic_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_CAL_RSB_LUT_v3.0.0.4_obpg.nc dnb_dynamic_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_CAL_DNB_LUT_v3.0.0.4_obpg.nc straylight_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_CAL_STRAYLIGHT_LUT_v3.0.0.4_obpg.nc cmn_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_CMN_LUT_v3.0.0.5_obpg.nc geo_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_GEO_LUT_v3.0.0.4_obpg.nc static_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_CAL_STATIC_LUT_v3.0.0.4_obpg.nc
The error message is as follows:
VcstCmnGeo:: Divide by 0 xyCon PolarWander/UT1 data in getPolarUT1UTC.
VcstCmnGeo::getPolarUT1UTC returned error in setPolarWander()
VcstCmnGeo::setPolarWander() failure
VcstObc:: CmnGeo initialization failure
VcstViirsCal::Granule initialization failure
Main:: Calibration initialization failure
For example, I executed the following code:
calibrate_viirs ifile=/home/scratch/data/VIIRSJ1/CHS/working/W2023160035400/W2023160035400.L1A_JPSS1.nc l1bfile_mod=/home/scratch/data/VIIRSJ1/CHS/working/W2023160035400/W2023160035400.L1B-M_JPSS1.nc rsb_dynamic_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_CAL_RSB_LUT_v3.0.0.4_obpg.nc dnb_dynamic_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_CAL_DNB_LUT_v3.0.0.4_obpg.nc straylight_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_CAL_STRAYLIGHT_LUT_v3.0.0.4_obpg.nc cmn_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_CMN_LUT_v3.0.0.5_obpg.nc geo_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_GEO_LUT_v3.0.0.4_obpg.nc static_lut_file=/home/scratch/data/VIIRSJ1/CHS/tmp/VIIRS_J1_CAL_STATIC_LUT_v3.0.0.4_obpg.nc
The error message is as follows:
VcstCmnGeo:: Divide by 0 xyCon PolarWander/UT1 data in getPolarUT1UTC.
VcstCmnGeo::getPolarUT1UTC returned error in setPolarWander()
VcstCmnGeo::setPolarWander() failure
VcstObc:: CmnGeo initialization failure
VcstViirsCal::Granule initialization failure
Main:: Calibration initialization failure
Filters:
-
- Subject Matter Expert
- Posts: 711
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: Error at calibrate_viirs while processing VIIRS-JPSS1 data
From what site did you download W2023160035400.L1A_JPSS1.nc? Did you try calibrate_viirs on VIRRS-JPSS1 data from OB.DAAC https://oceandata.sci.gsfc.nasa.gov/directdataaccess/Level-1A/NOAA20-VIIRS/2023/160/ or https://oceancolor.gsfc.nasa.gov/cgi/browse.pl?sen=amod
Re: Error at calibrate_viirs while processing VIIRS-JPSS1 data
I encountered the same problem when processing viirs/snpp data using calibrate_viirs. And the codes run well for data before SNPP_VIIRS.20230318T053600.L1A.nc, but failed after SNPP_VIIRS.20230318T053600.L1A.nc till now (such as SNPP_VIIRS.20230320T064200.L1A.nc). The l1a data were downloaded from https://oceandata.sci.gsfc.nasa.gov/getfile/, and were extracted to my study area using l1aextract_viirs.
The error messages are as follow:
VcstCmnGeo:: Divide by 0 xyCon PolarWander/UT1 data in getPolarUT1UTC.
VcstCmnGeo::getPolarUT1UTC returned error in setPolarWander()
VcstCmnGeo::setPolarWander() failure
VcstObc:: CmnGeo initialization failure
VcstViirsCal::Granule initialization failure
Main:: Calibration initialization failure
Is there a way to solve this problem? Thanks for your help.
The error messages are as follow:
VcstCmnGeo:: Divide by 0 xyCon PolarWander/UT1 data in getPolarUT1UTC.
VcstCmnGeo::getPolarUT1UTC returned error in setPolarWander()
VcstCmnGeo::setPolarWander() failure
VcstObc:: CmnGeo initialization failure
VcstViirsCal::Granule initialization failure
Main:: Calibration initialization failure
Is there a way to solve this problem? Thanks for your help.
-
- Subject Matter Expert
- Posts: 450
- Joined: Fri Feb 05, 2021 9:17 am America/New_York
- Been thanked: 7 times
Re: Error at calibrate_viirs while processing VIIRS-JPSS1 data
Check the existence of /ocssw/var/viirsn/polar_wander.ascii in your SeaDAS installation.
Tommy
Tommy
Re: Error at calibrate_viirs while processing VIIRS-JPSS1 data
Hello,OB ODPS - towens wrote: ↑Fri Jul 19, 2024 7:25 am America/New_York Check the existence of /ocssw/var/viirsn/polar_wander.ascii in your SeaDAS installation.
Tommy
Tommy, I have checked, and the file exists. SeaDAS 7.5 was used.
Re: Error at calibrate_viirs while processing VIIRS-JPSS1 data
Sorry, the error messages appear when run geolocate_viirs, not calibrate_viirs.
here is the code:
$geolocate_viirs ifile=$inpath$l1asub_fname geofile_mod=$inpath$geosub_fname
here is the code:
$geolocate_viirs ifile=$inpath$l1asub_fname geofile_mod=$inpath$geosub_fname
-
- Subject Matter Expert
- Posts: 450
- Joined: Fri Feb 05, 2021 9:17 am America/New_York
- Been thanked: 7 times
Re: Error at calibrate_viirs while processing VIIRS-JPSS1 data
There was a corrupted version of that file distributed recently. Try updating your LUTs.
Tommy
Tommy