Page 1 of 1

seadas l2gen

Posted: Mon Jan 06, 2025 7:43 pm America/New_York
by jiayibing
# The following issue was encountered when using L2Gen in Seadas 9.1.0:
Loading radiance to brightness temperature from /home/guo/SeaDAS/ocssw/share/modis/aqua/cal/bt_modisa.hdf
Loading land mask information from /home/guo/SeaDAS/ocssw/share/common/gebco_ocssw_v2020.nc
Loading DEM information from /home/guo/SeaDAS/ocssw/share/common/gebco_ocssw_v2020.nc
Loading ice mask file from /home/guo/SeaDAS/ocssw/share/common/ice_climatology.hdf
Loaded monthly NSIDC ice climatology HDF file.
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_412.hdf
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_443.hdf
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_469.hdf
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_488.hdf
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_531.hdf
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_547.hdf
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_555.hdf
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_645.hdf
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_667.hdf
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_678.hdf
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_748.hdf
Loading XCAL rvs and polarization sensitivities from /home/guo/SeaDAS/ocssw/var/modisa/xcal/OPER/xcal_modisa_axc_oc_v4.1d_869.hdf
Loading DEM info from /home/guo/SeaDAS/ocssw/share/common/gebco_ocssw_v2020.nc
Loading climatology file /home/guo/SeaDAS/ocssw/share/common/sst_climatology.hdf
-E- /home/dshea/ocssw/src/l2gen/smi_climatology.c: Error opening file /home/guo/SeaDAS/ocssw/share/common/sst_climatology.hdf.
-E- /home/dshea/ocssw/src/l2gen/sstref.c line 1732: Unable to initialize SST file
/home/guo/SeaDAS/ocssw/share/common/sst_climatology.hdf 184a

Re: seadas l2gen

Posted: Tue Jan 07, 2025 10:50 am America/New_York
by OB SeaDAS - xuanyang02
Please do SeaDAS-Toolbox -> Software & System Info and post the result here.

Please also share the name of your MODIS L1B file that you wanted to do l2gen on, so we can try to replicate the error

Re: seadas l2gen

Posted: Tue Jan 07, 2025 7:46 pm America/New_York
by jiayibing
The above issue has been temporarily resolved. I skipped generating the SST product and only produced the necessary RRS. The current problem is that after generating the RRS product AQUA_MODIS.20240701T034000.L2.OC and exporting it to GeoTIFF using SeaDAS, I did the same for AQUA_MODIS_QKM.20240701T034000.L1B.hdf. However, the two TIFF files do not match in geographic coordinates. What could be causing this, and are there any tools available to align these two files?

In my workflow, I downloaded A2024183034000.L1A_LAC, and the subsequent AQUA_MODIS_QKM.20240701T034000.L1B.hdf was generated using SeaDAS Toolbox -> SeaDAS Processors -> MODIS_L1B. The AQUA_MODIS.20240701T034000.L2.OC was produced using SeaDAS Toolbox -> SeaDAS Processors -> L2gen.