l1bextract_oci TypeError

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
daurin
Posts: 42
Joined: Thu Apr 22, 2010 8:06 am America/New_York
Answers: 0
Has thanked: 1 time

l1bextract_oci TypeError

by daurin » Fri Mar 15, 2024 10:39 am America/New_York

What am I doing wrong?

Code: Select all

(base) daurin@GSLAL0323091273:~/GitRepos/GLIMR$ ls -l /Volumes/Megalodon/PACE/L1B/PACE_OCI.20240306T184045.L1B.nc
-rw-r--r--@ 1 daurin  staff  1916478325 Mar 14 17:25 /Volumes/Megalodon/PACE/L1B/PACE_OCI.20240306T184045.L1B.nc
(base) daurin@GSLAL0323091273:~/GitRepos/GLIMR$ l1bextract_oci --north=33.29 --south=20.7644 --west=-97.95 --east=-79.19 /Volumes/Megalodon/PACE/L1B/PACE_OCI.20240306T184045.L1B.nc
l1bextract_oci 1.0 (2023-05-04)
Traceback (most recent call last):
  File "/Users/daurin/Applications/ocssw/bin/l1bextract_oci", line 329, in <module>
    this = extract(ifile=args.ifile,
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daurin/Applications/ocssw/bin/l1bextract_oci", line 34, in __init__
    self.ofile = pathlib.Path(ofile)
                 ^^^^^^^^^^^^^^^^^^^
  File "/Users/daurin/anaconda3/lib/python3.11/pathlib.py", line 871, in __new__
    self = cls._from_parts(args)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daurin/anaconda3/lib/python3.11/pathlib.py", line 509, in _from_parts
    drv, root, parts = self._parse_args(args)
                       ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daurin/anaconda3/lib/python3.11/pathlib.py", line 493, in _parse_args
    a = os.fspath(a)
        ^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType
(base) daurin@GSLAL0323091273:~/GitRepos/GLIMR$  
Also tried:

Code: Select all

(base) daurin@GSLAL0323091273:~/GitRepos/GLIMR$ l1bextract_oci -n 33.29 -s 20.7644 -w -97.95 -e -79.19 /Volumes/Megalodon/PACE/L1B/PACE_OCI.20240306T184045.L1B.nc
l1bextract_oci 1.0 (2023-05-04)
Traceback (most recent call last):
  File "/Users/daurin/Applications/ocssw/bin/l1bextract_oci", line 329, in <module>
    this = extract(ifile=args.ifile,
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daurin/Applications/ocssw/bin/l1bextract_oci", line 34, in __init__
    self.ofile = pathlib.Path(ofile)
                 ^^^^^^^^^^^^^^^^^^^
  File "/Users/daurin/anaconda3/lib/python3.11/pathlib.py", line 871, in __new__
    self = cls._from_parts(args)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daurin/anaconda3/lib/python3.11/pathlib.py", line 509, in _from_parts
    drv, root, parts = self._parse_args(args)
                       ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daurin/anaconda3/lib/python3.11/pathlib.py", line 493, in _parse_args
    a = os.fspath(a)
        ^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType
Latest tag installed:

Code: Select all

(base) daurin@GSLAL0323091273:~/GitRepos/GLIMR$ install_ocssw --installed_tag

WARNING: --tag is required to get the proper bundle list.

installedTag = T2024.13
Dirk

Filters:

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 263
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Been thanked: 2 times

Re: l1bextract_oci TypeError

by OB SeaDAS - dshea » Fri Mar 15, 2024 1:58 pm America/New_York

Looks like I have the same problem.
It has been fixed and will be in the next tag T2024.14

don

daurin
Posts: 42
Joined: Thu Apr 22, 2010 8:06 am America/New_York
Answers: 0
Has thanked: 1 time

Re: l1bextract_oci TypeError

by daurin » Fri Mar 15, 2024 2:16 pm America/New_York

Great. Thank you!

Post Reply