seadas spectrum view -- never ending wait for PACE L2 file
-
- Posts: 337
- Joined: Wed Apr 06, 2005 12:11 pm America/New_York
- Has thanked: 10 times
- Been thanked: 3 times
seadas spectrum view -- never ending wait for PACE L2 file
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
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
Filters:
-
- Subject Matter Expert
- Posts: 306
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
- Been thanked: 3 times
Re: seadas spectrum view -- never ending wait for PACE L2 file
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.
Also you need to make sure you are refining the search to only use Rrs and not use Rrs_unc.
-
- Posts: 337
- Joined: Wed Apr 06, 2005 12:11 pm America/New_York
- Has thanked: 10 times
- Been thanked: 3 times
Re: seadas spectrum view -- never ending wait for PACE L2 file
Yes, it works. Thank you! I wouldn't know how if I'm not told about these tricks.
Cheers
Yuyuan
Cheers
Yuyuan
-
- Subject Matter Expert
- Posts: 306
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
- Been thanked: 3 times
-
- Posts: 337
- Joined: Wed Apr 06, 2005 12:11 pm America/New_York
- Has thanked: 10 times
- Been thanked: 3 times
Re: seadas spectrum view -- never ending wait for PACE L2 file
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.
>
Yuyuan
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