V2024.1 modis sst processing (l2gen failed)

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
oo_processing
Posts: 337
Joined: Wed Apr 06, 2005 12:11 pm America/New_York
Answers: 0
Has thanked: 10 times
Been thanked: 3 times

V2024.1 modis sst processing (l2gen failed)

by oo_processing » Tue Jul 23, 2024 11:03 am America/New_York

Dear Support,

I installed the V2024.1, modis sst processing failed, but which was successful with V2024.0; moreover, removing sst options, the l2gen ran successfully.
the following l2gen error message is for your info, the SSES LUT files are same between V2024.0 and V2024.1 (compared by the diff command)

Code: Select all

Product type to ini SST
MODIS AQUA correction to BT 4 micron for detector #0 will be applied
Reading the ADT parameters from the follwing file : /shares/cms_optics/apps/seadas/ocssw/V2024.1/share/modis/aqua/cal/cloud_mask_sst.json
The json file for the ADT has been read and processed succesfully
SST Coefficients file for product SST /shares/cms_optics/apps/seadas/ocssw/V2024.1/share/modis/aqua/cal/modis-aqua_sst_coeffcients_v6.5.nc
Scantime - unix time: 1.3194e+09; scan day : 23; scan month : 10; scan year : 2011
Targeted month 10
The regression coefficients used:
Lat_start : -90; lat_end : -40; Coefficients : C0 = 1.12914; C1 = 0.944699; C2 = 0.176167; C3 = 0.582462; C4 = 0.000393364; C5 = -0.000663995; C6 = 0.00015868;
Lat_start : -40; lat_end : -20; Coefficients : C0 = 1.59203; C1 = 0.942145; C2 = 0.131319; C3 = 0.996426; C4 = 0.00357337; C5 = -0.00205557; C6 = 0.00011453;
Lat_start : -20; lat_end : 0; Coefficients : C0 = 3.54954; C1 = 0.859181; C2 = 0.122114; C3 = 0.973169; C4 = 0.0045083; C5 = -0.00279223; C6 = 7.15743e-05;
Lat_start : 0; lat_end : 20; Coefficients : C0 = 5.54204; C1 = 0.786424; C2 = 0.115044; C3 = 0.875372; C4 = 0.015905; C5 = -0.00248624; C6 = 5.60631e-05;
Lat_start : 20; lat_end : 40; Coefficients : C0 = 1.58972; C1 = 0.947134; C2 = 0.126184; C3 = 1.2004; C4 = 0.0109738; C5 = -0.0027577; C6 = 6.75738e-05;
Lat_start : 40; lat_end : 60; Coefficients : C0 = 1.48187; C1 = 0.929723; C2 = 0.152238; C3 = 0.433296; C4 = 0.00847396; C5 = -0.00134302; C6 = 0.000196957;
Lat_start : 60; lat_end : 90; Coefficients : C0 = 1.51471; C1 = 0.886835; C2 = 0.239938; C3 = -0.755053; C4 = 0.0147818; C5 = -0.000564207; C6 = 0.0003038;

Error opening and reading SSES LUT file :
Exiting ...
Please advise
Yuyuan

Filters:

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

Re: V2024.1 modis sst processing (l2gen failed)

by OB ODPS - towens » Tue Jul 23, 2024 11:18 am America/New_York

Are you fully updated to V2024.1?

cat SeaDAS/ocssw/share/modis/msl12_defaults.par

You should see these lines:

# algorithm controls
# ------------------
btfile=$OCDATAROOT/modis/aqua/cal/bt_modisa.hdf
sstcoeffile=$OCDATAROOT/modis/aqua/cal/modis-aqua_sst_coeffcients_v6.5.nc
sst4coeffile=$OCDATAROOT/modis/aqua/cal/modis-aqua_sst4_coeffcients_v6.5.nc


Make that:
# algorithm controls
# ------------------

btfile=$OCDATAROOT/modis/aqua/cal/bt_modisa.hdf
sstcoeffile=$OCDATAROOT/modis/aqua/cal/modis-aqua_sst_coeffcients_v6.5.nc
sst4coeffile=$OCDATAROOT/modis/aqua/cal/modis-aqua_sst4_coeffcients_v6.5.nc
sstssesfile=$OCDATAROOT/modis/aqua/cal/sst_sses_modisa_v6.5.hdf
sst4ssesfile=$OCDATAROOT/modis/aqua/cal/sst4_sses_modisa_v6.5.hdf
dsdicoeffile=$OCDATAROOT/modis/aqua/cal/modis-aqua_dsdi_coefficients_v1.3.nc

Tommy

oo_processing
Posts: 337
Joined: Wed Apr 06, 2005 12:11 pm America/New_York
Answers: 0
Has thanked: 10 times
Been thanked: 3 times

Re: V2024.1 modis sst processing (l2gen failed)

by oo_processing » Tue Jul 23, 2024 1:02 pm America/New_York

Thanks Tommy,

Adding those 3 lines make it work. There are two par files to modify
$OCDATAROOT/modis/aqua/msl12_defaults.par
$OCDATAROOT/modis/terra/msl12_defaults.par

Review my installation steps, I compiled the binary files and using the following command to install the par files.
$ install_V2024.1/install_ocssw --install_dir ./V2024.1 --tag V2024.1 --oci --modisa --modist
I did it again in a different install_dir, and the modisa/t par files are still missing those 3 lines. So, I think the install program needs to be fixed.

Best
Yuyuan

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

Re: V2024.1 modis sst processing (l2gen failed)

by OB ODPS - towens » Tue Jul 23, 2024 1:06 pm America/New_York

Yes, there is a SeaDAS patch to address this in the works.
I don't know if it will be an update to V2024.1 or a new tag.

Tommy

Post Reply