Dear fsteinmetz;
when i run this code' python ./polymer_cli.py '/home/bjiang/Sentinel2/ningde20180807/GRANULE/L1C_T50RQQ_A007408_20180807T024116' result.nc'
get error below, please help me. Thanks
Best
Binbin
(binbin1) [bjiang@viz3]~/software/pythondepen/polymer-v4.13% python ./polymer_cli.py '/home/bjiang/Sentinel2/ningde20180807/GRANULE/L1C_T50RQQ_A007408_20180807T024116' result.nc
Starting processing at 2020-08-04 09:56:38.214733
Initialize MSI projection EPSG:32650
/home/bjiang/.conda/envs/binbin1/lib/python3.7/site-packages/pyproj/crs/crs.py:280: FutureWarning: '+init=<authority>:<code>' syntax is deprecated. '<authority>:<code>' is the preferred initialization method. When making the change, be mindful of axis order changes:
https://pyproj4.github.io/pyproj/stable ... -in-proj-6
projstring = _prepare_from_string(projparams)
Trying to download
https://oceandata.sci.gsfc.nasa.gov/cgi ... MI_24h.hdf ...
Cannot open cookies file ‘/home/bjiang/.urs_cookies’: No such file or directory
2020-08-04 09:56:52 URL:
https://urs.earthdata.nasa.gov/oauth/au ... 2Frestrict [12671] -> "ANCILLARY/METEO/2018/219/N201821900_O3_AURAOMI_24h.hdf.tmp" [1]
Traceback (most recent call last):
File "./polymer_cli.py", line 35, in <module>
Level2(filename=args.output_file, fmt=args.fmt))
File "/nfs3-home/bjiang/software/pythondepen/polymer-v4.13/polymer/main.py", line 496, in run_atm_corr
with level2 as l2, level1 as l1:
File "/nfs3-home/bjiang/software/pythondepen/polymer-v4.13/polymer/level1.py", line 106, in __enter__
self.level1 = L1(self.filename, **self.kwargs)
File "/nfs3-home/bjiang/software/pythondepen/polymer-v4.13/polymer/level1_msi.py", line 151, in __init__
self.init_ancillary()
File "/nfs3-home/bjiang/software/pythondepen/polymer-v4.13/polymer/level1_msi.py", line 180, in init_ancillary
self.ozone = self.ancillary.get('ozone', self.date)
File "/nfs3-home/bjiang/software/pythondepen/polymer-v4.13/polymer/ancillary.py", line 242, in get
res = self.find_ozone(date)
File "/nfs3-home/bjiang/software/pythondepen/polymer-v4.13/polymer/ancillary.py", line 369, in find_ozone
f1 = self.try_resources(self.ozone_patterns, rolling(t0, self.delta, timedelta(days=1)))
File "/nfs3-home/bjiang/software/pythondepen/polymer-v4.13/polymer/ancillary.py", line 340, in try_resources
ret = self.download(url, target)
File "/nfs3-home/bjiang/software/pythondepen/polymer-v4.13/polymer/ancillary.py", line 306, in download
assert not fp.read(100).startswith(b'<!DOCTYPE html>'), errormsg
AssertionError: Error authenticating to NASA EarthData for downloading ancillary data. Please provide authentication through .netrc. See more information on
https://support.earthdata.nasa.gov/inde ... l-and-wget
(binbin1) [bjiang@viz3]~/software/pythondepen/polymer-v4.13%