MOD14A1.A2019305.h18v03.006.2019316220948.hdf already in path /home/eggi/workspaces/python/de-smart-monitoring-backend-module/de_sm_backend/nrt_io/temp
Traceback (most recent call last):
File "rasterio/_base.pyx", line 216, in rasterio._base.DatasetBase.__init__
File "rasterio/_shim.pyx", line 67, in rasterio._shim.open_dataset
File "rasterio/_err.pyx", line 205, in rasterio._err.exc_wrap_pointer
rasterio._err.CPLE_OpenFailedError: '/home/eggi/workspaces/python/de-smart-monitoring-backend-module/de_sm_backend/nrt_io/temp/MOD14A1.A2019305.h18v03.006.2019316220948.hdf' not recognized as a supported file format.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "module.py", line 4, in <module>
test()
File "/home/eggi/workspaces/python/de-smart-monitoring-backend-module/de_sm_backend/nrt_io/downloader.py", line 1359, in test_nrt_downloader
test.modis_products(modis_product = "MOD14A1.006",server='https://e4ftl01.cr.usgs.gov',product_parameters=['FireMask','MaxFRP'],modis_user = 'Nixdorf88', modis_pw = 'Dummling88')
File "/home/eggi/workspaces/python/de-smart-monitoring-backend-module/de_sm_backend/nrt_io/downloader.py", line 915, in modis_products
xr_ds=append_hdf_to_xarray(dest_dir,file,product_parameters,xr_ds,initialize=initDf)
File "/home/eggi/workspaces/python/de-smart-monitoring-backend-module/de_sm_backend/nrt_io/downloader.py", line 805, in append_hdf_to_xarray
with _rasterio.open(filepath) as hdf_reader:
File "/home/eggi/workspaces/python/de-smart-monitoring-backend-module/env/lib/python3.8/site-packages/rasterio/env.py", line 434, in wrapper
return f(*args, **kwds)
File "/home/eggi/workspaces/python/de-smart-monitoring-backend-module/env/lib/python3.8/site-packages/rasterio/__init__.py", line 219, in open
s = DatasetReader(path, driver=driver, sharing=sharing, **kwargs)
File "rasterio/_base.pyx", line 218, in rasterio._base.DatasetBase.__init__
rasterio.errors.RasterioIOError: '/home/eggi/workspaces/python/de-smart-monitoring-backend-module/de_sm_backend/nrt_io/temp/MOD14A1.A2019305.h18v03.006.2019316220948.hdf' not recognized as a supported file format.