Error while processing with ancillary data-reg

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
ivgbhavani
Posts: 16
Joined: Mon May 21, 2018 11:23 am America/New_York
Answers: 0

Error while processing with ancillary data-reg

by ivgbhavani » Tue Nov 12, 2019 6:27 am America/New_York

Greetings to all,
I got an error when i am processing the OCM-2 (Oceansat-2) data with near real time ancillary from GMAO MERRA2 Meterological data provided by the OBPG .
can any one describe the solution? l2gen command mentioned below, and mentioning SeaDAS processing version i.e.,"l2gen 9.3.0-seadas-vxx.xxx.xx.xx" for information.
command:
l2gen ifile=O2_02OCT2018_010_014_LAP_L1B_ST_S.hdf ofile=O2_02OCT2018_010_014_LAP_L2_ST_S.hdf oformat=hdf4 met1=N201827507_MERRA2_1h.nc
error:
/home/seadas/ocssw/src/l2gen/anc_acq.c, 1490: Undefined anc_f_stat - should not happen
-E- /home/seadas/ocssw/src/l2gen/getl1rec.c 153: Error reading O2_02OCT2018_010_014_LAP_L1B_ST_S.hdf at scan 0

Thanks in advance

Filters:

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

Error while processing with ancillary data-reg

by OB.DAACx - SeanBailey » Tue Nov 12, 2019 12:29 pm America/New_York

The error is admittedly a bit obtuse, but the problem is that the code is expecting met1, met2 and met3 to be defined.  It will happily accept the same file for each, but isn't happy if they're not defined.  Try:

l2gen ifile=O2_02OCT2018_010_014_LAP_L1B_ST_S.hdf                                        
ofile=O2_02OCT2018_010_014_LAP_L2_ST_S.hdf oformat=hdf4 met1=N201827507_MERRA2_1h.nc met2=N201827507_MERRA2_1h.nc met3=N201827507_MERRA2_1h.nc


Sean

ivgbhavani
Posts: 16
Joined: Mon May 21, 2018 11:23 am America/New_York
Answers: 0

Error while processing with ancillary data-reg

by ivgbhavani » Tue Nov 12, 2019 10:35 pm America/New_York

Thank you for your reply,
I tried the below command
l2gen ifile=O2_02OCT2018_010_014_LAP_L1B_ST_S.hdf ofile=O2_02OCT2018_010_014_LAP_L2_ST_S.hdf oformat=hdf4 met1=N201827507_MERRA2_1h.nc met2=N201827507_MERRA2_1h.nc met3=N201827507_MERRA2_1h.nc
I got the following error

Opening meteorological files.
  met1   = N201827507_MERRA2_1h.nc
  met2   = N201827507_MERRA2_1h.nc
  met3   = N201827507_MERRA2_1h.nc
  ozone1 = /home/bhavani/SEADAS74/ocssw/share/common/ozone_climatology_v2014.hdf
  ozone2 =
  ozone3 =
  no2    = /home/bhavani/SEADAS74/ocssw/share/common/no2_climatology_v2013.hdf

-E- /home/seadas/ocssw/src/l2gen/anc_acq.c 1608: file: N201827507_MERRA2_1h.nc error setting an id
-E- /home/seadas/ocssw/src/l2gen/getl1rec.c 153: Error reading O2_02OCT2018_010_014_LAP_L1B_ST_S.hdf at scan 0.
Can you suggest how to solve it?
Best regards
Bhavani

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

Error while processing with ancillary data-reg

by OB.DAACx - SeanBailey » Thu Nov 14, 2019 7:41 pm America/New_York

I cannot replicate the error you are seeing.  Admittedly, I'm using a MODIS granule as input (as I don't have the OCM2 data), but that is irrelevant as the source L1 plays no role (aside from providing the time for interpolation).  The error indicates a problem reading the ancillary file.   Does your version of the file match this SHA1 sum:

cb9a4c0009d7694df1ecb3a9065c15c6012539c2  N201827507_MERRA2_1h.nc

(run:
$ shasum N201827507_MERRA2_1h.nc)

Sean

ivgbhavani
Posts: 16
Joined: Mon May 21, 2018 11:23 am America/New_York
Answers: 0

Error while processing with ancillary data-reg

by ivgbhavani » Thu Nov 14, 2019 10:49 pm America/New_York

Thanks for the reply
When i run
$shasum N201827507_MERRA2_1h.nc
yes, I got the below
cb9a4c0009d7694df1ecb3a9065c15c6012539c2  N201827507_MERRA2_1h.nc

Looking forward for your reply

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

Error while processing with ancillary data-reg

by OB.DAACx - SeanBailey » Fri Nov 15, 2019 8:02 am America/New_York

I just noticed you reported the l2gen version as "9.3.0-seadas-vxx.xxx.xx.xx".  Update your l2gen version, as the latest is "9.5.0-V2019.3"

Sean

ivgbhavani
Posts: 16
Joined: Mon May 21, 2018 11:23 am America/New_York
Answers: 0

Error while processing with ancillary data-reg

by ivgbhavani » Sat Nov 16, 2019 7:09 am America/New_York

Thank you for valuable time Sean,
Updated l2gen version (l2gen 9.5.0-V2019.3) , now it's working.

Post Reply