Missing attitude files!

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 656
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: Missing attitude files!

by OB SeaDAS - xuanyang02 » Tue Jul 18, 2023 11:34 am America/New_York

There is probably something wrong with ocssw/var/log/ancillary_data.db.

You can run

Code: Select all

modis_atteph -r A2023164010000.L1A_LAC
That'll download the att1/eph1 file. Then modis_GEO would work.

Also, MODIS TERRA GEO file is available for download here -- https://oceandata.sci.gsfc.nasa.gov/directdataaccess/Geo-Location/Terra-MODIS/2023/164/

Tags:

gbourdin
Posts: 34
Joined: Mon Jan 25, 2021 11:59 am America/New_York
Answers: 0
Has thanked: 1 time

Re: Missing attitude files!

by gbourdin » Wed Jul 19, 2023 6:51 pm America/New_York

Just to make sure you got all the information I could provide.
I cleared ocssw/var/log/ancillary_data.db: no success
Note1: it was working fine with the same images using the 2022.3 tag.
Note2: TERRA_MODIS works well using modis_GEO the same way than for AQUA_MODIS.

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 656
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: Missing attitude files!

by OB SeaDAS - xuanyang02 » Thu Jul 20, 2023 12:38 pm America/New_York

Thanks for the clarification.

Could you please do

Code: Select all

seadas_info
and post the results here?

When you did

Code: Select all

install_ocssw --install_dir $HOME/ocssw --tag V2023.2 --modisa
you only updated modis and modisa files, but not seadas files and files of other sensors you have installed, such as modist.

You might need to do

Code: Select all

install_ocssw --install_dir $HOME/ocssw --tag V2023.2 --seadas --modisa
and any other sensors you installed.

I tried

Code: Select all

modis_atteph A2023164010000.L1A_LAC
with V2022.3 and V2023.2 and the mixed version (V2022.3 with modisa updated to V2023.2), but can't replicate your error anymore.

Code: Select all

modis_atteph -r A2023164010000.L1A_LAC
should refresh ancillary_data.db, and things should work...

gbourdin
Posts: 34
Joined: Mon Jan 25, 2021 11:59 am America/New_York
Answers: 0
Has thanked: 1 time

Re: Missing attitude files!

by gbourdin » Fri Jul 21, 2023 7:17 pm America/New_York

Here the result:

Code: Select all

seadas_info:

NASA Science Processing (OCSSW):
OCSSWROOT=/home/gbourdin/ocssw
OCDATAROOT=/home/gbourdin/ocssw/share
l2gen version: msl12 9.6.0-V2023.1 (Apr  4 2023 11:30:59)
l2bin version: 7.0.4
l3bin version: 5.13
l3mapgen version: l3mapgen 2.3.0-V2023.1 (Apr  4 2023 11:28:57)
Installed Missions: ['aqua', 'terra', 'olcis3a', 'olcis3b', 'viirsn', 'viirsj1', 'viirsj2']

General System and Software:
Operating system: CentOS Linux 7 (Core)
Java version: 14.0.1
Python3 version: 3.8.13
Python3 Path: /home/gbourdin/.conda/envs/polymer/bin/python3
Env:
   CC=gcc
   CXX=g++
   ELEMENTS=/home/gbourdin/ocssw/var/seawifs
   EOS_LIB_PREFIX=linux64
   FC=gfortran
   GCC_TUNE=
   HDFEOS_LIB=/home/gbourdin/ocssw/opt/EOS/lib/linux64
   HRPT_STATION_IDENTIFICATION_FILE=/home/gbourdin/ocssw/share/seawifs/station/station_id.dat
   L2GEN_ANC=/home/gbourdin/ocssw/var/anc
   LIB3_BIN=/home/gbourdin/ocssw/opt/bin
   LIB3_CHECK=0
   LIB3_DIR=/home/gbourdin/ocssw/opt
   LIB3_INC=/home/gbourdin/ocssw/opt/include
   LIB3_LIB=/home/gbourdin/ocssw/opt/lib
   NAVCTL=/home/gbourdin/ocssw/share/seawifs/nav
   NAVQC=/home/gbourdin/ocssw/share/seawifs/nav
   OCSSW_ARCH=linux_64
   OCSSW_BIN=/home/gbourdin/ocssw/bin
   OCSSW_DEBUG=1
   OCSSW_MODIS=1
   OCTS_REGISTRATION_TABLES=/home/gbourdin/ocssw/share/octs/nav
   OCVARROOT=/home/gbourdin/ocssw/var
   ORBCTL=/home/gbourdin/ocssw/share/seawifs/nav
   PGSINC=/home/gbourdin/ocssw/opt/EOS/include
   PGSLIB=/home/gbourdin/ocssw/opt/EOS/lib/linux64
   PROJ_DATA=/home/gbourdin/ocssw/opt/share/proj
   PROJ_LIB=/home/gbourdin/.conda/envs/polymer/share/proj
   SWFTBL=/home/gbourdin/ocssw/share/seawifs/qc
   SWTBL=/home/gbourdin/ocssw/share/seawifs
Traceback (most recent call last):
  File "/home/gbourdin/ocssw/bin/seadas_info", line 237, in <module>
    sys.exit(main())
  File "/home/gbourdin/ocssw/bin/seadas_info", line 233, in main
    print_sys_info()
  File "/home/gbourdin/ocssw/bin/seadas_info", line 214, in print_sys_info
    key, value = line.split('=', 1)
ValueError: not enough values to unpack (expected 2, got 1)
I had run:

Code: Select all

install_ocssw --install_dir $HOME/ocssw --tag V2023.2 --seadas --modisa --modist --olcis3a --olcis3b --viirsj1 --viirsj2 --viirsn
before running only to make sure it was properly up to date:

Code: Select all

install_ocssw --install_dir $HOME/ocssw --tag V2023.2 --modisa
Note that all other sensors besides modisa work fine, for the same area, same dates.
Refreshing the ancillary_data.db does not help.
Note that I am using custom paths for ancillary data. I have been doing so for a long time and with all sensors, nothing changed in my code and I didn't have any issue before updating to OCSSW V2023.2.
Thank you,
Best,
Guillaume

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 656
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: Missing attitude files!

by OB SeaDAS - xuanyang02 » Mon Jul 24, 2023 12:10 pm America/New_York

I am puzzled... I tried

Code: Select all

modis_GEO A2023164100000.L1A_LAC
on MacOS 12.6.6 and linux Ubuntu 20.04.6 LTS, but could not replicate the error.

Can you do

Code: Select all

modis_atteph A2023164100000.L1A_LAC

Code: Select all

getanc A2023164100000.L1A_LAC

Code: Select all

modis_atteph -s 2023164100000 -m aqua

Code: Select all

getanc -s 2023164100000 -m aqua
and post the result here?

BTW, you might want to install --viirsdem along with viirs sensors.

gbourdin
Posts: 34
Joined: Mon Jan 25, 2021 11:59 am America/New_York
Answers: 0
Has thanked: 1 time

Re: Missing attitude files!

by gbourdin » Wed Aug 02, 2023 5:28 am America/New_York

All the command you sent worked when ran individually but did not when ran in parallel, so I assumed there was a working current directory change somewhere when processing MODIS-Aqua specifically.
I made sure to use absolute path for the source images and ancillary data and it is now working in parallel.
Thank you for your help.
Guillaume

Post Reply