Page 1 of 1

seadas spectrum view -- never ending wait for PACE L2 file

Posted: Thu May 16, 2024 2:26 pm America/New_York
by oo_processing
Dear Support,

Software: SeaDAS 9.0.0-9.0.1; OCSSW T2024.16
File: https://oceandata.sci.gsfc.nasa.gov/ob/getfile/PACE_OCI.20240509T021239.L2.OC_AOP.V1_0_0.NRT.nc

It took very long for "Collecting spectral data" but it's OK because the dialog said so. Then, when I moved the mouse to a pixel, the Spectrum View window showed "Collecting spectral information...", never went to the actual plot of spectrum. Please advise!
Also true to PACE L2 files produced by l2gen locally.

Thanks
Yuyuan

Re: seadas spectrum view -- never ending wait for PACE L2 file

Posted: Mon May 20, 2024 11:22 am America/New_York
by OB SeaDAS - knowles
You should be getting a progress monitor. The Spectrum View tool takes a several minutes to initialize on the file you mentioned due to its size and number of bands. Also you should first add at least one pin and then run it. You can then run in cursor mode, toggle pins off if you want, but first create the Spectrum plot with a pin.

Also you need to make sure you are refining the search to only use Rrs and not use Rrs_unc.

Re: seadas spectrum view -- never ending wait for PACE L2 file

Posted: Mon May 20, 2024 5:21 pm America/New_York
by oo_processing
Yes, it works. Thank you! I wouldn't know how if I'm not told about these tricks.

Cheers
Yuyuan

Re: seadas spectrum view -- never ending wait for PACE L2 file

Posted: Tue May 21, 2024 11:47 am America/New_York
by OB SeaDAS - knowles
Glad to hear that works.

Re: seadas spectrum view -- never ending wait for PACE L2 file

Posted: Mon Nov 18, 2024 10:59 pm America/New_York
by oo_processing
Just found it is also because of compression in data file. We must use deflated netCDF file, then the spectrum view works well and faster. Any compression (even level=1 only) wouldn't work.

I'm using the nccopy command to do the deflation, it takes time for big files. It is not a beautiful solution.
>

Code: Select all

 nccopy -d 0 infile.nc Deflated.nc 
Yuyuan