Error at calibrate_viirs while processing VIIRS-JPSS1 data

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
mqliu
Posts: 2
Joined: Sun May 21, 2023 10:01 pm America/New_York
Answers: 0

Error at calibrate_viirs while processing VIIRS-JPSS1 data

by mqliu » Thu Dec 21, 2023 10:27 pm America/New_York

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

Filters:

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

Re: Error at calibrate_viirs while processing VIIRS-JPSS1 data

by OB SeaDAS - xuanyang02 » Wed Dec 27, 2023 10:39 am America/New_York

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

machl
Posts: 14
Joined: Mon Jun 15, 2020 9:58 am America/New_York
Answers: 0

Re: Error at calibrate_viirs while processing VIIRS-JPSS1 data

by machl » Fri Jul 19, 2024 7:13 am America/New_York

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.

OB ODPS - towens
Subject Matter Expert
Subject Matter Expert
Posts: 402
Joined: Fri Feb 05, 2021 9:17 am America/New_York
Answers: 0
Been thanked: 7 times

Re: Error at calibrate_viirs while processing VIIRS-JPSS1 data

by OB ODPS - towens » 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

machl
Posts: 14
Joined: Mon Jun 15, 2020 9:58 am America/New_York
Answers: 0

Re: Error at calibrate_viirs while processing VIIRS-JPSS1 data

by machl » Fri Jul 19, 2024 8:50 am America/New_York

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
Hello,
Tommy, I have checked, and the file exists. SeaDAS 7.5 was used.

machl
Posts: 14
Joined: Mon Jun 15, 2020 9:58 am America/New_York
Answers: 0

Re: Error at calibrate_viirs while processing VIIRS-JPSS1 data

by machl » Fri Jul 19, 2024 1:27 pm America/New_York

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

Post Reply