SeaDAS v7.5 l2gen support for VIIRS SDR files?

Please enter here to ask a question about any NASA Science related topics!
Post Reply
liamgumley
Posts: 22
Joined: Tue Aug 09, 2005 12:58 pm America/New_York

SeaDAS v7.5 l2gen support for VIIRS SDR files?

by liamgumley » Wed May 23, 2018 3:34 pm America/New_York

SeaDAS v7.4 l2gen supports the processing of VIIRS SDR files in the HDF5 format created by the NOAA IDPS.

Has this capability gone away in l2gen with the release of SeaDAS v7.5? Here is what I get when I try to process VIIRS SDR data:

l2gen ifile=SVM01_npp_d20180521_t2043061_e2048461.tmp.h5 geofile=GMTCO_npp_d20180521_t2043061_e2048461.tmp.h5 ofile=SEADAS_npp_d20180521_t2043061_e2048461.hdf par=SVM01_npp_d20180521_t2043061_e2048461.tmp.h5.anc calfile= gain=1,1,1,1,1,1,1,1,1,1 l2prod=default sst cdom_index epsilon proc_land=1 proc_sst=1 oformat=hdf4
-E- /home/seadas/ocssw/src/l2gen/msl12_input.c Line 1506: Could not find type for file SVM01_npp_d20180521_t2043061_e2048461.tmp.h5.
-E- /home/seadas/ocssw/src/l2gen/msl12_input.c: Error reading program options.

Liam.

Tags:

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1167
Joined: Wed Sep 18, 2019 6:15 pm America/New_York

SeaDAS v7.5 l2gen support for VIIRS SDR files?

by OB.DAAC - SeanBailey » Wed May 23, 2018 9:01 pm America/New_York

Not by design, and my test file set still works...can you make your input files available so we can test them?

Sean

liamgumley
Posts: 22
Joined: Tue Aug 09, 2005 12:58 pm America/New_York

SeaDAS v7.5 l2gen support for VIIRS SDR files?

by liamgumley » Thu May 24, 2018 11:56 am America/New_York

Sure, here is a sample of SNPP VIIRS SDR files obtained from our direct broadcast antenna:

ftp://ftp.ssec.wisc.edu/pub/gumley/seadas

I'm running this on a 64-bit CentOS 7.5 host. I've tried to process the data like this:

export OCSSWROOT=$DBVM_HOME/apps/ocssw_7.5
source $OCSSWROOT/OCSSW_bash.env
sdr_file=SVM01_npp_d20180523_t1820003_e1834113_b02646_c20180523184355123912_cspp_dev.h5
geo_file=GMTCO_npp_d20180523_t1820003_e1834113_b02646_c20180523184346077633_cspp_dev.h5
l2gen ifile=$sdr_file geofile=$geo_file ofile=seadas.hdf calfile="" gain="1,1,1,1,1,1,1,1,1,1" l2prod="default sst cdom_index epsilon" proc_land=1 proc_sst=1 oformat=hdf4

This is the output:

-E- /home/seadas/ocssw/src/l2gen/msl12_input.c Line 1506: Could not find type for file SVM01_npp_d20180523_t1820003_e1834113_b02646_c20180523184355123912_cspp_dev.h5.
-E- /home/seadas/ocssw/src/l2gen/msl12_input.c: Error reading program options.
-E- l2gen: Error parsing input parameters.

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1167
Joined: Wed Sep 18, 2019 6:15 pm America/New_York

SeaDAS v7.5 l2gen support for VIIRS SDR files?

by OB.DAAC - SeanBailey » Thu May 24, 2018 1:10 pm America/New_York

Liam,

It's JPSS-1, not SNPP:

$ h5dump -H -A -p /ssdwork/viirs/liam/SVM01_npp_d20180523_t1820003_e1834113_b02646_c20180523184355123912_cspp_dev.h5
HDF5 "/ssdwork/viirs/liam/SVM01_npp_d20180523_t1820003_e1834113_b02646_c20180523184355123912_cspp_dev.h5" {
...
   ATTRIBUTE "Mission_Name" {
      DATATYPE  H5T_STRING {
         STRSIZE 7;
         STRPAD H5T_STR_NULLTERM;
         CSET H5T_CSET_ASCII;
         CTYPE H5T_C_S1;
      }
      DATASPACE  SIMPLE { ( 1, 1 ) / ( 1, 1 ) }
      DATA {
      (0,0): "JPSS-1"
      }
   }
...


...and no, l2gen does not support it.  We'll see about adding support in a future release...maybe :razz:

Sean

Post Reply