ó
    !\i0  ã                   óL   • S r SSKrSSKJr  SSKJr  SS0r\S 5       rS rS	 r	g)
aÑ  Driver policies and utilities

GDAL has many standard and extension format drivers and completeness of
these drivers varies greatly. It's possible to succeed poorly with some
formats and drivers, meaning that easy problems can be solved but that
harder problems are blocked by limitations of the drivers and formats.

NetCDF writing, for example, is presently blacklisted. Rasterio users
should use netcdf4-python instead:
http://unidata.github.io/netcdf4-python/.
é    N©Ú_raster_driver_extensions)Ú
ensure_envÚnetCDF)zr+Úwc                  ó   • [        5       $ )z<
Returns
-------
dict:
    Map of extensions to the driver.
r   © ó    ÚS/var/www/html/kml_chatgpt/mouzaenv/lib/python3.13/site-packages/rasterio/drivers.pyÚraster_driver_extensionsr      s   € ô %Ó&Ð&r
   c                 ó  •  U R                   n [        5       n U[        R                  R                  U 5      S   R                  S5      R                  5          $ ! [         a     NYf = f! [         a    [        S5      ef = f)zÚ
Attempt to auto-detect driver based on the extension.

Parameters
----------
path: str or pathlike object
    The path to the dataset to write with.

Returns
-------
str:
    The name of the driver for the extension.
éÿÿÿÿÚ.z/Unable to detect driver. Please specify driver.)
ÚnameÚAttributeErrorr   ÚosÚpathÚsplitextÚlstripÚlowerÚKeyErrorÚ
ValueError)r   Údriver_extensionss     r   Údriver_from_extensionr   $   sˆ   € ðð y‰yˆô 1Ó2ÐðLØ ¤§¡×!1Ñ!1°$Ó!7¸Ñ!;×!BÑ!BÀ3Ó!G×!MÑ!MÓ!OÑPÐPøô ó Ùðûô ó LÜÐJÓKÐKðLús   ‚A ™AA+ Á
A(Á'A(Á+Bc                 ó4   • U[         R                  U S5      ;   $ )z9Returns True if driver `name` and `mode` are blacklisted.r	   )Ú	blacklistÚget)r   Úmodes     r   Úis_blacklistedr   @   s   € à”9—=‘=  rÓ*Ñ*Ð*r
   )
Ú__doc__r   Úrasterio._baser   Úrasterio.envr   r   r   r   r   r	   r
   r   Ú<module>r#      sB   ðñ
ó 
å 4Ý #ð ˆkð€	ð ñ'ó ð'òLó8+r
   