Dear fsteinmetz,
it looks download file not complied from NASA. the first run very well. But the second that it is not work any more. so the issue is network or NASA website, or software 'polymer'? How could i fix it? Do you have some suggestions? thanks
Best
Binbin
error:
Initialize MSI projection EPSG:32619
Starting processing at 2021-05-19 10:10:41.063704
Removing file /home/bjiang/bjiang_tmp_20210303/Machias2016-2020/polymer/L1C_T19TFK_A015967_20200327T152624_20mpolymer_S2B.nc
Initializing output file "/home/bjiang/bjiang_tmp_20210303/Machias2016-2020/polymer/L1C_T19TFK_A015967_20200327T152624_20mpolymer_S2B.nc"
/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)
Processing block: size (198, 5490), offset (0, 0)
Processing block: size (198, 5490), offset (198, 0)
Processing block: size (198, 5490), offset (396, 0)
Processing block: size (198, 5490), offset (594, 0)
Processing block: size (198, 5490), offset (792, 0)
Processing block: size (198, 5490), offset (990, 0)
Processing block: size (198, 5490), offset (1188, 0)
Processing block: size (198, 5490), offset (1386, 0)
Processing block: size (198, 5490), offset (1584, 0)
Processing block: size (198, 5490), offset (1782, 0)
Processing block: size (198, 5490), offset (1980, 0)
Processing block: size (198, 5490), offset (2178, 0)
Processing block: size (198, 5490), offset (2376, 0)
Processing block: size (198, 5490), offset (2574, 0)
Processing block: size (198, 5490), offset (2772, 0)
Processing block: size (198, 5490), offset (2970, 0)
Processing block: size (198, 5490), offset (3168, 0)
Processing block: size (198, 5490), offset (3366, 0)
Processing block: size (198, 5490), offset (3564, 0)
Processing block: size (198, 5490), offset (3762, 0)
Processing block: size (198, 5490), offset (3960, 0)
Processing block: size (198, 5490), offset (4158, 0)
Processing block: size (198, 5490), offset (4356, 0)
Processing block: size (198, 5490), offset (4554, 0)
Processing block: size (198, 5490), offset (4752, 0)
Processing block: size (198, 5490), offset (4950, 0)
Processing block: size (198, 5490), offset (5148, 0)
Processing block: size (144, 5490), offset (5346, 0)
Done in 0:08:29.492616
Initialize MSI projection EPSG:32619
Trying to download
https://oceandata.sci.gsfc.nasa.gov/cgi ... MI_24h.hdf ...
2021-05-19 10:19:27 URL:
https://oceandata.sci.gsfc.nasa.gov/ob/ ... MI_24h.hdf [201285/201285] -> "ANCILLARY/METEO/2019/357/N201935700_O3_AURAOMI_24h.hdf.tmp" [1]
Trying to download
https://oceandata.sci.gsfc.nasa.gov/cgi ... 6h.hdf.bz2 ...
2021-05-19 10:19:28 URL:
https://oceandata.sci.gsfc.nasa.gov/ob/ ... 6h.hdf.bz2 [848287/848287] -> "ANCILLARY/METEO/2019/357/N201935712_MET_NCEPR2_6h.hdf.bz2.tmp" [1]
sh: bzip2: command not found
‘ANCILLARY/METEO/2019/357/N201935712_MET_NCEPR2_6h.hdf.bz2’ -> ‘ANCILLARY/METEO/2019/357/N201935712_MET_NCEPR2_6h.hdf’
Trying to download
https://oceandata.sci.gsfc.nasa.gov/cgi ... 6h.hdf.bz2 ...
2021-05-19 10:19:30 URL:
https://oceandata.sci.gsfc.nasa.gov/ob/ ... 6h.hdf.bz2 [848804/848804] -> "ANCILLARY/METEO/2019/357/N201935718_MET_NCEPR2_6h.hdf.bz2.tmp" [1]
sh: bzip2: command not found
‘ANCILLARY/METEO/2019/357/N201935718_MET_NCEPR2_6h.hdf.bz2’ -> ‘ANCILLARY/METEO/2019/357/N201935718_MET_NCEPR2_6h.hdf’
/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)
Traceback (most recent call last):
File "sentinelbatchrun_2018Machias.py", line 44, in <module>
Level1_MSI(result
,resolution='20'),
File "/home/bjiang/software/pythondepen/polymer-v4.13/polymer/level1_msi.py", line 151, in __init__
self.init_ancillary()
File "/home/bjiang/software/pythondepen/polymer-v4.13/polymer/level1_msi.py", line 181, in init_ancillary
self.wind_speed = self.ancillary.get('wind_speed', self.date)
File "/home/bjiang/software/pythondepen/polymer-v4.13/polymer/ancillary.py", line 251, in get
D1 = self.read(param, res[0])
File "/home/bjiang/software/pythondepen/polymer-v4.13/polymer/ancillary.py", line 190, in read
hdf = SD(filename)
File "/home/bjiang/.conda/envs/binbin1/lib/python3.7/site-packages/pyhdf/SD.py", line 1429, in __init__
_checkErr('SD', id, "cannot open %s" % path)
File "/home/bjiang/.conda/envs/binbin1/lib/python3.7/site-packages/pyhdf/error.py", line 23, in _checkErr
raise HDF4Error(err)
pyhdf.error.HDF4Error: SD (15): File is supported, must be either hdf, cdf, netcdf