Quantcast
Channel: Earthdata Forum
Viewing all articles
Browse latest Browse all 1307

Questions/Comments • l1bextract_oci TypeError

$
0
0
What am I doing wrong?

Code:

(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.ncl1bextract_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:

(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.ncl1bextract_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:

(base) daurin@GSLAL0323091273:~/GitRepos/GLIMR$ install_ocssw --installed_tagWARNING: --tag is required to get the proper bundle list.installedTag = T2024.13
Dirk

Statistics: Posted by daurin — Fri Mar 15, 2024 10:39 am America/New_York



Viewing all articles
Browse latest Browse all 1307

Trending Articles