20 redirections exceeded. failure (2048)

Post Reply
Anna
Posts: 1
Joined: Mon Jul 18, 2022 7:52 pm
company / institution: HS Anhalt
Location: Dessau

20 redirections exceeded. failure (2048)

Post by Anna »

Hey,

I installed all polymer packages with all extensions.

When running the code
./polymer_cli.py 'S2B_MSIL1C_20220615T101559_N0400_R065_T32UQA_20220615T122549.SAFE/GRANULE/L1C_T32UQA_A027547_20220615T102248' 'test.hdf'

I get the following error

/home/micha/anaconda3/envs/polymer/lib/python3.8/site-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.23.1
warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
Starting processing at 2022-08-18 22:12:43.863314
Initialize MSI projection EPSG:32632
/home/micha/anaconda3/envs/polymer/lib/python3.8/site-packages/pyproj/crs/crs.py:130: 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
in_crs_string = _prepare_from_proj_string(in_crs_string)
Trying to download https://oceandata.sci.gsfc.nasa.gov/cgi ... MI_24h.hdf ...
20 redirections exceeded.
failure (2048)
Trying to download https://oceandata.sci.gsfc.nasa.gov/cgi ... MI_24h.hdf ...
20 redirections exceeded.
failure (2048)
Trying to download https://oceandata.sci.gsfc.nasa.gov/cgi ... OAST.OZONE ...
20 redirections exceeded.
failure (2048)
Trying to download https://oceandata.sci.gsfc.nasa.gov/cgi ... TOVS.OZONE ...
20 redirections exceeded.
failure (2048)
Trying to download https://oceandata.sci.gsfc.nasa.gov/cgi ... 1_f015.hdf ...
20 redirections exceeded.
failure (2048)
Trying to download https://oceandata.sci.gsfc.nasa.gov/cgi ... 1_f012.hdf ...
20 redirections exceeded.
failure (2048)
Traceback (most recent call last):
File "./polymer_cli.py", line 34, in <module>
run_atm_corr(Level1(args.input_file),
File "/home/micha/anaconda3/envs/polymer/polymer/main.py", line 496, in run_atm_corr
with level2 as l2, level1 as l1:
File "/home/micha/anaconda3/envs/polymer/polymer/level1.py", line 113, in __enter__
self.level1 = L1(self.filename, **self.kwargs)
File "/home/micha/anaconda3/envs/polymer/polymer/level1_msi.py", line 151, in __init__
self.init_ancillary()
File "/home/micha/anaconda3/envs/polymer/polymer/level1_msi.py", line 180, in init_ancillary
self.ozone = self.ancillary.get('ozone', self.date)
File "/home/micha/anaconda3/envs/polymer/polymer/ancillary.py", line 272, in get
if len(res) > 1:
TypeError: object of type 'NoneType' has no len()


I already thought of using ERA5 Ancillary Data, but I have no clue where to change this.

I am using Polymer for the first time and installed it strictly from the Readme file.
My Linux is Ubuntu 22.04

Is there anyone who could help me?
Post Reply