bootstrap_proj#
- hydromodpy.bootstrap_proj()[source]#
Configure PROJ environment variables for the active interpreter.
Opt-in. Mutates
os.environ['PROJ_DATA']andPROJ_LIBto point at the database shipped with the current pyproj install, and recovers a compatible candidate when the layout version is too old.- Return type:
Returns#
- None
Side effect only.
PROJ_DATAandPROJ_LIBare set inos.environwhen a compatible database is found. A warning is logged when none of the known candidates satisfy the minimum layout.
Examples#
>>> import hydromodpy as hmp >>> hmp.bootstrap_proj()