env_vars

env_vars#

Environment variables that can change the processes

Module Attributes

PP_GRAPH

Environment variable for overriding default pre-processing graph path

DSPK_GRAPH

Environment variable for overriding default despeckling graph path

SAR_DEF_PIXEL_SIZE

Environment variable for SAR default pixel size, used for SNAP orthorectification to override default pixel size.

SAR_PREDICTOR

Environment variable for SAR predictor when writing file into GeoTiff (default is 3 if SNAP version > 13, else 1).

DEM_PATH

Environment variable for overriding default DEM path

DEM_VCRS

Environment variable for setting the vertical CRS of the DEM.

SNAP_DEM_NAME

Environment variable for overriding default DEM name used in SNAP.

S3_DB_URL_ROOT

Environment variable used for specify DB base url (e.g. https://s3.unistra.fr/bucket_name/).

TEST_USING_S3_DB

Environment variable to specify to use external DB as a opposed to local one.

CI_EOREADER_BAND_FOLDER

Environment variable used in CI to override the existing band path in order to bypass SNAP process and DEM reprojection.

USE_DASK

If set (to 1) and dask is installed, EOReader will read products as dask arrays instead of numpy arrays with the chunking defined in EOREADER_TILE_SIZE.

TILE_SIZE

If set, overrides the default tile size used in chunking (1024 by default, i.e. default chunk is {"band": 1, "x": 1024, "y": 1024}).

NOF_BANDS_IN_CHUNKS

If set, overrides the default number of bands to be considered used in chunking (1 by default, i.e. default chunk is {"band": 1, "x": 1024, "y": 1024}).

BAND_RESAMPLING

Overrides the default resampling (bilinear) used when loading bands.

DEFAULT_DRIVER

Default driver for writing files on disk.

LEGACY_BAND_NAME_RESOLUTION

Keep legacy resolution in band name (1000-00m instead of 1000m, or 0-50m instead of 0-5m)

FIX_VANTOR

Fix faulty Vantor product (corrupted shapes in metadata).

FIX_MAXAR

Legacy for FIX_VANTOR.