As explained in the rasterio FAQ (https://rasterio.readthedocs.io/en/stable/faq.html), rasterio wheels on PyPI include PROJ 7.x and GDAL 3.x.. This can lead to incompatibilities between libraries:
WARNING :: CPLE_AppDefined in PROJ: internal_proj_create_from_database
ERROR 1: PROJ: internal_proj_identify [...] proj.db lacks DATABASE.LAYOUT.VERSION.MAJOR / DATABASE.LAYOUT.VERSION.MINOR metadata. It comes from another PROJ installation.
rasterio.errors.CRSError: Not a valid EPSG codes: None
If GDAL and its dependencies are installed on your computer, we strongly recommend to build rasterio using --no-binary option:
pip install --no-binary rasterio rasterio
How to create CARS compatible :term:`ROI` input data with OTB ?
Please, see the section :ref:`make_input_roi_images` to generate the ROI input images.
If do you use Pleaides sensor images, the color image can't be superimposable on the CARS input image.
Please, see the section :ref:`make_a_simple_pan_sharpening` to make a simple pan sharpening with OTB.
To generate the images in epipolar geometry from the grids computed by cars and the original images, one can refer to the Orfeo Toolbox documentation here .
Please, see the section :ref:`make_a_water_mask` to make a water mask with OTB.
Considering bulky files, it can be recommended to generate an overview file with GDAL before opening it with QGIS:
gdaladdo -ro -r average dsm.tif 2 4 8 16 32 64