Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ECCODES_PYTHON_NO_TYPE_CHECKS:
This is for the Python Python2 interface only. When set to 1, the types of the arguments passed to ecCodes Python functions are not checked. This can improve performance specially in cases where there are a lot of calls to these functions.

In the Python3 interface by default no type checking will be done on function arguments.
If you wish to enable these checks, set the environment variable ECCODES_PYTHON_ENABLE_TYPE_CHECKS to 1.
The type checking can add a significant overhead in cases where ecCodes functions are called many times.


If the library is built with only one of the jpeg libraries (jasper or openjpeg) it will work without any environment variable. If ecCodes is built with both, then you have always to link both and you can switch from one to the other with the variable:

...